summaryrefslogtreecommitdiff
path: root/games-fps/darkplaces
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
commit0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch)
tree07815070629c7c11000a7f51ceb8ccbccb49a809 /games-fps/darkplaces
parent1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-fps/darkplaces')
-rw-r--r--games-fps/darkplaces/Manifest5
-rw-r--r--games-fps/darkplaces/darkplaces-20140513-r1.ebuild189
-rw-r--r--games-fps/darkplaces/metadata.xml14
3 files changed, 0 insertions, 208 deletions
diff --git a/games-fps/darkplaces/Manifest b/games-fps/darkplaces/Manifest
deleted file mode 100644
index ffbc908c47ee..000000000000
--- a/games-fps/darkplaces/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-DIST darkplacesengine20140513.zip 28113487 BLAKE2B 9e3ffa759921fd61d1308f7c08cc1253a5a3d32c57e8dd8c2a05771aa0b5019fac7932ad337e4be95545bf093f4a2f20d221328ae0bfa45c2b00a7f5700fc04a SHA512 45864b590057c6de0ea978b3cc967feb879b87b2d376f3b4d8525e037b10ca1fc68599c152506494bb06669c6c2304e0aa0ee1b28f7a0d589d10c23f7285052c
-DIST fuhquake-lits.rar 8388829 BLAKE2B fb9c4db151deb43424de9331641154f412394ae6346864bc62a210c7d8d12c6ed6c8647cb4cd83fa853155c5f562f7e9b8d3c779fe74c1bb3f05bb6f627b1d5e SHA512 6e59f5e08a6c401b329b86b0cd677a04b1a5aee11f24973c77c9e7ea50cab9dedf4fc15c4f3d6b73bdc87bacdc9612a3c244d0a4ceceef943abb6e256ac23925
-DIST id1.pk3 350470 BLAKE2B 76426667de5f42633f608b75286671344d439398aa9b819e9ba3979ca317a93930b1077de7efb4b1bad670a6341c7536d572cfc2590a5812c71dd0c4e8def784 SHA512 d4d7233bc1e5049e89d09448818219b0ce7941fecde5381cd95933e4c96ebc9b4e34ff7eae5eb5d0d1e3cc2ceb4f5254f4d600aded7dda373713149817621331
-EBUILD darkplaces-20140513-r1.ebuild 4349 BLAKE2B 168c527e8b886ff65886c4f27c0161b1699a3652934b639968914f22ee3e55161abb908a065eb145e7ca37db6073aabe0f43a7e36ce291b112f26c05b8dc1919 SHA512 61984cf0e710c3fa838d09b25b21c0268bae358e4252ee19fcdc727fd7e7da504403ab00e7fd1061201a6223f723423deedb96d4e553de5afced5b1ae8bf094d
-MISC metadata.xml 567 BLAKE2B 46fb34c2aab597b51dd9e8d5effb76af828734a9a7826c503de0a843d12ddeb275d31d846f419635450a3ce1880eb31a1942e684cdc82d1aad83d1aa1cc97d17 SHA512 719f0053b4390b1dccb63e70bddb518f9aad79c8b240dd37ed16b1680a1053a51e309632893c87c51d6057e2602bc6a3fbe8c7d11330da76d5646b3c8c542bbd
diff --git a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild
deleted file mode 100644
index 7ba3bcdb4ce9..000000000000
--- a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils flag-o-matic unpacker
-
-# Latest versions are in http://icculus.org/twilight/darkplaces/files/
-MY_PV="${PV/_beta/beta}"
-MY_ENGINE="${PN}engine${MY_PV}.zip"
-
-# Different Quake 1 engines expect the lights in different directories
-# http://www.fuhquake.net/download.html and http://www.kgbsyndicate.com/romi/
-MY_LIGHTS="fuhquake-lits.rar"
-
-DESCRIPTION="Enhanced engine for iD Software's Quake 1"
-HOMEPAGE="http://icculus.org/twilight/darkplaces/"
-SRC_URI="http://icculus.org/twilight/${PN}/files/${MY_ENGINE}
- lights? (
- http://www.fuhquake.net/files/extras/${MY_LIGHTS}
- http://www.kgbsyndicate.com/romi/id1.pk3 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa cdinstall cdsound debug dedicated demo lights opengl oss sdl textures"
-
-UIRDEPEND="
- virtual/jpeg:0
- media-libs/libogg
- media-libs/libvorbis
- virtual/opengl
- alsa? ( media-libs/alsa-lib )
- sdl? ( media-libs/libsdl )
- x11-libs/libX11
- x11-libs/libXpm
- x11-libs/libXxf86dga
- x11-libs/libXxf86vm
-"
-UIDEPEND="
- x11-base/xorg-proto
-"
-RDEPEND="
- net-misc/curl
- cdinstall? ( games-fps/quake1-data )
- demo? ( games-fps/quake1-demodata )
- textures? ( >=games-fps/quake1-textures-20050820 )
- opengl? ( ${UIRDEPEND} )
- !opengl? ( sdl? ( ${UIRDEPEND} ) )
- !opengl? ( !sdl? ( !dedicated? ( ${UIRDEPEND} ) ) )
-"
-DEPEND="lights? ( || (
- app-arch/unrar
- app-arch/rar ) )
- opengl? (
- ${UIRDEPEND}
- ${UIDEPEND} )
- !opengl? ( sdl? (
- ${UIRDEPEND}
- ${UIDEPEND} ) )
- !opengl? ( !sdl? ( !dedicated? (
- ${UIRDEPEND}
- ${UIDEPEND} ) ) )
- virtual/pkgconfig
- app-arch/unzip
-"
-
-S="${WORKDIR}/${PN}"
-dir="/usr/share/quake1"
-
-opengl_client() { use opengl || ( ! use dedicated && ! use sdl ) }
-
-src_unpack() {
- if use lights ; then
- unpack "${MY_LIGHTS}"
- unpack_zip "${DISTDIR}"/id1.pk3
- mv *.lit maps/ || die
- mv ReadMe.txt rtlights.txt
- fi
- unpack "${MY_ENGINE}"
- unpack ./${PN}*.zip
-}
-
-src_prepare() {
- default
-
- rm "${WORKDIR}"/README-SDL.txt
- cd "${S}"
- rm mingw_note.txt
-
- strip-flags
-
- # Only additional CFLAGS optimization is the -march flag
- local march=$(get-flag -march)
- sed -i \
- -e "s:-lasound:$(pkg-config --libs alsa):" \
- -e "/^CPUOPTIMIZATIONS/d" \
- -e '/^OPTIM_RELEASE/s/=.*/=$(CFLAGS)/' \
- -e '/^OPTIM_DEBUG/s/=.*/=$(CFLAGS)/' \
- -e '/^LDFLAGS_DEBUG/s/$/ $(LDFLAGS)/' \
- -e '/^LDFLAGS_RELEASE/s/$/ $(LDFLAGS)/' \
- -e "s:strip:true:" \
- makefile.inc || die
-
- if ! use cdsound ; then
- # Turn the CD accesses off
- sed -i \
- -e "s:/dev/cdrom:/dev/null:" \
- cd_linux.c || die
- sed -i \
- -e 's:COM_CheckParm("-nocdaudio"):1:' \
- cd_shared.c || die
- fi
-}
-
-src_compile() {
- local opts="DP_FS_BASEDIR=\"${dir}\" DP_LINK_TO_LIBJPEG=1"
-
- # Preferred sound is alsa
- local sound_api="NULL"
- use oss && sound_api="OSS"
- use alsa && sound_api="ALSA"
- opts="${opts} DP_SOUND_API=${sound_api}"
-
- local type="release"
- use debug && type="debug"
-
- # Only compile a maximum of 1 client
- if use sdl ; then
- emake ${opts} "sdl-${type}"
- elif opengl_client ; then
- emake ${opts} "cl-${type}"
- fi
-
- if use dedicated ; then
- emake ${opts} "sv-${type}"
- fi
-}
-
-src_install() {
- if opengl_client || use sdl ; then
- local type=glx
-
- use sdl && type=sdl
-
- # darkplaces executable is needed, even just for demo
- newbin "${PN}-${type}" ${PN}
- newicon darkplaces72x72.png ${PN}.png
-
- if use demo ; then
- # Install command-line for demo, even if not desktop entry
- make_wrapper ${PN}-demo "${PN} -game demo"
- fi
-
- if use demo && ! use cdinstall ; then
- make_desktop_entry ${PN}-demo "Dark Places (Demo)"
- else
- # Full version takes precedence over demo
- make_desktop_entry ${PN} "Dark Places"
- fi
- fi
-
- if use dedicated ; then
- newbin ${PN}-dedicated ${PN}-ded
- fi
-
- dodoc *.txt ChangeLog todo "${WORKDIR}"/*.txt
-
- if use lights ; then
- insinto "${dir}"/id1
- doins -r "${WORKDIR}"/{cubemaps,maps}
- if use demo ; then
- # Set up symlinks, for the demo levels to include the lights
- local d
- for d in cubemaps maps ; do
- dosym "${dir}/id1/${d}" "${dir}/demo/${d}"
- done
- fi
- fi
-}
-
-pkg_postinst() {
- if ! use cdinstall && ! use demo ; then
- elog "Place pak0.pak and pak1.pak in ${dir}/id1"
- fi
-
- if use sdl && ! use alsa ; then
- ewarn "Select opengl with alsa, instead of sdl USE flag, for better audio latency."
- fi
-}
diff --git a/games-fps/darkplaces/metadata.xml b/games-fps/darkplaces/metadata.xml
deleted file mode 100644
index f8d65d3d1216..000000000000
--- a/games-fps/darkplaces/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
- <use>
- <flag name="cdsound">Enables using CD audio in the engine</flag>
- <flag name="demo">Uses the demo data from quake1 (quake1-demodata)</flag>
- <flag name="lights">Install and setup the updated light maps</flag>
- <flag name="textures">Install and setup the updated textures</flag>
- </use>
-</pkgmetadata>