From 4b75d9af01e01c6656c44a3c4ab5fdc522e94e84 Mon Sep 17 00:00:00 2001 From: "Azamat H. Hackimov" Date: Tue, 9 Jul 2013 21:19:59 +0600 Subject: [games-fps/zdoom] Version bump to 2.7.1 Package-Manager: portage-2.1.12.2 Manifest-Sign-Key: A018DE8C --- games-fps/zdoom/Manifest | 10 ++--- games-fps/zdoom/zdoom-2.7.0.ebuild | 74 ------------------------------------- games-fps/zdoom/zdoom-2.7.1.ebuild | 75 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 79 deletions(-) delete mode 100644 games-fps/zdoom/zdoom-2.7.0.ebuild create mode 100644 games-fps/zdoom/zdoom-2.7.1.ebuild (limited to 'games-fps') diff --git a/games-fps/zdoom/Manifest b/games-fps/zdoom/Manifest index 2040c90..f8ba8ce 100644 --- a/games-fps/zdoom/Manifest +++ b/games-fps/zdoom/Manifest @@ -1,11 +1,11 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -DIST zdoom-2.7.0-src.7z 2897466 SHA256 8b977d4a4cfdc3702e989c0ae2faf8c0e3643e07b540bf3f39e1d344bebfde8a SHA512 9480ef13a57145f5ab3404502025bdecc0b830aa406f60311ab678a93c3869c489ab75638db5ced78b729bc0359eea9fc12e3a5e5f4daf8e54af658a5c6339d3 WHIRLPOOL 96a06ecd4be545fc1f5374f1d213a68e49e1fe8f4e43b2c8b1cc9ae4a57a4976e5b5b8ed04343ed65ff865ce3d6f35dffa94a1b461368b0d1fe201380072ee21 +DIST zdoom-2.7.1-src.7z 2891257 SHA256 7419c95cdb598882c42f8afb0f5911241b31f21f4028da19185278c984b4cf19 SHA512 eb90f1c9da87f485bcea1e912ce5f591f56023284c2a9d0900bb2101a6c238d70c04a2cede6351bd6d0af448ea979ebaa02528a5c8e2a68ec266f61892288f3b WHIRLPOOL 38a5f47c6771f2d0d6d22b3bae7542bd3ca6a912edc17c177b39728e5ba949f64eaee1a3e65fac43d29c0bf60c8d2431e7a1fe8148fa5a80466b76781dd91781 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.20 (GNU/Linux) -iF4EAREIAAYFAlG4RaUACgkQz+A7F6AY3owpnwEAyuhoU8FOIN4W6S1qMYFD90+Q -BAXfsRjyqhVL5DlTEygBAILuCakJOKUJORTHCKXbFTJSsAJUKOFpGrQkanh+VkaI -=80tn +iF4EAREIAAYFAlHcKh8ACgkQz+A7F6AY3oyiTQEAuFx4Scq/ctCiY/akSpcB+izr +avvGQmVDBXr+9PPxSlIBAJ/a5Gbu47hE8V2RsVHdAZaRaFVAMXdTk/XZkePiksf3 +=hlTP -----END PGP SIGNATURE----- diff --git a/games-fps/zdoom/zdoom-2.7.0.ebuild b/games-fps/zdoom/zdoom-2.7.0.ebuild deleted file mode 100644 index 6767b10..0000000 --- a/games-fps/zdoom/zdoom-2.7.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 -inherit cmake-utils eutils games versionator unpacker - -DESCRIPTION="ZDoom is an enhanced port of the official DOOM source code" -HOMEPAGE="http://www.zdoom.org" -SRC_URI="http://www.zdoom.org/files/${PN}/$(get_version_component_range 1-2)/${P}-src.7z" - -LICENSE="BSD BUILD DOOM" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gtk mmx" - -RDEPEND="app-arch/bzip2 - media-libs/fmod - media-sound/fluidsynth - sys-libs/zlib - virtual/jpeg - x11-libs/libXcursor - gtk? ( x11-libs/gtk+:2 )" -DEPEND="${RDEPEND} - mmx? ( || ( dev-lang/nasm dev-lang/yasm ) )" - -S="${WORKDIR}" - -src_prepare() { - # Add new versions of FMOD - sed -i \ - -e "s:\(set( MAJOR_VERSIONS\):\1 \"40\" \"38\":" \ - src/CMakeLists.txt || die - # Use default game data path - sed -i \ - -e "s:/usr/local/share/:${GAMES_DATADIR}/doom-data/:" \ - src/sdl/i_system.h || die "sed i_system.h failed" -} - -src_configure() { - mycmakeargs=( - "-DFMOD_LOCAL_LIB_DIRS=/opt/fmodex/api/lib" - "-DFMOD_INCLUDE_DIR=/opt/fmodex/api/inc" -# "-DSHARE_DIR=\"${GAMES_DATADIR}/doom-data\"" - $(cmake-utils_use_no gtk GTK) - $(cmake-utils_use_no mmx ASM) - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - dogamesbin "${CMAKE_BUILD_DIR}/${PN}" || die "dogamesbin failed" - insinto "${GAMES_DATADIR}/doom-data" - doins "${CMAKE_BUILD_DIR}/${PN}.pk3" || die "doins failed" - dodoc docs/commands.txt - dohtml docs/console.{css,html} - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - echo - elog "Copy or link wad files into ${GAMES_DATADIR}/doom-data/" - elog "(the files must be readable by the 'games' group)." - elog - elog "To play, simply run:" - elog - elog " zdoom" - echo -} diff --git a/games-fps/zdoom/zdoom-2.7.1.ebuild b/games-fps/zdoom/zdoom-2.7.1.ebuild new file mode 100644 index 0000000..fa98fb8 --- /dev/null +++ b/games-fps/zdoom/zdoom-2.7.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +inherit cmake-utils eutils games versionator unpacker + +DESCRIPTION="ZDoom is an enhanced port of the official DOOM source code" +HOMEPAGE="http://www.zdoom.org" +SRC_URI="http://www.zdoom.org/files/${PN}/$(get_version_component_range 1-2)/${P}-src.7z" + +LICENSE="BSD BUILD DOOM" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk mmx" + +RDEPEND="app-arch/bzip2 + media-libs/fmod + media-libs/libsdl:0 + media-sound/fluidsynth + sys-libs/zlib + virtual/jpeg + x11-libs/libXcursor + gtk? ( x11-libs/gtk+:2 )" +DEPEND="${RDEPEND} + mmx? ( || ( dev-lang/nasm dev-lang/yasm ) )" + +S="${WORKDIR}" + +src_prepare() { + # Add new versions of FMOD + sed -i \ + -e "s:\(set( MAJOR_VERSIONS\):\1 \"40\" \"38\":" \ + src/CMakeLists.txt || die + # Use default game data path + sed -i \ + -e "s:/usr/local/share/:${GAMES_DATADIR}/doom-data/:" \ + src/sdl/i_system.h || die "sed i_system.h failed" +} + +src_configure() { + mycmakeargs=( + "-DFMOD_LOCAL_LIB_DIRS=/opt/fmodex/api/lib" + "-DFMOD_INCLUDE_DIR=/opt/fmodex/api/inc" +# "-DSHARE_DIR=\"${GAMES_DATADIR}/doom-data\"" + $(cmake-utils_use_no gtk GTK) + $(cmake-utils_use_no mmx ASM) + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + dogamesbin "${CMAKE_BUILD_DIR}/${PN}" || die "dogamesbin failed" + insinto "${GAMES_DATADIR}/doom-data" + doins "${CMAKE_BUILD_DIR}/${PN}.pk3" || die "doins failed" + dodoc docs/commands.txt + dohtml docs/console.{css,html} + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + echo + elog "Copy or link wad files into ${GAMES_DATADIR}/doom-data/" + elog "(the files must be readable by the 'games' group)." + elog + elog "To play, simply run:" + elog + elog " zdoom" + echo +} -- cgit v1.2.3-65-gdbad