summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2014-08-25 21:01:25 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2014-08-25 21:01:25 +0000
commit9d1e1622f8fb75f1f6469e979511ae35518f318f (patch)
treee3be387df59178cec2aa18a6808f618e5ad2a273 /games-fps/darkplaces
parentold (diff)
downloadhistorical-9d1e1622f8fb75f1f6469e979511ae35518f318f.tar.gz
historical-9d1e1622f8fb75f1f6469e979511ae35518f318f.tar.bz2
historical-9d1e1622f8fb75f1f6469e979511ae35518f318f.zip
old
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Diffstat (limited to 'games-fps/darkplaces')
-rw-r--r--games-fps/darkplaces/ChangeLog8
-rw-r--r--games-fps/darkplaces/Manifest4
-rw-r--r--games-fps/darkplaces/darkplaces-20121222.ebuild188
3 files changed, 7 insertions, 193 deletions
diff --git a/games-fps/darkplaces/ChangeLog b/games-fps/darkplaces/ChangeLog
index ed785d12e9b2..954173bddcf7 100644
--- a/games-fps/darkplaces/ChangeLog
+++ b/games-fps/darkplaces/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-fps/darkplaces
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/darkplaces/ChangeLog,v 1.20 2013/05/13 06:11:23 mr_bones_ Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/darkplaces/ChangeLog,v 1.21 2014/08/25 21:01:20 mr_bones_ Exp $
+
+ 25 Aug 2014; Michael Sterrett <mr_bones_@gentoo.org>
+ -darkplaces-20121222.ebuild:
+ old
*darkplaces-20130304 (13 May 2013)
diff --git a/games-fps/darkplaces/Manifest b/games-fps/darkplaces/Manifest
index b04089019c31..28272d4c4830 100644
--- a/games-fps/darkplaces/Manifest
+++ b/games-fps/darkplaces/Manifest
@@ -1,10 +1,8 @@
DIST darkplacesengine20110628.zip 23377408 SHA256 d2464c681e3fdcc66cb090e79c44c0c173a43b6f181a12e500b0b1fd7d73ffce SHA512 bf44933470be2856a80ebd73a0cb531c6d22e69da5be24bc52175998ab687b4112c88423a6b42a9a4ed746e0f96c1bb39e188a037a98ea596cf7b6183e390038 WHIRLPOOL b4214be8a9c9aadf02a92c9b7e54d508df38f9e38f650f839a8ea43d9c0768641dbf59c71b210d337f591fac2d77a21a14e7900a3038d1af828f064bf3368071
-DIST darkplacesengine20121222.zip 20105650 SHA256 13f3a2e5703cc6de1006d071dbdfd44627ead21425df35a3a9eb525e4b8c439f SHA512 3ad04b734562d2b21d1b5df500038fa198256ec2ccd15ded83287bc4724c74630c52ff335a7a73c95e7ba9bd07042c80d7e4cde03ee918b83009ac4b31285a51 WHIRLPOOL 7d1b1c8ee8acc3ad175ab20a93a0a5c62e0eccdded463adeb74ebfb5a9b5500e196e96386d2f66820a79b007d551b958528b383221dbd5191f5a6fc13df8524c
DIST darkplacesengine20130304.zip 29427833 SHA256 e1858dcba033b1dfc6e685482745b7137ceb23dfd710671971cd5e34529a9f44 SHA512 6672160ad6ed34bb45262f03b7a7671d65aa88ca44abab616f54cd1a8e5240dcb7b8a3a7c364fc8de3e9e2acf458e5c129311a0c52b8c6b29d9a4cafa5188b15 WHIRLPOOL 5566c7de789735fb984c5b64cf7ece2e948b87e170e16f434d5015f70baad901aadc251bb25a32926f43ced903daaa914a51024c08a64f4edcf1a9003aab1261
DIST fuhquake-lits.rar 8388829 SHA256 066fd58e2a6d157a1aa7925334d7e3e6cffa7f5c556e707bc31da8bfecea873c SHA512 6e59f5e08a6c401b329b86b0cd677a04b1a5aee11f24973c77c9e7ea50cab9dedf4fc15c4f3d6b73bdc87bacdc9612a3c244d0a4ceceef943abb6e256ac23925 WHIRLPOOL d398b57c03d02c8180f8ca93f6964ac2118ef50cace3ecbc9da9113b1e91ed3a7b7e5473ebb9ad2f5198828eb8565c7c0470aea2095152b2898335562bef821d
DIST id1.pk3 350470 SHA256 f1ee6e144d1942ebf91a8c71d0333eac94c73efae35377fbe7ae43e0e4ab37dc SHA512 d4d7233bc1e5049e89d09448818219b0ce7941fecde5381cd95933e4c96ebc9b4e34ff7eae5eb5d0d1e3cc2ceb4f5254f4d600aded7dda373713149817621331 WHIRLPOOL 30fe7e6d6ac6408c54e704586d4f4e15d139c0330e4f3e758651bfc2e6582eadae08c590e87264cfb26faae56a7033b383d51f93bf54ddfce7db38e47d569280
EBUILD darkplaces-20110628.ebuild 4866 SHA256 f5cd8d0341eda97ce209a629a3ba72bb2af976e08c2168076e6827a6e290bc8e SHA512 e3a82d061f13966d786e17df2b49726ee4a7206a120ad50664779338e70803f0d724001ff1110855d4abb3a033502d58243da4d849cba340b12edef2f365d46a WHIRLPOOL 53234b5186b4ca4b91da90f8a4f89942c24993913d7fc9f86047389755a45de0ee4260055a3622d2a7bfa3ee14978baac7775e2990256bbb308e369fa5d1db23
-EBUILD darkplaces-20121222.ebuild 4615 SHA256 96cf565cb735a987f6a416a1c2df1ccea9d590f9f6cda3bc1bbc65aa6b6e7e42 SHA512 8c3d2c968cbf96b9ec63ff4696c20206ad7b347bdf057ec4d2a72234abb91f9bdb7d6b4dda8ab9f5349f07cd66f397573fd67ca15acf46889fab1b07421a96b2 WHIRLPOOL 16d6d8f0d665a330080dc9cfda879dc8705ca13ebf7874513f4fddbe0c67f48f376b10fff1616c7b3f69d07cd9bce6c123bff8ff1913e7df5bb1a96041d2c8a1
EBUILD darkplaces-20130304.ebuild 4615 SHA256 06aeb9e9215ded2f8a2999fa6f4d6c661d5377f1cd49176dd7dae308a224b01a SHA512 b6aa885e0c801ed7227722ceb38f3200220711564a6a5b69c8c98175b54591bc54879037877346138e8716bee27ed206c9e2ad7e154916bc19dba594d8210ebc WHIRLPOOL 3bc907cf70710a60929ececf46725606b44522ac1b449ee1b90fe93bda9ad41213e53d52afde1624b1c4bdf32ca1573649c2b4ac023cd6a1c083bb03eed0baa5
-MISC ChangeLog 3129 SHA256 62bf2d6740d13680de33343e1530fea3d85b9f58c61c6c3d6a75329ea87ec72f SHA512 a7ad0c37418301f88af090edc3e2f1566d49f6a29fd78a9bf30ca28c80b360600bb62fbca7ec1140a8455a84cc924d098333f5a9f37afaa2819a5aed0feba429 WHIRLPOOL 7de3342f26b988c518251eb1987986168bf3be4d4d22f128f9d21e0189873042f3747214a740ece567a0d10ab5075284faefe29b9b75bd23a950083898564891
+MISC ChangeLog 3222 SHA256 551681b033fc7d499e49dffc927d9a09ba4aa2abb7c6c9d7f8f46b9d86008574 SHA512 c0987700e7856ff9b11f3e36d44df870450285ec0730d7dc32761b317d347ae7ebb3b7c0fcc2236266affded6d1a8bf290a4ef1af793c57443123da8cf0770cf WHIRLPOOL aa274d61776e15ea50d4e37db4751110fe5c28ae0f8c73c07bad8cb8a8ebb92f246794529e3c498fa8d54bc07b1497c32b98bc6b7573b715f917c140abe2d2ae
MISC metadata.xml 468 SHA256 3071980a808b9bbd6e15ec792f7545ffba8c9c0f3b037ed5cb78c31c54e50f0b SHA512 5d8c8c29c93544753f98fd4ea77d50c2e1991b639d99114c938380ca560364e43179fa0bfea275abf5da556229e4b791c7fda650adeecdbb88713d1dde84f9e3 WHIRLPOOL 874df2951bfd97a48b25796ddec99246438e92c31c042bdd5fa7d92406e651e201b117db36fe390d1526b60df66342566fc67721637201352ef2bc3d2afa9691
diff --git a/games-fps/darkplaces/darkplaces-20121222.ebuild b/games-fps/darkplaces/darkplaces-20121222.ebuild
deleted file mode 100644
index ae87d3ee44e8..000000000000
--- a/games-fps/darkplaces/darkplaces-20121222.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/darkplaces/darkplaces-20121222.ebuild,v 1.3 2013/03/29 16:02:26 hasufell Exp $
-
-EAPI=2
-inherit unpacker eutils flag-o-matic games
-
-# 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
- 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-proto/xextproto
- x11-proto/xf86dgaproto
- x11-proto/xf86vidmodeproto
- x11-proto/xproto"
-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=${GAMES_DATADIR}/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() {
- 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}" || die
- elif opengl_client ; then
- emake ${opts} "cl-${type}" || die
- fi
-
- if use dedicated ; then
- emake ${opts} "sv-${type}" || die
- fi
-}
-
-src_install() {
- if opengl_client || use sdl ; then
- local type=glx
-
- use sdl && type=sdl
-
- # darkplaces executable is needed, even just for demo
- newgamesbin "${PN}-${type}" ${PN} || die
- newicon darkplaces72x72.png ${PN}.png || die
-
- if use demo ; then
- # Install command-line for demo, even if not desktop entry
- games_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
- newgamesbin ${PN}-dedicated ${PN}-ded || die
- fi
-
- dodoc *.txt ChangeLog todo "${WORKDIR}"/*.txt
-
- if use lights ; then
- insinto "${dir}"/id1
- doins -r "${WORKDIR}"/{cubemaps,maps} || die
- 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
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
- if ! use cdinstall && ! use demo ; then
- elog "Place pak0.pak and pak1.pak in ${dir}/id1"
- fi
-
- if use sdl ; then
- ewarn "Select opengl with alsa, instead of sdl USE flag, for better audio latency."
- fi
-}