diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2013-01-22 18:33:30 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2013-01-22 18:33:30 +0000 |
commit | 603bf5ac0d0b32bae26f0dae0685873f28855ccf (patch) | |
tree | 38deca2781cacea20768f9688c23095185344a22 /games-fps/darkplaces | |
parent | version bump (bug #452284) (diff) | |
download | historical-603bf5ac0d0b32bae26f0dae0685873f28855ccf.tar.gz historical-603bf5ac0d0b32bae26f0dae0685873f28855ccf.tar.bz2 historical-603bf5ac0d0b32bae26f0dae0685873f28855ccf.zip |
old
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64
Diffstat (limited to 'games-fps/darkplaces')
-rw-r--r-- | games-fps/darkplaces/ChangeLog | 6 | ||||
-rw-r--r-- | games-fps/darkplaces/Manifest | 4 | ||||
-rw-r--r-- | games-fps/darkplaces/darkplaces-20100408.ebuild | 188 |
3 files changed, 6 insertions, 192 deletions
diff --git a/games-fps/darkplaces/ChangeLog b/games-fps/darkplaces/ChangeLog index b7a2e2c63b4d..d6ca181dbcb4 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.16 2013/01/14 18:40:42 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/darkplaces/ChangeLog,v 1.17 2013/01/22 18:33:25 mr_bones_ Exp $ + + 22 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org> + -darkplaces-20100408.ebuild: + old *darkplaces-20121222 (14 Jan 2013) diff --git a/games-fps/darkplaces/Manifest b/games-fps/darkplaces/Manifest index e605833b7bf7..f158d1785366 100644 --- a/games-fps/darkplaces/Manifest +++ b/games-fps/darkplaces/Manifest @@ -1,10 +1,8 @@ -DIST darkplacesengine20100408.zip 17078273 SHA256 a644afb1a3a8b0b26772436394f063e5ee0e6e4d39478db96e3c9927ee1eb0cf DIST darkplacesengine20110628.zip 23377408 SHA256 d2464c681e3fdcc66cb090e79c44c0c173a43b6f181a12e500b0b1fd7d73ffce SHA512 bf44933470be2856a80ebd73a0cb531c6d22e69da5be24bc52175998ab687b4112c88423a6b42a9a4ed746e0f96c1bb39e188a037a98ea596cf7b6183e390038 WHIRLPOOL b4214be8a9c9aadf02a92c9b7e54d508df38f9e38f650f839a8ea43d9c0768641dbf59c71b210d337f591fac2d77a21a14e7900a3038d1af828f064bf3368071 DIST darkplacesengine20121222.zip 20105650 SHA256 13f3a2e5703cc6de1006d071dbdfd44627ead21425df35a3a9eb525e4b8c439f SHA512 3ad04b734562d2b21d1b5df500038fa198256ec2ccd15ded83287bc4724c74630c52ff335a7a73c95e7ba9bd07042c80d7e4cde03ee918b83009ac4b31285a51 WHIRLPOOL 7d1b1c8ee8acc3ad175ab20a93a0a5c62e0eccdded463adeb74ebfb5a9b5500e196e96386d2f66820a79b007d551b958528b383221dbd5191f5a6fc13df8524c DIST fuhquake-lits.rar 8388829 SHA256 066fd58e2a6d157a1aa7925334d7e3e6cffa7f5c556e707bc31da8bfecea873c DIST id1.pk3 350470 SHA256 f1ee6e144d1942ebf91a8c71d0333eac94c73efae35377fbe7ae43e0e4ab37dc -EBUILD darkplaces-20100408.ebuild 4884 SHA256 c509f4ed942f3961ab9286715dde6816d2b2751ed1632dc7554c5802320eb2f1 SHA512 676109781245acac45aa8711a149f0e2f88097651a72b7e793210ec9b2680f4aed11a4bffea6a6cc07e0b2c7c511fc954103d17a78208785b1101a2221785140 WHIRLPOOL a3b7fa55da9b9c4227c11e30d261733bcaf8867d91c4915bf00ecd33d0347c96ae8066c813c87d980042b6ca87f6f17e5949f5650aab5395af327b05ffdbfa51 EBUILD darkplaces-20110628.ebuild 4881 SHA256 b8070a0c9e1c43e75c2248607a4d95d0b92dce5cb816763a5f565be7531a7208 SHA512 026afbda5cd71e97d63d97d9958802169601548b0f81b68a85fa49a7ceeb88b784f70e80e66096c0f2d77634286b69b593b6e828dab7a8f0bbf5ea8ed38657ee WHIRLPOOL 9583099ef34d792d124a771b32ecdc9e6caaaa73402cb6623066f83d914d04918bf062405933b94eb19b8925c6a4cd57b716d76a1360efcac7a0ca288ea715d7 EBUILD darkplaces-20121222.ebuild 4889 SHA256 b7a0b0b556b07ec27b4374eda030c98cb36b620bab7284e14e6e52a78d232223 SHA512 7c105a95b8215ee3938277949126cf471ee11a50ff146fabf0da7385496be8bc09a133a26a32c6bf91c5ca75c9dc87ef30d85d6e3b566a5c5ab6138c5d2bb039 WHIRLPOOL 96d7859c9d0dd09ec3a5c7137d585e7680e46b9cd272245f9c4f642a93f5b0257fb347540b1ef84f8964735fa2432c0b9321e6b5081f2cfc30301a4cde1669a0 -MISC ChangeLog 2635 SHA256 29d3670c3fd136d7cc5a004505c7689a21a0a00890c68cbbad490e9091aebf7e SHA512 9b92e578f4ad10b06544a5ae237208af4fd55df22bfb6150e95b28be6748e4c96261c6bc75df7c0d6a66961c0bcef51d64a48121a1914cf4edee0a8e8eb02f1d WHIRLPOOL 45ccc9fa69228668d0408ef1c1d549eaa5786bfa9aa5cbfbef3a420080dd9da67d32320041424cc183676bb4ab3ac921ce2d34f7e39638c0f967a27e78944893 +MISC ChangeLog 2728 SHA256 7c4891661f1a6f5f2f746d7a7789e2f083851a9813ccfbaa9e4ac4030f0c807b SHA512 e16e83a1864444af49adc080730f2aa75d72bc78e89089296707950e6bb353c65ece6a4aafecdcafcba043ea7695e005a03a60b10d0fffaefbd5b1b416fcd8d0 WHIRLPOOL 94cf1ace225ff616e0687c8d4f5ad5a0fa64154f3bfde53caf0a0e60b7f4a3b487028477e0d5c7746730a3688e19ca353016545ebd01e3df71ac01b2a6a45de1 MISC metadata.xml 468 SHA256 3071980a808b9bbd6e15ec792f7545ffba8c9c0f3b037ed5cb78c31c54e50f0b SHA512 5d8c8c29c93544753f98fd4ea77d50c2e1991b639d99114c938380ca560364e43179fa0bfea275abf5da556229e4b791c7fda650adeecdbb88713d1dde84f9e3 WHIRLPOOL 874df2951bfd97a48b25796ddec99246438e92c31c042bdd5fa7d92406e651e201b117db36fe390d1526b60df66342566fc67721637201352ef2bc3d2afa9691 diff --git a/games-fps/darkplaces/darkplaces-20100408.ebuild b/games-fps/darkplaces/darkplaces-20100408.ebuild deleted file mode 100644 index eb437aa5d1ea..000000000000 --- a/games-fps/darkplaces/darkplaces-20100408.ebuild +++ /dev/null @@ -1,188 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/darkplaces/darkplaces-20100408.ebuild,v 1.6 2012/05/03 03:23:09 jdhore Exp $ - -EAPI=2 -inherit 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}" - unzip -qo "${DISTDIR}"/id1.pk3 || die "unzip id1.pk3 failed" - 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 "sed makefile.inc failed" - - if ! use cdsound ; then - # Turn the CD accesses off - sed -i \ - -e "s:/dev/cdrom:/dev/null:" \ - cd_linux.c || die "sed cd_linux.c failed" - sed -i \ - -e 's:COM_CheckParm("-nocdaudio"):1:' \ - cd_shared.c || die "sed cd_shared.c failed" - 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 "emake sdl-${type} failed" - elif opengl_client ; then - emake ${opts} "cl-${type}" || die "emake cl-${type} failed" - fi - - if use dedicated ; then - emake ${opts} "sv-${type}" || die "emake sv-${type} failed" - 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 "newgamesbin client failed" - newicon darkplaces72x72.png ${PN}.png || die "newicon failed" - - 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 "newgamesbin ded failed" - fi - - dodoc *.txt ChangeLog todo "${WORKDIR}"/*.txt - - if use lights ; then - insinto "${dir}"/id1 - doins -r "${WORKDIR}"/{cubemaps,maps} || die "doins cubemaps maps failed" - 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 -} |