* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2018-07-02 11:22 Jeroen Roovers
0 siblings, 0 replies; 98+ messages in thread
From: Jeroen Roovers @ 2018-07-02 11:22 UTC (permalink / raw
To: gentoo-commits
commit: da9c7053ea38f7bc9905bf11fe046c6111aa2adc
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 2 11:18:24 2018 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Jul 2 11:22:28 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da9c7053
games-fps/eduke32: Mark ~hppa too.
Package-Manager: Portage-2.3.41, Repoman-2.3.9
RepoMan-Options: --ignore-arches
games-fps/eduke32/eduke32-20180508.6885.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/eduke32/eduke32-20180508.6885.ebuild b/games-fps/eduke32/eduke32-20180508.6885.ebuild
index c7c7bba616d..d0de4c73bf6 100644
--- a/games-fps/eduke32/eduke32-20180508.6885.ebuild
+++ b/games-fps/eduke32/eduke32-20180508.6885.ebuild
@@ -30,7 +30,7 @@ SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src
psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> ${MY_PN_PSX}-${MY_PV_PSX}.zip )
sc-55? ( http://www.duke4.org/files/nightfright/music/${MY_PN_SC55}.zip -> ${MY_PN_SC55}-${MY_PV_SC55}.zip )"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~hppa ~x86"
LICENSE="BUILDLIC GPL-2 HRP"
SLOT="0"
IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis vpx xmp"
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2018-07-10 21:32 Tony Vroon
0 siblings, 0 replies; 98+ messages in thread
From: Tony Vroon @ 2018-07-10 21:32 UTC (permalink / raw
To: gentoo-commits
commit: 3ea3a9d84b33593bc3b82e02807c670092da111e
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Tue Jul 10 14:57:51 2018 +0000
Commit: Tony Vroon <chainsaw <AT> gentoo <DOT> org>
CommitDate: Tue Jul 10 21:28:44 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ea3a9d8
games-fps/eduke32: bump to version 20180702.6937
Package-Manager: Portage-2.3.41, Repoman-2.3.9
games-fps/eduke32/Manifest | 2 +
games-fps/eduke32/eduke32-20180702.6937.ebuild | 247 +++++++++++++++++++++++++
games-fps/eduke32/metadata.xml | 1 +
3 files changed, 250 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 6ebc26603a1..9e3eb5fbde9 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -2,6 +2,8 @@ DIST duke3d_hrp-5.4.zip 933440151 BLAKE2B 20749d6e1bdd07d0e5f28ac2f7e3aff60e8638
DIST duke3d_music-sc55-4.02.zip 155441427 BLAKE2B 7fa0c98927dd9a18411ad473269a795d1bc809fa8f9479deef06e12cd0dc97953680e7519c9d22e2d32b6ff79726682746820f78429ad11cb5edf1b64d2e4fe7 SHA512 70d3d7b4705e30cdb19ddc95e11a88afff1dc01dfc6495a488ea665f8097c1200695ec67246ac47a2480d0e68cd7d74e1d61c2120485f53bb93d9c0fb16ba9b2
DIST duke3d_musopl-2.01.zip 266444823 BLAKE2B 5255c671782279c7723fb1f848a331645a89fdc8dd5336250d06e6eed5b63511c37bfbb07d22d7e7ce29707efe2c55406f2ee81522374de3633f2b448c7dbd6b SHA512 08308b672516a6f3a3b9b85fd836f2a29a24c8fa5f353953f5f55a281dea370046817ccfb8467b4ce25385277ced8afd83c00882e8a246b03afa5e0e349efd35
DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c17b1163107e1f8c6eab4be2b5a2ed74f302604f5769d3bb71d3ce8355b69b75352dc470918ebd5c0c73d68665 SHA512 e98f3bbfb2055fa72c4376ebbdb64814b1bca7c66968ffea8ca4d980d432f59f6ae013c889a57a28b2961bbeca2cc80b83b573dc0cbc2550cd9f428cf9d2a625
+DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20180508-6885.tar.xz 14703224 BLAKE2B 8b90bf5771c2c27701316df8b9e738082d03552dddbd4d8be7e25195fd2da746afb2857e166ac6e6c0c78ad43e3c21f809538f0c54936ce82b5f2a3f93f80f94 SHA512 2b1be82a1bfbb0cf2a9b7bb0b73e69232bc2ce7adf343e25319b16c4240a6b3acf0fb8708e6ab8c7daa18f5a3039772472fd6542f6ea6dbe0530c8c3361c791c
+DIST eduke32_src_20180702-6937.tar.xz 14703496 BLAKE2B b1028551621bf12cbf8e6b0626cfb9634aa096d59a9dcc173cdb89614e68006d56468e2507e8f44f9c7a81e3c2bb392b79ccdafda420d456e169f135f78e106b SHA512 f219c30c6b5892846cc1f2a025e192d868610607213671658a62bcc833a5e0d8f5a3841681475574451e9938a8b8f47410e5f7f34267b618d03a2f154539cfef
diff --git a/games-fps/eduke32/eduke32-20180702.6937.ebuild b/games-fps/eduke32/eduke32-20180702.6937.ebuild
new file mode 100644
index 00000000000..c42e95c4417
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20180702.6937.ebuild
@@ -0,0 +1,247 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop eapi7-ver gnome2-utils toolchain-funcs
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+
+MY_PN_HRP="duke3d_hrp"
+MY_PN_OPL="duke3d_musopl"
+MY_PN_PSX="duke3d_psx"
+MY_PN_SC55="duke3d_music-sc55"
+MY_PN_VOXELS="duke3d_voxels"
+MY_PN_XXX="duke3d_xxx"
+
+MY_PV_HRP="5.4"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+MY_PV_XXX="1.33"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> ${MY_PN_HRP}-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/${MY_PN_XXX}.zip -> ${MY_PN_XXX}-${MY_PV_XXX}.zip )
+ opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> ${MY_PN_OPL}-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> ${MY_PN_PSX}-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/${MY_PN_SC55}.zip -> ${MY_PN_SC55}-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> ${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip )"
+
+KEYWORDS="~amd64 ~hppa ~x86"
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+MY_DEPEND_RDEPEND="media-libs/libsdl2[joystick,opengl?,sound,video,X]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib:=
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? ( virtual/glu
+ virtual/opengl )
+ png? ( media-libs/libpng:0= )
+ timidity? ( media-sound/timidity-freepats )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? ( media-libs/libogg
+ media-libs/libvorbis )
+ xmp? ( media-libs/exempi:= )"
+
+RDEPEND="${MY_DEPEND_RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )"
+
+DEPEND="${MY_DEPEND_RDEPEND}
+ app-arch/unzip
+ x86? ( dev-lang/nasm )"
+
+PATCHES=( "${FILESDIR}/log-to-tmpdir.patch" "${FILESDIR}/search-duke3d-path.patch" )
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_install() {
+ local binary
+ local binaries=(
+ eduke32
+ mapster32
+ "${FILESDIR}"/eduke32-bin
+ )
+ for binary in "${binaries[@]}"; do
+ dobin "${binary}"
+ done
+
+ if use tools; then
+ local tool
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+ for tool in "${tools[@]}"; do
+ dobin ${tool}
+ done
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+ if use hrp; then
+ doins "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip
+ fi
+ if use offensive; then
+ doins "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip
+ fi
+ if use opl; then
+ doins "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip
+ fi
+ if use psx; then
+ doins "${DISTDIR}"/${MY_PN_PSX}-${MY_PV_PSX}.zip
+ fi
+ if use sc-55; then
+ doins "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip
+ fi
+ if use sdk; then
+ doins -r package/sdk
+ fi
+ if use voxels; then
+ doins "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip
+ fi
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ if use hrp; then
+ DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ fi
+ if use offensive; then
+ DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ fi
+ if use opl; then
+ DOCS+=( "${WORKDIR}"/readme.txt )
+ fi
+ if use sc-55; then
+ DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ fi
+ if use voxels; then
+ DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+ fi
+ einstalldocs
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-fps/eduke32/metadata.xml b/games-fps/eduke32/metadata.xml
index 801a1769ecb..15de77d47f5 100644
--- a/games-fps/eduke32/metadata.xml
+++ b/games-fps/eduke32/metadata.xml
@@ -29,6 +29,7 @@
<flag name="server">Enable support for multiplayer.</flag>
<flag name="sdk">Install the SDK files.</flag>
<flag name="tools">Install the support tools for mapster32.</flag>
+ <flag name="voxels">Install the Duke Nukem 3D Voxels Pack.</flag>
<flag name="vpx">Enable support for <pkg>media-libs/libvpx</pkg>.</flag>
<flag name="xmp">Enable support for <pkg>media-libs/exempi</pkg>.</flag>
</use>
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2018-08-05 21:48 Patrice Clement
0 siblings, 0 replies; 98+ messages in thread
From: Patrice Clement @ 2018-08-05 21:48 UTC (permalink / raw
To: gentoo-commits
commit: 3730de887021ccde434b2e33c192605180107933
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Fri Aug 3 19:54:57 2018 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Aug 5 21:47:33 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3730de88
games-fps/eduke32: version bump to 20180802.6963.
Closes: https://bugs.gentoo.org/662430
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Closes: https://github.com/gentoo/gentoo/pull/9381
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20180802.6963.ebuild | 247 +++++++++++++++++++++++++
2 files changed, 248 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 5a7ed79e93b..cfef3040245 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20180702-6937.tar.xz 14703496 BLAKE2B b1028551621bf12cbf8e6b0626cfb9634aa096d59a9dcc173cdb89614e68006d56468e2507e8f44f9c7a81e3c2bb392b79ccdafda420d456e169f135f78e106b SHA512 f219c30c6b5892846cc1f2a025e192d868610607213671658a62bcc833a5e0d8f5a3841681475574451e9938a8b8f47410e5f7f34267b618d03a2f154539cfef
+DIST eduke32_src_20180802-6963.tar.xz 14704448 BLAKE2B f121667d424ffac60f3239f260b65faaaf3b11377ebffc60b14c08494451f03151ab46c4fcb984e1abe45e6fa3fd5d3df04c3c557e0679e25d41de87ee42f4f7 SHA512 5afc34889f41b2fe2469b787a799c66a6bbc20b15552c052f21017a30ed9ecefabd94222b8e5bbc4745ab736e69143ea4c0f3b031713c17f70215907d10c746b
diff --git a/games-fps/eduke32/eduke32-20180802.6963.ebuild b/games-fps/eduke32/eduke32-20180802.6963.ebuild
new file mode 100644
index 00000000000..c42e95c4417
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20180802.6963.ebuild
@@ -0,0 +1,247 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop eapi7-ver gnome2-utils toolchain-funcs
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+
+MY_PN_HRP="duke3d_hrp"
+MY_PN_OPL="duke3d_musopl"
+MY_PN_PSX="duke3d_psx"
+MY_PN_SC55="duke3d_music-sc55"
+MY_PN_VOXELS="duke3d_voxels"
+MY_PN_XXX="duke3d_xxx"
+
+MY_PV_HRP="5.4"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+MY_PV_XXX="1.33"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> ${MY_PN_HRP}-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/${MY_PN_XXX}.zip -> ${MY_PN_XXX}-${MY_PV_XXX}.zip )
+ opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> ${MY_PN_OPL}-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> ${MY_PN_PSX}-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/${MY_PN_SC55}.zip -> ${MY_PN_SC55}-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> ${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip )"
+
+KEYWORDS="~amd64 ~hppa ~x86"
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+MY_DEPEND_RDEPEND="media-libs/libsdl2[joystick,opengl?,sound,video,X]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib:=
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? ( virtual/glu
+ virtual/opengl )
+ png? ( media-libs/libpng:0= )
+ timidity? ( media-sound/timidity-freepats )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? ( media-libs/libogg
+ media-libs/libvorbis )
+ xmp? ( media-libs/exempi:= )"
+
+RDEPEND="${MY_DEPEND_RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )"
+
+DEPEND="${MY_DEPEND_RDEPEND}
+ app-arch/unzip
+ x86? ( dev-lang/nasm )"
+
+PATCHES=( "${FILESDIR}/log-to-tmpdir.patch" "${FILESDIR}/search-duke3d-path.patch" )
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_install() {
+ local binary
+ local binaries=(
+ eduke32
+ mapster32
+ "${FILESDIR}"/eduke32-bin
+ )
+ for binary in "${binaries[@]}"; do
+ dobin "${binary}"
+ done
+
+ if use tools; then
+ local tool
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+ for tool in "${tools[@]}"; do
+ dobin ${tool}
+ done
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+ if use hrp; then
+ doins "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip
+ fi
+ if use offensive; then
+ doins "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip
+ fi
+ if use opl; then
+ doins "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip
+ fi
+ if use psx; then
+ doins "${DISTDIR}"/${MY_PN_PSX}-${MY_PV_PSX}.zip
+ fi
+ if use sc-55; then
+ doins "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip
+ fi
+ if use sdk; then
+ doins -r package/sdk
+ fi
+ if use voxels; then
+ doins "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip
+ fi
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ if use hrp; then
+ DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ fi
+ if use offensive; then
+ DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ fi
+ if use opl; then
+ DOCS+=( "${WORKDIR}"/readme.txt )
+ fi
+ if use sc-55; then
+ DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ fi
+ if use voxels; then
+ DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+ fi
+ einstalldocs
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2018-08-05 21:48 Patrice Clement
0 siblings, 0 replies; 98+ messages in thread
From: Patrice Clement @ 2018-08-05 21:48 UTC (permalink / raw
To: gentoo-commits
commit: 83d2b83c3045ae9f21848db0722af85c7e0d0ab4
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Fri Aug 3 19:55:28 2018 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Aug 5 21:47:35 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83d2b83c
games-fps/eduke32: drop old version.
Bug: https://bugs.gentoo.org/662430
Package-Manager: Portage-2.3.43, Repoman-2.3.10
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20180702.6937.ebuild | 247 -------------------------
2 files changed, 248 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index cfef3040245..6b9657506e0 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20180702-6937.tar.xz 14703496 BLAKE2B b1028551621bf12cbf8e6b0626cfb9634aa096d59a9dcc173cdb89614e68006d56468e2507e8f44f9c7a81e3c2bb392b79ccdafda420d456e169f135f78e106b SHA512 f219c30c6b5892846cc1f2a025e192d868610607213671658a62bcc833a5e0d8f5a3841681475574451e9938a8b8f47410e5f7f34267b618d03a2f154539cfef
DIST eduke32_src_20180802-6963.tar.xz 14704448 BLAKE2B f121667d424ffac60f3239f260b65faaaf3b11377ebffc60b14c08494451f03151ab46c4fcb984e1abe45e6fa3fd5d3df04c3c557e0679e25d41de87ee42f4f7 SHA512 5afc34889f41b2fe2469b787a799c66a6bbc20b15552c052f21017a30ed9ecefabd94222b8e5bbc4745ab736e69143ea4c0f3b031713c17f70215907d10c746b
diff --git a/games-fps/eduke32/eduke32-20180702.6937.ebuild b/games-fps/eduke32/eduke32-20180702.6937.ebuild
deleted file mode 100644
index c42e95c4417..00000000000
--- a/games-fps/eduke32/eduke32-20180702.6937.ebuild
+++ /dev/null
@@ -1,247 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit desktop eapi7-ver gnome2-utils toolchain-funcs
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-
-MY_PN_HRP="duke3d_hrp"
-MY_PN_OPL="duke3d_musopl"
-MY_PN_PSX="duke3d_psx"
-MY_PN_SC55="duke3d_music-sc55"
-MY_PN_VOXELS="duke3d_voxels"
-MY_PN_XXX="duke3d_xxx"
-
-MY_PV_HRP="5.4"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-MY_PV_XXX="1.33"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> ${MY_PN_HRP}-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/${MY_PN_XXX}.zip -> ${MY_PN_XXX}-${MY_PV_XXX}.zip )
- opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> ${MY_PN_OPL}-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> ${MY_PN_PSX}-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/${MY_PN_SC55}.zip -> ${MY_PN_SC55}-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> ${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip )"
-
-KEYWORDS="~amd64 ~hppa ~x86"
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-MY_DEPEND_RDEPEND="media-libs/libsdl2[joystick,opengl?,sound,video,X]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib:=
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? ( virtual/glu
- virtual/opengl )
- png? ( media-libs/libpng:0= )
- timidity? ( media-sound/timidity-freepats )
- vpx? ( media-libs/libvpx:= )
- vorbis? ( media-libs/libogg
- media-libs/libvorbis )
- xmp? ( media-libs/exempi:= )"
-
-RDEPEND="${MY_DEPEND_RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )"
-
-DEPEND="${MY_DEPEND_RDEPEND}
- app-arch/unzip
- x86? ( dev-lang/nasm )"
-
-PATCHES=( "${FILESDIR}/log-to-tmpdir.patch" "${FILESDIR}/search-duke3d-path.patch" )
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_install() {
- local binary
- local binaries=(
- eduke32
- mapster32
- "${FILESDIR}"/eduke32-bin
- )
- for binary in "${binaries[@]}"; do
- dobin "${binary}"
- done
-
- if use tools; then
- local tool
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
- for tool in "${tools[@]}"; do
- dobin ${tool}
- done
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
- if use hrp; then
- doins "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip
- fi
- if use offensive; then
- doins "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip
- fi
- if use opl; then
- doins "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip
- fi
- if use psx; then
- doins "${DISTDIR}"/${MY_PN_PSX}-${MY_PV_PSX}.zip
- fi
- if use sc-55; then
- doins "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip
- fi
- if use sdk; then
- doins -r package/sdk
- fi
- if use voxels; then
- doins "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip
- fi
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- if use hrp; then
- DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- fi
- if use offensive; then
- DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- fi
- if use opl; then
- DOCS+=( "${WORKDIR}"/readme.txt )
- fi
- if use sc-55; then
- DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- fi
- if use voxels; then
- DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
- fi
- einstalldocs
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2018-08-21 21:55 Patrice Clement
0 siblings, 0 replies; 98+ messages in thread
From: Patrice Clement @ 2018-08-21 21:55 UTC (permalink / raw
To: gentoo-commits
commit: 1b6c9adf423a106158ec56a3e76b1615cdaa0abd
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Wed Aug 15 21:15:22 2018 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Aug 21 21:55:35 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b6c9adf
games-fps/eduke32: drop old version
Bug: https://bugs.gentoo.org/663742
Package-Manager: Portage-2.3.45, Repoman-2.3.10
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20180802.6963.ebuild | 247 -------------------------
2 files changed, 248 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 181a3189444..0ca96505a0d 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20180802-6963.tar.xz 14704448 BLAKE2B f121667d424ffac60f3239f260b65faaaf3b11377ebffc60b14c08494451f03151ab46c4fcb984e1abe45e6fa3fd5d3df04c3c557e0679e25d41de87ee42f4f7 SHA512 5afc34889f41b2fe2469b787a799c66a6bbc20b15552c052f21017a30ed9ecefabd94222b8e5bbc4745ab736e69143ea4c0f3b031713c17f70215907d10c746b
DIST eduke32_src_20180809-6969.tar.xz 14708992 BLAKE2B 64a7f8ef6c6772634ed376d59322d75da6eb3e4993a2123c86280ed95ffd562e452cad88b50833b0b77753c365b9d366f4bb392b947ac45819a10908cc505d2f SHA512 5c1d6e151fbd8bdbeed3ed94073e4a53170a79036b86e4303663b842f2fd2ddc2ee45e0685887c56a0321638b69d9a40b880f5a33e69115ed7f9fa89a18bc321
diff --git a/games-fps/eduke32/eduke32-20180802.6963.ebuild b/games-fps/eduke32/eduke32-20180802.6963.ebuild
deleted file mode 100644
index c42e95c4417..00000000000
--- a/games-fps/eduke32/eduke32-20180802.6963.ebuild
+++ /dev/null
@@ -1,247 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit desktop eapi7-ver gnome2-utils toolchain-funcs
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-
-MY_PN_HRP="duke3d_hrp"
-MY_PN_OPL="duke3d_musopl"
-MY_PN_PSX="duke3d_psx"
-MY_PN_SC55="duke3d_music-sc55"
-MY_PN_VOXELS="duke3d_voxels"
-MY_PN_XXX="duke3d_xxx"
-
-MY_PV_HRP="5.4"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-MY_PV_XXX="1.33"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> ${MY_PN_HRP}-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/${MY_PN_XXX}.zip -> ${MY_PN_XXX}-${MY_PV_XXX}.zip )
- opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> ${MY_PN_OPL}-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> ${MY_PN_PSX}-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/${MY_PN_SC55}.zip -> ${MY_PN_SC55}-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> ${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip )"
-
-KEYWORDS="~amd64 ~hppa ~x86"
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-MY_DEPEND_RDEPEND="media-libs/libsdl2[joystick,opengl?,sound,video,X]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib:=
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? ( virtual/glu
- virtual/opengl )
- png? ( media-libs/libpng:0= )
- timidity? ( media-sound/timidity-freepats )
- vpx? ( media-libs/libvpx:= )
- vorbis? ( media-libs/libogg
- media-libs/libvorbis )
- xmp? ( media-libs/exempi:= )"
-
-RDEPEND="${MY_DEPEND_RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )"
-
-DEPEND="${MY_DEPEND_RDEPEND}
- app-arch/unzip
- x86? ( dev-lang/nasm )"
-
-PATCHES=( "${FILESDIR}/log-to-tmpdir.patch" "${FILESDIR}/search-duke3d-path.patch" )
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_install() {
- local binary
- local binaries=(
- eduke32
- mapster32
- "${FILESDIR}"/eduke32-bin
- )
- for binary in "${binaries[@]}"; do
- dobin "${binary}"
- done
-
- if use tools; then
- local tool
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
- for tool in "${tools[@]}"; do
- dobin ${tool}
- done
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
- if use hrp; then
- doins "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip
- fi
- if use offensive; then
- doins "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip
- fi
- if use opl; then
- doins "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip
- fi
- if use psx; then
- doins "${DISTDIR}"/${MY_PN_PSX}-${MY_PV_PSX}.zip
- fi
- if use sc-55; then
- doins "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip
- fi
- if use sdk; then
- doins -r package/sdk
- fi
- if use voxels; then
- doins "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip
- fi
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- if use hrp; then
- DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- fi
- if use offensive; then
- DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- fi
- if use opl; then
- DOCS+=( "${WORKDIR}"/readme.txt )
- fi
- if use sc-55; then
- DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- fi
- if use voxels; then
- DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
- fi
- einstalldocs
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2018-08-21 21:55 Patrice Clement
0 siblings, 0 replies; 98+ messages in thread
From: Patrice Clement @ 2018-08-21 21:55 UTC (permalink / raw
To: gentoo-commits
commit: 346bc1670e5002ba03433671194e0f0f400b7502
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Wed Aug 15 21:14:59 2018 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Aug 21 21:55:34 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=346bc167
games-fps/eduke32: version bump to 20180809.6969.
Closes: https://bugs.gentoo.org/663742
Package-Manager: Portage-2.3.45, Repoman-2.3.10
Closes: https://github.com/gentoo/gentoo/pull/9585
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20180809.6969.ebuild | 247 +++++++++++++++++++++++++
2 files changed, 248 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 6b9657506e0..181a3189444 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20180802-6963.tar.xz 14704448 BLAKE2B f121667d424ffac60f3239f260b65faaaf3b11377ebffc60b14c08494451f03151ab46c4fcb984e1abe45e6fa3fd5d3df04c3c557e0679e25d41de87ee42f4f7 SHA512 5afc34889f41b2fe2469b787a799c66a6bbc20b15552c052f21017a30ed9ecefabd94222b8e5bbc4745ab736e69143ea4c0f3b031713c17f70215907d10c746b
+DIST eduke32_src_20180809-6969.tar.xz 14708992 BLAKE2B 64a7f8ef6c6772634ed376d59322d75da6eb3e4993a2123c86280ed95ffd562e452cad88b50833b0b77753c365b9d366f4bb392b947ac45819a10908cc505d2f SHA512 5c1d6e151fbd8bdbeed3ed94073e4a53170a79036b86e4303663b842f2fd2ddc2ee45e0685887c56a0321638b69d9a40b880f5a33e69115ed7f9fa89a18bc321
diff --git a/games-fps/eduke32/eduke32-20180809.6969.ebuild b/games-fps/eduke32/eduke32-20180809.6969.ebuild
new file mode 100644
index 00000000000..c42e95c4417
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20180809.6969.ebuild
@@ -0,0 +1,247 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop eapi7-ver gnome2-utils toolchain-funcs
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+
+MY_PN_HRP="duke3d_hrp"
+MY_PN_OPL="duke3d_musopl"
+MY_PN_PSX="duke3d_psx"
+MY_PN_SC55="duke3d_music-sc55"
+MY_PN_VOXELS="duke3d_voxels"
+MY_PN_XXX="duke3d_xxx"
+
+MY_PV_HRP="5.4"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+MY_PV_XXX="1.33"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> ${MY_PN_HRP}-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/${MY_PN_XXX}.zip -> ${MY_PN_XXX}-${MY_PV_XXX}.zip )
+ opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> ${MY_PN_OPL}-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> ${MY_PN_PSX}-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/${MY_PN_SC55}.zip -> ${MY_PN_SC55}-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> ${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip )"
+
+KEYWORDS="~amd64 ~hppa ~x86"
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+MY_DEPEND_RDEPEND="media-libs/libsdl2[joystick,opengl?,sound,video,X]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib:=
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? ( virtual/glu
+ virtual/opengl )
+ png? ( media-libs/libpng:0= )
+ timidity? ( media-sound/timidity-freepats )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? ( media-libs/libogg
+ media-libs/libvorbis )
+ xmp? ( media-libs/exempi:= )"
+
+RDEPEND="${MY_DEPEND_RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )"
+
+DEPEND="${MY_DEPEND_RDEPEND}
+ app-arch/unzip
+ x86? ( dev-lang/nasm )"
+
+PATCHES=( "${FILESDIR}/log-to-tmpdir.patch" "${FILESDIR}/search-duke3d-path.patch" )
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_install() {
+ local binary
+ local binaries=(
+ eduke32
+ mapster32
+ "${FILESDIR}"/eduke32-bin
+ )
+ for binary in "${binaries[@]}"; do
+ dobin "${binary}"
+ done
+
+ if use tools; then
+ local tool
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+ for tool in "${tools[@]}"; do
+ dobin ${tool}
+ done
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+ if use hrp; then
+ doins "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip
+ fi
+ if use offensive; then
+ doins "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip
+ fi
+ if use opl; then
+ doins "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip
+ fi
+ if use psx; then
+ doins "${DISTDIR}"/${MY_PN_PSX}-${MY_PV_PSX}.zip
+ fi
+ if use sc-55; then
+ doins "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip
+ fi
+ if use sdk; then
+ doins -r package/sdk
+ fi
+ if use voxels; then
+ doins "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip
+ fi
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ if use hrp; then
+ DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ fi
+ if use offensive; then
+ DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ fi
+ if use opl; then
+ DOCS+=( "${WORKDIR}"/readme.txt )
+ fi
+ if use sc-55; then
+ DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ fi
+ if use voxels; then
+ DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+ fi
+ einstalldocs
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2018-09-16 22:10 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2018-09-16 22:10 UTC (permalink / raw
To: gentoo-commits
commit: d86a12062307344bc61f01c3f07c341cc78a6e9f
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sun Sep 16 20:47:52 2018 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Sep 16 22:10:09 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d86a1206
games-fps/eduke32: bump to version 20180906.6978
Closes: https://bugs.gentoo.org/666364
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Closes: https://github.com/gentoo/gentoo/pull/9888
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20180906.6978.ebuild | 247 +++++++++++++++++++++++++
2 files changed, 248 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 0ca96505a0d..35f4b037d81 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20180809-6969.tar.xz 14708992 BLAKE2B 64a7f8ef6c6772634ed376d59322d75da6eb3e4993a2123c86280ed95ffd562e452cad88b50833b0b77753c365b9d366f4bb392b947ac45819a10908cc505d2f SHA512 5c1d6e151fbd8bdbeed3ed94073e4a53170a79036b86e4303663b842f2fd2ddc2ee45e0685887c56a0321638b69d9a40b880f5a33e69115ed7f9fa89a18bc321
+DIST eduke32_src_20180906-6978.tar.xz 14706836 BLAKE2B ed7b3718d73fe633ada5312ffc21feec00bcbcc07844038976efc16c8c91f8d7f3de4f0887a8a5914b33d118bd34b87ccbfce424b3d0803fa89db63fb0bd377b SHA512 6637966c8ace0fe197805a472b46b485dbc759ad7505964a32338c50b806cf269815e773e965cd5c3ddf11b02f3aa2c4e2b27bdb9dda4c909fcd8ac1bef22115
diff --git a/games-fps/eduke32/eduke32-20180906.6978.ebuild b/games-fps/eduke32/eduke32-20180906.6978.ebuild
new file mode 100644
index 00000000000..0d1b2e7c24a
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20180906.6978.ebuild
@@ -0,0 +1,247 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit desktop eapi7-ver gnome2-utils toolchain-funcs
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+
+MY_PN_HRP="duke3d_hrp"
+MY_PN_OPL="duke3d_musopl"
+MY_PN_PSX="duke3d_psx"
+MY_PN_SC55="duke3d_music-sc55"
+MY_PN_VOXELS="duke3d_voxels"
+MY_PN_XXX="duke3d_xxx"
+
+MY_PV_HRP="5.4"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+MY_PV_XXX="1.33"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> ${MY_PN_HRP}-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/${MY_PN_XXX}.zip -> ${MY_PN_XXX}-${MY_PV_XXX}.zip )
+ opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> ${MY_PN_OPL}-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> ${MY_PN_PSX}-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/${MY_PN_SC55}.zip -> ${MY_PN_SC55}-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> ${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip )"
+
+KEYWORDS="~amd64 ~hppa ~x86"
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+MY_DEPEND_RDEPEND="media-libs/libsdl2[joystick,opengl?,sound,video,X]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib:=
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? ( virtual/glu
+ virtual/opengl )
+ png? ( media-libs/libpng:0= )
+ timidity? ( media-sound/timidity-freepats )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? ( media-libs/libogg
+ media-libs/libvorbis )
+ xmp? ( media-libs/exempi:= )"
+
+RDEPEND="${MY_DEPEND_RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )"
+
+DEPEND="${MY_DEPEND_RDEPEND}
+ app-arch/unzip
+ x86? ( dev-lang/nasm )"
+
+PATCHES=( "${FILESDIR}/log-to-tmpdir.patch" "${FILESDIR}/search-duke3d-path.patch" )
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_install() {
+ local binary
+ local binaries=(
+ eduke32
+ mapster32
+ "${FILESDIR}"/eduke32-bin
+ )
+ for binary in "${binaries[@]}"; do
+ dobin "${binary}"
+ done
+
+ if use tools; then
+ local tool
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+ for tool in "${tools[@]}"; do
+ dobin ${tool}
+ done
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+ if use hrp; then
+ doins "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip
+ fi
+ if use offensive; then
+ doins "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip
+ fi
+ if use opl; then
+ doins "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip
+ fi
+ if use psx; then
+ doins "${DISTDIR}"/${MY_PN_PSX}-${MY_PV_PSX}.zip
+ fi
+ if use sc-55; then
+ doins "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip
+ fi
+ if use sdk; then
+ doins -r package/sdk
+ fi
+ if use voxels; then
+ doins "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip
+ fi
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ if use hrp; then
+ DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ fi
+ if use offensive; then
+ DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ fi
+ if use opl; then
+ DOCS+=( "${WORKDIR}"/readme.txt )
+ fi
+ if use sc-55; then
+ DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ fi
+ if use voxels; then
+ DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+ fi
+ einstalldocs
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2018-09-16 22:10 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2018-09-16 22:10 UTC (permalink / raw
To: gentoo-commits
commit: e9a9e7bd951e649791752ca4cd6ac9daa036b871
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sun Sep 16 20:48:32 2018 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Sep 16 22:10:18 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9a9e7bd
games-fps/eduke32: drop old version
Bug: https://bugs.gentoo.org/666364
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20180809.6969.ebuild | 247 -------------------------
2 files changed, 248 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 35f4b037d81..301c2fc4623 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20180809-6969.tar.xz 14708992 BLAKE2B 64a7f8ef6c6772634ed376d59322d75da6eb3e4993a2123c86280ed95ffd562e452cad88b50833b0b77753c365b9d366f4bb392b947ac45819a10908cc505d2f SHA512 5c1d6e151fbd8bdbeed3ed94073e4a53170a79036b86e4303663b842f2fd2ddc2ee45e0685887c56a0321638b69d9a40b880f5a33e69115ed7f9fa89a18bc321
DIST eduke32_src_20180906-6978.tar.xz 14706836 BLAKE2B ed7b3718d73fe633ada5312ffc21feec00bcbcc07844038976efc16c8c91f8d7f3de4f0887a8a5914b33d118bd34b87ccbfce424b3d0803fa89db63fb0bd377b SHA512 6637966c8ace0fe197805a472b46b485dbc759ad7505964a32338c50b806cf269815e773e965cd5c3ddf11b02f3aa2c4e2b27bdb9dda4c909fcd8ac1bef22115
diff --git a/games-fps/eduke32/eduke32-20180809.6969.ebuild b/games-fps/eduke32/eduke32-20180809.6969.ebuild
deleted file mode 100644
index c42e95c4417..00000000000
--- a/games-fps/eduke32/eduke32-20180809.6969.ebuild
+++ /dev/null
@@ -1,247 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit desktop eapi7-ver gnome2-utils toolchain-funcs
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-
-MY_PN_HRP="duke3d_hrp"
-MY_PN_OPL="duke3d_musopl"
-MY_PN_PSX="duke3d_psx"
-MY_PN_SC55="duke3d_music-sc55"
-MY_PN_VOXELS="duke3d_voxels"
-MY_PN_XXX="duke3d_xxx"
-
-MY_PV_HRP="5.4"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-MY_PV_XXX="1.33"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> ${MY_PN_HRP}-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/${MY_PN_XXX}.zip -> ${MY_PN_XXX}-${MY_PV_XXX}.zip )
- opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> ${MY_PN_OPL}-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> ${MY_PN_PSX}-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/${MY_PN_SC55}.zip -> ${MY_PN_SC55}-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> ${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip )"
-
-KEYWORDS="~amd64 ~hppa ~x86"
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-MY_DEPEND_RDEPEND="media-libs/libsdl2[joystick,opengl?,sound,video,X]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib:=
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? ( virtual/glu
- virtual/opengl )
- png? ( media-libs/libpng:0= )
- timidity? ( media-sound/timidity-freepats )
- vpx? ( media-libs/libvpx:= )
- vorbis? ( media-libs/libogg
- media-libs/libvorbis )
- xmp? ( media-libs/exempi:= )"
-
-RDEPEND="${MY_DEPEND_RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )"
-
-DEPEND="${MY_DEPEND_RDEPEND}
- app-arch/unzip
- x86? ( dev-lang/nasm )"
-
-PATCHES=( "${FILESDIR}/log-to-tmpdir.patch" "${FILESDIR}/search-duke3d-path.patch" )
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_install() {
- local binary
- local binaries=(
- eduke32
- mapster32
- "${FILESDIR}"/eduke32-bin
- )
- for binary in "${binaries[@]}"; do
- dobin "${binary}"
- done
-
- if use tools; then
- local tool
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
- for tool in "${tools[@]}"; do
- dobin ${tool}
- done
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
- if use hrp; then
- doins "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip
- fi
- if use offensive; then
- doins "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip
- fi
- if use opl; then
- doins "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip
- fi
- if use psx; then
- doins "${DISTDIR}"/${MY_PN_PSX}-${MY_PV_PSX}.zip
- fi
- if use sc-55; then
- doins "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip
- fi
- if use sdk; then
- doins -r package/sdk
- fi
- if use voxels; then
- doins "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip
- fi
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- if use hrp; then
- DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- fi
- if use offensive; then
- DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- fi
- if use opl; then
- DOCS+=( "${WORKDIR}"/readme.txt )
- fi
- if use sc-55; then
- DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- fi
- if use voxels; then
- DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
- fi
- einstalldocs
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2018-10-21 17:42 Michał Górny
0 siblings, 0 replies; 98+ messages in thread
From: Michał Górny @ 2018-10-21 17:42 UTC (permalink / raw
To: gentoo-commits
commit: 17d8a804a1383b8412043fec28997cbcccdb314f
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sun Oct 14 13:30:04 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 21 17:42:09 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17d8a804
games-fps/eduke32: bump to version 20181010.7076
Closes: https://bugs.gentoo.org/668606
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10142
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20181010.7067.ebuild | 233 +++++++++++++++++++++++++
2 files changed, 234 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 301c2fc4623..721a0d76362 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20180906-6978.tar.xz 14706836 BLAKE2B ed7b3718d73fe633ada5312ffc21feec00bcbcc07844038976efc16c8c91f8d7f3de4f0887a8a5914b33d118bd34b87ccbfce424b3d0803fa89db63fb0bd377b SHA512 6637966c8ace0fe197805a472b46b485dbc759ad7505964a32338c50b806cf269815e773e965cd5c3ddf11b02f3aa2c4e2b27bdb9dda4c909fcd8ac1bef22115
+DIST eduke32_src_20181010-7067.tar.xz 14710088 BLAKE2B 7b2ed7d1c8b81b1b53699d1cb6898525896a534577ac79827b508da33e334dfab3b390323b051a53139c0860ab3ff3b1965015316a81a340d406e66d1d5242ec SHA512 f858d39947dd1f07363c003cefa0289f78f8c37a95019b13e8657769a1bd814399a5b137b0b601aa1330055ebae017dd1bf06db7ec2bb647121628d5187a55dd
diff --git a/games-fps/eduke32/eduke32-20181010.7067.ebuild b/games-fps/eduke32/eduke32-20181010.7067.ebuild
new file mode 100644
index 00000000000..07b68e2de18
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20181010.7067.ebuild
@@ -0,0 +1,233 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit desktop eapi7-ver gnome2-utils toolchain-funcs
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )"
+
+KEYWORDS="~amd64 ~hppa ~x86"
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+MY_DEPEND_RDEPEND="media-libs/libsdl2[joystick,opengl?,sound,video,X]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib:=
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? ( virtual/glu
+ virtual/opengl )
+ png? ( media-libs/libpng:0= )
+ timidity? ( media-sound/timidity-freepats )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? ( media-libs/libogg
+ media-libs/libvorbis )
+ xmp? ( media-libs/exempi:= )"
+
+RDEPEND="${MY_DEPEND_RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )"
+
+DEPEND="${MY_DEPEND_RDEPEND}
+ app-arch/unzip
+ x86? ( dev-lang/nasm )"
+
+PATCHES=( "${FILESDIR}/log-to-tmpdir.patch" "${FILESDIR}/search-duke3d-path.patch" )
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_test() {
+ # There are no tests
+ # Instead it tries to build a test game, which does not compile
+ :;
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+ if use hrp; then
+ doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ fi
+ if use offensive; then
+ doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ fi
+ if use opl; then
+ doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ fi
+ if use psx; then
+ doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ fi
+ if use sc-55; then
+ doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ fi
+ if use sdk; then
+ doins -r package/sdk
+ fi
+ if use voxels; then
+ doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+ fi
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ if use hrp; then
+ DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ fi
+ if use offensive; then
+ DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ fi
+ if use opl; then
+ DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ fi
+ if use sc-55; then
+ DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ fi
+ if use voxels; then
+ DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+ fi
+ einstalldocs
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2018-10-30 10:34 Patrice Clement
0 siblings, 0 replies; 98+ messages in thread
From: Patrice Clement @ 2018-10-30 10:34 UTC (permalink / raw
To: gentoo-commits
commit: 641fba30059e393cbc6294a53d36125ee09ed644
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sun Oct 28 15:41:45 2018 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Oct 30 10:34:14 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=641fba30
games-fps/eduke32: drop old version.
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10272
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20180906.6978.ebuild | 247 -------------------------
2 files changed, 248 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 721a0d76362..caba4d9ba43 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20180906-6978.tar.xz 14706836 BLAKE2B ed7b3718d73fe633ada5312ffc21feec00bcbcc07844038976efc16c8c91f8d7f3de4f0887a8a5914b33d118bd34b87ccbfce424b3d0803fa89db63fb0bd377b SHA512 6637966c8ace0fe197805a472b46b485dbc759ad7505964a32338c50b806cf269815e773e965cd5c3ddf11b02f3aa2c4e2b27bdb9dda4c909fcd8ac1bef22115
DIST eduke32_src_20181010-7067.tar.xz 14710088 BLAKE2B 7b2ed7d1c8b81b1b53699d1cb6898525896a534577ac79827b508da33e334dfab3b390323b051a53139c0860ab3ff3b1965015316a81a340d406e66d1d5242ec SHA512 f858d39947dd1f07363c003cefa0289f78f8c37a95019b13e8657769a1bd814399a5b137b0b601aa1330055ebae017dd1bf06db7ec2bb647121628d5187a55dd
diff --git a/games-fps/eduke32/eduke32-20180906.6978.ebuild b/games-fps/eduke32/eduke32-20180906.6978.ebuild
deleted file mode 100644
index 0d1b2e7c24a..00000000000
--- a/games-fps/eduke32/eduke32-20180906.6978.ebuild
+++ /dev/null
@@ -1,247 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit desktop eapi7-ver gnome2-utils toolchain-funcs
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-
-MY_PN_HRP="duke3d_hrp"
-MY_PN_OPL="duke3d_musopl"
-MY_PN_PSX="duke3d_psx"
-MY_PN_SC55="duke3d_music-sc55"
-MY_PN_VOXELS="duke3d_voxels"
-MY_PN_XXX="duke3d_xxx"
-
-MY_PV_HRP="5.4"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-MY_PV_XXX="1.33"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> ${MY_PN_HRP}-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/${MY_PN_XXX}.zip -> ${MY_PN_XXX}-${MY_PV_XXX}.zip )
- opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> ${MY_PN_OPL}-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> ${MY_PN_PSX}-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/${MY_PN_SC55}.zip -> ${MY_PN_SC55}-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> ${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip )"
-
-KEYWORDS="~amd64 ~hppa ~x86"
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-MY_DEPEND_RDEPEND="media-libs/libsdl2[joystick,opengl?,sound,video,X]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib:=
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? ( virtual/glu
- virtual/opengl )
- png? ( media-libs/libpng:0= )
- timidity? ( media-sound/timidity-freepats )
- vpx? ( media-libs/libvpx:= )
- vorbis? ( media-libs/libogg
- media-libs/libvorbis )
- xmp? ( media-libs/exempi:= )"
-
-RDEPEND="${MY_DEPEND_RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )"
-
-DEPEND="${MY_DEPEND_RDEPEND}
- app-arch/unzip
- x86? ( dev-lang/nasm )"
-
-PATCHES=( "${FILESDIR}/log-to-tmpdir.patch" "${FILESDIR}/search-duke3d-path.patch" )
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_install() {
- local binary
- local binaries=(
- eduke32
- mapster32
- "${FILESDIR}"/eduke32-bin
- )
- for binary in "${binaries[@]}"; do
- dobin "${binary}"
- done
-
- if use tools; then
- local tool
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
- for tool in "${tools[@]}"; do
- dobin ${tool}
- done
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
- if use hrp; then
- doins "${DISTDIR}"/${MY_PN_HRP}-${MY_PV_HRP}.zip
- fi
- if use offensive; then
- doins "${DISTDIR}"/${MY_PN_XXX}-${MY_PV_XXX}.zip
- fi
- if use opl; then
- doins "${DISTDIR}"/${MY_PN_OPL}-${MY_PV_OPL}.zip
- fi
- if use psx; then
- doins "${DISTDIR}"/${MY_PN_PSX}-${MY_PV_PSX}.zip
- fi
- if use sc-55; then
- doins "${DISTDIR}"/${MY_PN_SC55}-${MY_PV_SC55}.zip
- fi
- if use sdk; then
- doins -r package/sdk
- fi
- if use voxels; then
- doins "${DISTDIR}"/${MY_PN_VOXELS}-${MY_PV_VOXELS}.zip
- fi
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- if use hrp; then
- DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- fi
- if use offensive; then
- DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- fi
- if use opl; then
- DOCS+=( "${WORKDIR}"/readme.txt )
- fi
- if use sc-55; then
- DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- fi
- if use voxels; then
- DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
- fi
- einstalldocs
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-01-28 23:02 Patrice Clement
0 siblings, 0 replies; 98+ messages in thread
From: Patrice Clement @ 2019-01-28 23:02 UTC (permalink / raw
To: gentoo-commits
commit: d87b0ac5ce860daa2bacbcce8fc24a8c5f4236ce
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sun Jan 27 17:02:23 2019 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Jan 28 23:02:21 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87b0ac5
games-fps/eduke32: drop old version.
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20181010.7067.ebuild | 233 -------------------------
2 files changed, 234 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 89609d0dd2f..ecb5725a217 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20181010-7067.tar.xz 14710088 BLAKE2B 7b2ed7d1c8b81b1b53699d1cb6898525896a534577ac79827b508da33e334dfab3b390323b051a53139c0860ab3ff3b1965015316a81a340d406e66d1d5242ec SHA512 f858d39947dd1f07363c003cefa0289f78f8c37a95019b13e8657769a1bd814399a5b137b0b601aa1330055ebae017dd1bf06db7ec2bb647121628d5187a55dd
DIST eduke32_src_20190123-7318.tar.xz 14728924 BLAKE2B 3b6bddd12675029c3a92d1de58421ee48ac5537104bf990d9e3e10c8e3e22264eb433a61ab79ed472c85304f59904fb5fe2a2c3df765106f96734432e41daf74 SHA512 c6b275a8a0b611f6c42f3fa63959e9b717a25b45a86bb8f385873d6d6d1833893c0a2e16993c955d73c3e44887845c192d1f93b5649bd78ce07760f801e48914
diff --git a/games-fps/eduke32/eduke32-20181010.7067.ebuild b/games-fps/eduke32/eduke32-20181010.7067.ebuild
deleted file mode 100644
index 07b68e2de18..00000000000
--- a/games-fps/eduke32/eduke32-20181010.7067.ebuild
+++ /dev/null
@@ -1,233 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit desktop eapi7-ver gnome2-utils toolchain-funcs
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )"
-
-KEYWORDS="~amd64 ~hppa ~x86"
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-MY_DEPEND_RDEPEND="media-libs/libsdl2[joystick,opengl?,sound,video,X]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib:=
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? ( virtual/glu
- virtual/opengl )
- png? ( media-libs/libpng:0= )
- timidity? ( media-sound/timidity-freepats )
- vpx? ( media-libs/libvpx:= )
- vorbis? ( media-libs/libogg
- media-libs/libvorbis )
- xmp? ( media-libs/exempi:= )"
-
-RDEPEND="${MY_DEPEND_RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )"
-
-DEPEND="${MY_DEPEND_RDEPEND}
- app-arch/unzip
- x86? ( dev-lang/nasm )"
-
-PATCHES=( "${FILESDIR}/log-to-tmpdir.patch" "${FILESDIR}/search-duke3d-path.patch" )
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_test() {
- # There are no tests
- # Instead it tries to build a test game, which does not compile
- :;
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
- if use hrp; then
- doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- fi
- if use offensive; then
- doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- fi
- if use opl; then
- doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- fi
- if use psx; then
- doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- fi
- if use sc-55; then
- doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- fi
- if use sdk; then
- doins -r package/sdk
- fi
- if use voxels; then
- doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
- fi
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- if use hrp; then
- DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- fi
- if use offensive; then
- DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- fi
- if use opl; then
- DOCS+=( "${WORKDIR}"/opl_readme.txt )
- fi
- if use sc-55; then
- DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- fi
- if use voxels; then
- DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
- fi
- einstalldocs
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-01-28 23:02 Patrice Clement
0 siblings, 0 replies; 98+ messages in thread
From: Patrice Clement @ 2019-01-28 23:02 UTC (permalink / raw
To: gentoo-commits
commit: 01403cf1fb7a439bb66ebffe9b16bc317b2dcb3d
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sun Jan 27 17:01:55 2019 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Jan 28 23:02:19 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01403cf1
games-fps/eduke32: bump to version 20190123.7318.
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/10915
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20190123.7318.ebuild | 233 +++++++++++++++++++++++++
2 files changed, 234 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index caba4d9ba43..89609d0dd2f 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20181010-7067.tar.xz 14710088 BLAKE2B 7b2ed7d1c8b81b1b53699d1cb6898525896a534577ac79827b508da33e334dfab3b390323b051a53139c0860ab3ff3b1965015316a81a340d406e66d1d5242ec SHA512 f858d39947dd1f07363c003cefa0289f78f8c37a95019b13e8657769a1bd814399a5b137b0b601aa1330055ebae017dd1bf06db7ec2bb647121628d5187a55dd
+DIST eduke32_src_20190123-7318.tar.xz 14728924 BLAKE2B 3b6bddd12675029c3a92d1de58421ee48ac5537104bf990d9e3e10c8e3e22264eb433a61ab79ed472c85304f59904fb5fe2a2c3df765106f96734432e41daf74 SHA512 c6b275a8a0b611f6c42f3fa63959e9b717a25b45a86bb8f385873d6d6d1833893c0a2e16993c955d73c3e44887845c192d1f93b5649bd78ce07760f801e48914
diff --git a/games-fps/eduke32/eduke32-20190123.7318.ebuild b/games-fps/eduke32/eduke32-20190123.7318.ebuild
new file mode 100644
index 00000000000..70135dd19c0
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20190123.7318.ebuild
@@ -0,0 +1,233 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit desktop eapi7-ver gnome2-utils toolchain-funcs
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )"
+
+KEYWORDS="~amd64 ~hppa ~x86"
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+MY_DEPEND_RDEPEND="media-libs/libsdl2[joystick,opengl?,sound,video,X]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib:=
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? ( virtual/glu
+ virtual/opengl )
+ png? ( media-libs/libpng:0= )
+ timidity? ( media-sound/timidity-freepats )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? ( media-libs/libogg
+ media-libs/libvorbis )
+ xmp? ( media-libs/exempi:= )"
+
+RDEPEND="${MY_DEPEND_RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )"
+
+DEPEND="${MY_DEPEND_RDEPEND}
+ app-arch/unzip
+ x86? ( dev-lang/nasm )"
+
+PATCHES=( "${FILESDIR}/log-to-tmpdir.patch" "${FILESDIR}/search-duke3d-path.patch" )
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_test() {
+ # There are no tests
+ # Instead it tries to build a test game, which does not compile
+ :;
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+ if use hrp; then
+ doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ fi
+ if use offensive; then
+ doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ fi
+ if use opl; then
+ doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ fi
+ if use psx; then
+ doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ fi
+ if use sc-55; then
+ doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ fi
+ if use sdk; then
+ doins -r package/sdk
+ fi
+ if use voxels; then
+ doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+ fi
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ if use hrp; then
+ DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ fi
+ if use offensive; then
+ DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ fi
+ if use opl; then
+ DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ fi
+ if use sc-55; then
+ DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ fi
+ if use voxels; then
+ DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+ fi
+ einstalldocs
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-03-09 22:50 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-03-09 22:50 UTC (permalink / raw
To: gentoo-commits
commit: 01ee80f8419ec9f7eb45cdf1f9f9e14249dc186e
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 9 22:50:12 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Mar 9 22:50:39 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01ee80f8
games-fps/eduke32: X support in SDL is not really required
I've just tested under Wayland.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/eduke32-20190304.7392.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/eduke32/eduke32-20190304.7392.ebuild b/games-fps/eduke32/eduke32-20190304.7392.ebuild
index e7737aa24b8..b4a97498c3e 100644
--- a/games-fps/eduke32/eduke32-20190304.7392.ebuild
+++ b/games-fps/eduke32/eduke32-20190304.7392.ebuild
@@ -50,7 +50,7 @@ REQUIRED_USE="
S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
MY_DEPEND_RDEPEND="
- media-libs/libsdl2[joystick,opengl?,sound,video,X]
+ media-libs/libsdl2[joystick,opengl?,sound,video]
media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
sys-libs/zlib:=
flac? ( media-libs/flac )
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-03-09 22:50 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-03-09 22:50 UTC (permalink / raw
To: gentoo-commits
commit: bd0432f3e615aba143f9d3140700514ff366268e
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Fri Mar 8 19:42:18 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Mar 9 22:50:39 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd0432f3
games-fps/eduke32: drop old version
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20190123.7318.ebuild | 233 -------------------------
2 files changed, 234 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index acb56e213e0..ebb9fd491a2 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20190123-7318.tar.xz 14728924 BLAKE2B 3b6bddd12675029c3a92d1de58421ee48ac5537104bf990d9e3e10c8e3e22264eb433a61ab79ed472c85304f59904fb5fe2a2c3df765106f96734432e41daf74 SHA512 c6b275a8a0b611f6c42f3fa63959e9b717a25b45a86bb8f385873d6d6d1833893c0a2e16993c955d73c3e44887845c192d1f93b5649bd78ce07760f801e48914
DIST eduke32_src_20190304-7392.tar.xz 14730992 BLAKE2B f10702e820e72d03a6f909e3f908cc705877908fc5455aa2060deaed3ff485e26b8fef56fde89e30d066af4663e8eb7ccfa42e71c99a15d99326199c24edd04a SHA512 e63d31e406f2a62559ad6c88c3c54d64397319bf701e6fba0df31574ff124d8378239fc849d10af91544fcdcb437ab853b83222d0f753017fa8e94d4620d7dbf
diff --git a/games-fps/eduke32/eduke32-20190123.7318.ebuild b/games-fps/eduke32/eduke32-20190123.7318.ebuild
deleted file mode 100644
index 70135dd19c0..00000000000
--- a/games-fps/eduke32/eduke32-20190123.7318.ebuild
+++ /dev/null
@@ -1,233 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit desktop eapi7-ver gnome2-utils toolchain-funcs
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )"
-
-KEYWORDS="~amd64 ~hppa ~x86"
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-MY_DEPEND_RDEPEND="media-libs/libsdl2[joystick,opengl?,sound,video,X]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib:=
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? ( virtual/glu
- virtual/opengl )
- png? ( media-libs/libpng:0= )
- timidity? ( media-sound/timidity-freepats )
- vpx? ( media-libs/libvpx:= )
- vorbis? ( media-libs/libogg
- media-libs/libvorbis )
- xmp? ( media-libs/exempi:= )"
-
-RDEPEND="${MY_DEPEND_RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )"
-
-DEPEND="${MY_DEPEND_RDEPEND}
- app-arch/unzip
- x86? ( dev-lang/nasm )"
-
-PATCHES=( "${FILESDIR}/log-to-tmpdir.patch" "${FILESDIR}/search-duke3d-path.patch" )
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_test() {
- # There are no tests
- # Instead it tries to build a test game, which does not compile
- :;
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
- if use hrp; then
- doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- fi
- if use offensive; then
- doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- fi
- if use opl; then
- doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- fi
- if use psx; then
- doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- fi
- if use sc-55; then
- doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- fi
- if use sdk; then
- doins -r package/sdk
- fi
- if use voxels; then
- doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
- fi
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- if use hrp; then
- DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- fi
- if use offensive; then
- DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- fi
- if use opl; then
- DOCS+=( "${WORKDIR}"/opl_readme.txt )
- fi
- if use sc-55; then
- DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- fi
- if use voxels; then
- DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
- fi
- einstalldocs
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-03-09 22:50 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-03-09 22:50 UTC (permalink / raw
To: gentoo-commits
commit: 31d4baa8141201e96ea36ebe3303b374b96649f2
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Fri Mar 8 19:41:54 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Mar 9 22:50:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31d4baa8
games-fps/eduke32: bump to version 20190304.7392
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/11308
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20190304.7392.ebuild | 246 +++++++++++++++++++++++++
2 files changed, 247 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index ecb5725a217..acb56e213e0 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20190123-7318.tar.xz 14728924 BLAKE2B 3b6bddd12675029c3a92d1de58421ee48ac5537104bf990d9e3e10c8e3e22264eb433a61ab79ed472c85304f59904fb5fe2a2c3df765106f96734432e41daf74 SHA512 c6b275a8a0b611f6c42f3fa63959e9b717a25b45a86bb8f385873d6d6d1833893c0a2e16993c955d73c3e44887845c192d1f93b5649bd78ce07760f801e48914
+DIST eduke32_src_20190304-7392.tar.xz 14730992 BLAKE2B f10702e820e72d03a6f909e3f908cc705877908fc5455aa2060deaed3ff485e26b8fef56fde89e30d066af4663e8eb7ccfa42e71c99a15d99326199c24edd04a SHA512 e63d31e406f2a62559ad6c88c3c54d64397319bf701e6fba0df31574ff124d8378239fc849d10af91544fcdcb437ab853b83222d0f753017fa8e94d4620d7dbf
diff --git a/games-fps/eduke32/eduke32-20190304.7392.ebuild b/games-fps/eduke32/eduke32-20190304.7392.ebuild
new file mode 100644
index 00000000000..e7737aa24b8
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20190304.7392.ebuild
@@ -0,0 +1,246 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+MY_DEPEND_RDEPEND="
+ media-libs/libsdl2[joystick,opengl?,sound,video,X]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib:=
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? ( virtual/glu
+ virtual/opengl )
+ png? ( media-libs/libpng:0= )
+ timidity? ( media-sound/timidity-freepats )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? ( media-libs/libogg
+ media-libs/libvorbis )
+ xmp? ( media-libs/exempi:= )
+"
+
+RDEPEND="
+ ${MY_DEPEND_RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+"
+
+DEPEND="
+ ${MY_DEPEND_RDEPEND}
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PATCHES=(
+ "${FILESDIR}/log-to-tmpdir.patch"
+ "${FILESDIR}/search-duke3d-path.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_test() {
+ # There are no tests
+ # Instead it tries to build a test game, which does not compile
+ :;
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+ if use hrp; then
+ doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ fi
+ if use offensive; then
+ doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ fi
+ if use opl; then
+ doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ fi
+ if use psx; then
+ doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ fi
+ if use sc-55; then
+ doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ fi
+ if use sdk; then
+ doins -r package/sdk
+ fi
+ if use voxels; then
+ doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+ fi
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ if use hrp; then
+ DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ fi
+ if use offensive; then
+ DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ fi
+ if use opl; then
+ DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ fi
+ if use sc-55; then
+ DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ fi
+ if use voxels; then
+ DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+ fi
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-04-07 22:34 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-04-07 22:34 UTC (permalink / raw
To: gentoo-commits
commit: 094c1b54a6aa18722cb600e33e38dfe2ef94895b
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sat Apr 6 22:05:58 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Apr 7 22:33:00 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=094c1b54
games-fps/eduke32: bump to version 20190406.7490
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/11618
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20190406.7490.ebuild | 246 +++++++++++++++++++++++++
2 files changed, 247 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index ebb9fd491a2..4e5fec5fd9d 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20190304-7392.tar.xz 14730992 BLAKE2B f10702e820e72d03a6f909e3f908cc705877908fc5455aa2060deaed3ff485e26b8fef56fde89e30d066af4663e8eb7ccfa42e71c99a15d99326199c24edd04a SHA512 e63d31e406f2a62559ad6c88c3c54d64397319bf701e6fba0df31574ff124d8378239fc849d10af91544fcdcb437ab853b83222d0f753017fa8e94d4620d7dbf
+DIST eduke32_src_20190406-7490.tar.xz 14740360 BLAKE2B c7285e74b857a36d5bcddded9ae56f65be9d3a45146c21d5171f56538ba35ebfdc0b96f2eab84dbaf7179a1a336e5cd8cc2cfdd25f3524998382fc9e505142a4 SHA512 b43cd3bc4a26ef14ebb8db5b4ed0520544afff34970fadb459b0413eef9937e7ec70e32a51b92438f23d036806d436a429cf34ac61ec3353411f5491d6cbab45
diff --git a/games-fps/eduke32/eduke32-20190406.7490.ebuild b/games-fps/eduke32/eduke32-20190406.7490.ebuild
new file mode 100644
index 00000000000..b4a97498c3e
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20190406.7490.ebuild
@@ -0,0 +1,246 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+MY_DEPEND_RDEPEND="
+ media-libs/libsdl2[joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib:=
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? ( virtual/glu
+ virtual/opengl )
+ png? ( media-libs/libpng:0= )
+ timidity? ( media-sound/timidity-freepats )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? ( media-libs/libogg
+ media-libs/libvorbis )
+ xmp? ( media-libs/exempi:= )
+"
+
+RDEPEND="
+ ${MY_DEPEND_RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+"
+
+DEPEND="
+ ${MY_DEPEND_RDEPEND}
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PATCHES=(
+ "${FILESDIR}/log-to-tmpdir.patch"
+ "${FILESDIR}/search-duke3d-path.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_test() {
+ # There are no tests
+ # Instead it tries to build a test game, which does not compile
+ :;
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+ if use hrp; then
+ doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ fi
+ if use offensive; then
+ doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ fi
+ if use opl; then
+ doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ fi
+ if use psx; then
+ doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ fi
+ if use sc-55; then
+ doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ fi
+ if use sdk; then
+ doins -r package/sdk
+ fi
+ if use voxels; then
+ doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+ fi
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ if use hrp; then
+ DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ fi
+ if use offensive; then
+ DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ fi
+ if use opl; then
+ DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ fi
+ if use sc-55; then
+ DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ fi
+ if use voxels; then
+ DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+ fi
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-04-07 22:34 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-04-07 22:34 UTC (permalink / raw
To: gentoo-commits
commit: 971189dec69391c358c5daf791ce61f4a81982e1
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 7 22:33:54 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Apr 7 22:33:54 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=971189de
games-fps/eduke32: Drop old 20190304.7392
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20190304.7392.ebuild | 246 -------------------------
2 files changed, 247 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 4e5fec5fd9d..03decaa5f79 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20190304-7392.tar.xz 14730992 BLAKE2B f10702e820e72d03a6f909e3f908cc705877908fc5455aa2060deaed3ff485e26b8fef56fde89e30d066af4663e8eb7ccfa42e71c99a15d99326199c24edd04a SHA512 e63d31e406f2a62559ad6c88c3c54d64397319bf701e6fba0df31574ff124d8378239fc849d10af91544fcdcb437ab853b83222d0f753017fa8e94d4620d7dbf
DIST eduke32_src_20190406-7490.tar.xz 14740360 BLAKE2B c7285e74b857a36d5bcddded9ae56f65be9d3a45146c21d5171f56538ba35ebfdc0b96f2eab84dbaf7179a1a336e5cd8cc2cfdd25f3524998382fc9e505142a4 SHA512 b43cd3bc4a26ef14ebb8db5b4ed0520544afff34970fadb459b0413eef9937e7ec70e32a51b92438f23d036806d436a429cf34ac61ec3353411f5491d6cbab45
diff --git a/games-fps/eduke32/eduke32-20190304.7392.ebuild b/games-fps/eduke32/eduke32-20190304.7392.ebuild
deleted file mode 100644
index b4a97498c3e..00000000000
--- a/games-fps/eduke32/eduke32-20190304.7392.ebuild
+++ /dev/null
@@ -1,246 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-MY_DEPEND_RDEPEND="
- media-libs/libsdl2[joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib:=
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? ( virtual/glu
- virtual/opengl )
- png? ( media-libs/libpng:0= )
- timidity? ( media-sound/timidity-freepats )
- vpx? ( media-libs/libvpx:= )
- vorbis? ( media-libs/libogg
- media-libs/libvorbis )
- xmp? ( media-libs/exempi:= )
-"
-
-RDEPEND="
- ${MY_DEPEND_RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
-"
-
-DEPEND="
- ${MY_DEPEND_RDEPEND}
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PATCHES=(
- "${FILESDIR}/log-to-tmpdir.patch"
- "${FILESDIR}/search-duke3d-path.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_test() {
- # There are no tests
- # Instead it tries to build a test game, which does not compile
- :;
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
- if use hrp; then
- doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- fi
- if use offensive; then
- doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- fi
- if use opl; then
- doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- fi
- if use psx; then
- doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- fi
- if use sc-55; then
- doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- fi
- if use sdk; then
- doins -r package/sdk
- fi
- if use voxels; then
- doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
- fi
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- if use hrp; then
- DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- fi
- if use offensive; then
- DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- fi
- if use opl; then
- DOCS+=( "${WORKDIR}"/opl_readme.txt )
- fi
- if use sc-55; then
- DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- fi
- if use voxels; then
- DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
- fi
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-04-22 22:00 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-04-22 22:00 UTC (permalink / raw
To: gentoo-commits
commit: 162bab6e27a835cbd2552d32ab618f0463df0fc2
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sat Apr 20 13:20:13 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Apr 22 22:00:45 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=162bab6e
games-fps/eduke32: drop old version
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20190406.7490.ebuild | 246 -------------------------
2 files changed, 247 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index bcfad3bdf93..5a338b94277 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20190406-7490.tar.xz 14740360 BLAKE2B c7285e74b857a36d5bcddded9ae56f65be9d3a45146c21d5171f56538ba35ebfdc0b96f2eab84dbaf7179a1a336e5cd8cc2cfdd25f3524998382fc9e505142a4 SHA512 b43cd3bc4a26ef14ebb8db5b4ed0520544afff34970fadb459b0413eef9937e7ec70e32a51b92438f23d036806d436a429cf34ac61ec3353411f5491d6cbab45
DIST eduke32_src_20190419-7615.tar.xz 14740500 BLAKE2B 462a93789c0c096f85f889769ca3bf642c33cd997e1b2cfb821060aa2dbd0040b0dbd910d33da09e2be8b6610d62fbb06fed2dd62aeaa619fa23c17b6a538feb SHA512 ca496c0f6478cb246e0746de1ecf171e46762d65fdb6906c8174f610b8f52362d84c48e0f4095fe00a41e4c73cbb7298ec3446d4bc0be68ed0f9a52a768183fe
diff --git a/games-fps/eduke32/eduke32-20190406.7490.ebuild b/games-fps/eduke32/eduke32-20190406.7490.ebuild
deleted file mode 100644
index b4a97498c3e..00000000000
--- a/games-fps/eduke32/eduke32-20190406.7490.ebuild
+++ /dev/null
@@ -1,246 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-MY_DEPEND_RDEPEND="
- media-libs/libsdl2[joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib:=
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? ( virtual/glu
- virtual/opengl )
- png? ( media-libs/libpng:0= )
- timidity? ( media-sound/timidity-freepats )
- vpx? ( media-libs/libvpx:= )
- vorbis? ( media-libs/libogg
- media-libs/libvorbis )
- xmp? ( media-libs/exempi:= )
-"
-
-RDEPEND="
- ${MY_DEPEND_RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
-"
-
-DEPEND="
- ${MY_DEPEND_RDEPEND}
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PATCHES=(
- "${FILESDIR}/log-to-tmpdir.patch"
- "${FILESDIR}/search-duke3d-path.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_test() {
- # There are no tests
- # Instead it tries to build a test game, which does not compile
- :;
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
- if use hrp; then
- doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- fi
- if use offensive; then
- doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- fi
- if use opl; then
- doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- fi
- if use psx; then
- doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- fi
- if use sc-55; then
- doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- fi
- if use sdk; then
- doins -r package/sdk
- fi
- if use voxels; then
- doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
- fi
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- if use hrp; then
- DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- fi
- if use offensive; then
- DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- fi
- if use opl; then
- DOCS+=( "${WORKDIR}"/opl_readme.txt )
- fi
- if use sc-55; then
- DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- fi
- if use voxels; then
- DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
- fi
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-07-21 21:36 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-07-21 21:36 UTC (permalink / raw
To: gentoo-commits
commit: 98f6bac1a2a726c4da1c55e8d3ae43b6bf8b001a
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sun Jul 21 20:57:20 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 21:34:19 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98f6bac1
games-fps/eduke32: bump to version 20190719.7814
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/12505
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20190719.7814.ebuild | 247 +++++++++++++++++++++++++
2 files changed, 248 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 5a338b94277..dcf42b87ca2 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20190419-7615.tar.xz 14740500 BLAKE2B 462a93789c0c096f85f889769ca3bf642c33cd997e1b2cfb821060aa2dbd0040b0dbd910d33da09e2be8b6610d62fbb06fed2dd62aeaa619fa23c17b6a538feb SHA512 ca496c0f6478cb246e0746de1ecf171e46762d65fdb6906c8174f610b8f52362d84c48e0f4095fe00a41e4c73cbb7298ec3446d4bc0be68ed0f9a52a768183fe
+DIST eduke32_src_20190719-7814.tar.xz 14751836 BLAKE2B 95017d0fbb4a3d4db3bb64657671bad58f368af5f4c1d52cfc805d99bbfc77019dfc372d3aa82e9c216a783a41993d6c8e539b2861b72604c0397cfc52f046c4 SHA512 cf8783e36b73ee76ba7c824d9322a64b87ae48ddb7002e3e4b61120c03c03a03bb0205f790483421c5992e536adee0be1c497cd7aa8357fa0aa518f50a4ba861
diff --git a/games-fps/eduke32/eduke32-20190719.7814.ebuild b/games-fps/eduke32/eduke32-20190719.7814.ebuild
new file mode 100644
index 00000000000..196f0653f81
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20190719.7814.ebuild
@@ -0,0 +1,247 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+MY_DEPEND_RDEPEND="
+ media-libs/libsdl2[joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib:=
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? ( virtual/glu
+ virtual/opengl )
+ png? ( media-libs/libpng:0= )
+ timidity? ( media-sound/timidity-freepats )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? ( media-libs/libogg
+ media-libs/libvorbis )
+ xmp? ( media-libs/exempi:= )
+"
+
+RDEPEND="
+ ${MY_DEPEND_RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+"
+
+DEPEND="
+ ${MY_DEPEND_RDEPEND}
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
+ "${FILESDIR}/log-to-tmpdir.patch"
+ "${FILESDIR}/search-duke3d-path.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_test() {
+ # There are no tests
+ # Instead it tries to build a test game, which does not compile
+ :;
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+ if use hrp; then
+ doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ fi
+ if use offensive; then
+ doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ fi
+ if use opl; then
+ doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ fi
+ if use psx; then
+ doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ fi
+ if use sc-55; then
+ doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ fi
+ if use sdk; then
+ doins -r package/sdk
+ fi
+ if use voxels; then
+ doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+ fi
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ if use hrp; then
+ DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ fi
+ if use offensive; then
+ DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ fi
+ if use opl; then
+ DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ fi
+ if use sc-55; then
+ DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ fi
+ if use voxels; then
+ DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+ fi
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-07-21 21:36 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-07-21 21:36 UTC (permalink / raw
To: gentoo-commits
commit: 63b1cbaf6e9817fe9bd6fb90d1a9cc44c415a573
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sun Jul 21 20:57:57 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 21:34:22 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63b1cbaf
games-fps/eduke32: drop old version
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20190419.7615.ebuild | 247 -------------------------
2 files changed, 248 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index dcf42b87ca2..69c29e66b09 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20190419-7615.tar.xz 14740500 BLAKE2B 462a93789c0c096f85f889769ca3bf642c33cd997e1b2cfb821060aa2dbd0040b0dbd910d33da09e2be8b6610d62fbb06fed2dd62aeaa619fa23c17b6a538feb SHA512 ca496c0f6478cb246e0746de1ecf171e46762d65fdb6906c8174f610b8f52362d84c48e0f4095fe00a41e4c73cbb7298ec3446d4bc0be68ed0f9a52a768183fe
DIST eduke32_src_20190719-7814.tar.xz 14751836 BLAKE2B 95017d0fbb4a3d4db3bb64657671bad58f368af5f4c1d52cfc805d99bbfc77019dfc372d3aa82e9c216a783a41993d6c8e539b2861b72604c0397cfc52f046c4 SHA512 cf8783e36b73ee76ba7c824d9322a64b87ae48ddb7002e3e4b61120c03c03a03bb0205f790483421c5992e536adee0be1c497cd7aa8357fa0aa518f50a4ba861
diff --git a/games-fps/eduke32/eduke32-20190419.7615.ebuild b/games-fps/eduke32/eduke32-20190419.7615.ebuild
deleted file mode 100644
index d70f5ef8c30..00000000000
--- a/games-fps/eduke32/eduke32-20190419.7615.ebuild
+++ /dev/null
@@ -1,247 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-MY_DEPEND_RDEPEND="
- media-libs/libsdl2[joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib:=
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? ( virtual/glu
- virtual/opengl )
- png? ( media-libs/libpng:0= )
- timidity? ( media-sound/timidity-freepats )
- vpx? ( media-libs/libvpx:= )
- vorbis? ( media-libs/libogg
- media-libs/libvorbis )
- xmp? ( media-libs/exempi:= )
-"
-
-RDEPEND="
- ${MY_DEPEND_RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
-"
-
-DEPEND="
- ${MY_DEPEND_RDEPEND}
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PATCHES=(
- "${FILESDIR}/${P}-wad2map-buildfix.patch"
- "${FILESDIR}/log-to-tmpdir.patch"
- "${FILESDIR}/search-duke3d-path.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_test() {
- # There are no tests
- # Instead it tries to build a test game, which does not compile
- :;
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
- if use hrp; then
- doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- fi
- if use offensive; then
- doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- fi
- if use opl; then
- doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- fi
- if use psx; then
- doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- fi
- if use sc-55; then
- doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- fi
- if use sdk; then
- doins -r package/sdk
- fi
- if use voxels; then
- doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
- fi
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- if use hrp; then
- DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- fi
- if use offensive; then
- DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- fi
- if use opl; then
- DOCS+=( "${WORKDIR}"/opl_readme.txt )
- fi
- if use sc-55; then
- DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- fi
- if use voxels; then
- DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
- fi
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-08-24 19:51 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-08-24 19:51 UTC (permalink / raw
To: gentoo-commits
commit: 0bffd23aa80aea97a4151e5ebd5fe732cac4470b
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sat Aug 24 18:21:27 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Aug 24 19:49:41 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bffd23a
games-fps/eduke32: bump to version 20190820.8043
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/12786
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20190820.8043.ebuild | 247 +++++++++++++++++++++++++
2 files changed, 248 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 69c29e66b09..f657e6c60f3 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20190719-7814.tar.xz 14751836 BLAKE2B 95017d0fbb4a3d4db3bb64657671bad58f368af5f4c1d52cfc805d99bbfc77019dfc372d3aa82e9c216a783a41993d6c8e539b2861b72604c0397cfc52f046c4 SHA512 cf8783e36b73ee76ba7c824d9322a64b87ae48ddb7002e3e4b61120c03c03a03bb0205f790483421c5992e536adee0be1c497cd7aa8357fa0aa518f50a4ba861
+DIST eduke32_src_20190820-8043.tar.xz 15922344 BLAKE2B 5414087f8c88c04438b2db5f5323bf82853353f05e00481be596de0e6c981bd651d53515f674d8c128865aba79d6d62a530e3346d215fc67caa36e8afb10c22e SHA512 5bfb6134acbb33e3c4c702306dfe2b005766910efe78b38e9ab1aa3221ccccf6b1e97ddc193222f25b8cd8b23a0f6fd6e13a4b4ae48589e24d8a0de958b5616a
diff --git a/games-fps/eduke32/eduke32-20190820.8043.ebuild b/games-fps/eduke32/eduke32-20190820.8043.ebuild
new file mode 100644
index 00000000000..196f0653f81
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20190820.8043.ebuild
@@ -0,0 +1,247 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+MY_DEPEND_RDEPEND="
+ media-libs/libsdl2[joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib:=
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? ( virtual/glu
+ virtual/opengl )
+ png? ( media-libs/libpng:0= )
+ timidity? ( media-sound/timidity-freepats )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? ( media-libs/libogg
+ media-libs/libvorbis )
+ xmp? ( media-libs/exempi:= )
+"
+
+RDEPEND="
+ ${MY_DEPEND_RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+"
+
+DEPEND="
+ ${MY_DEPEND_RDEPEND}
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
+ "${FILESDIR}/log-to-tmpdir.patch"
+ "${FILESDIR}/search-duke3d-path.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_test() {
+ # There are no tests
+ # Instead it tries to build a test game, which does not compile
+ :;
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+ if use hrp; then
+ doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ fi
+ if use offensive; then
+ doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ fi
+ if use opl; then
+ doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ fi
+ if use psx; then
+ doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ fi
+ if use sc-55; then
+ doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ fi
+ if use sdk; then
+ doins -r package/sdk
+ fi
+ if use voxels; then
+ doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+ fi
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ if use hrp; then
+ DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ fi
+ if use offensive; then
+ DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ fi
+ if use opl; then
+ DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ fi
+ if use sc-55; then
+ DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ fi
+ if use voxels; then
+ DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+ fi
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-08-24 19:51 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-08-24 19:51 UTC (permalink / raw
To: gentoo-commits
commit: b1a507081f9ff4a064aa6c045d8c683eca008416
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sat Aug 24 18:22:32 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Aug 24 19:49:44 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a50708
games-fps/eduke32: drop old version
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20190719.7814.ebuild | 247 -------------------------
2 files changed, 248 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index f657e6c60f3..bf6c57bf1e0 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20190719-7814.tar.xz 14751836 BLAKE2B 95017d0fbb4a3d4db3bb64657671bad58f368af5f4c1d52cfc805d99bbfc77019dfc372d3aa82e9c216a783a41993d6c8e539b2861b72604c0397cfc52f046c4 SHA512 cf8783e36b73ee76ba7c824d9322a64b87ae48ddb7002e3e4b61120c03c03a03bb0205f790483421c5992e536adee0be1c497cd7aa8357fa0aa518f50a4ba861
DIST eduke32_src_20190820-8043.tar.xz 15922344 BLAKE2B 5414087f8c88c04438b2db5f5323bf82853353f05e00481be596de0e6c981bd651d53515f674d8c128865aba79d6d62a530e3346d215fc67caa36e8afb10c22e SHA512 5bfb6134acbb33e3c4c702306dfe2b005766910efe78b38e9ab1aa3221ccccf6b1e97ddc193222f25b8cd8b23a0f6fd6e13a4b4ae48589e24d8a0de958b5616a
diff --git a/games-fps/eduke32/eduke32-20190719.7814.ebuild b/games-fps/eduke32/eduke32-20190719.7814.ebuild
deleted file mode 100644
index 196f0653f81..00000000000
--- a/games-fps/eduke32/eduke32-20190719.7814.ebuild
+++ /dev/null
@@ -1,247 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-MY_DEPEND_RDEPEND="
- media-libs/libsdl2[joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib:=
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? ( virtual/glu
- virtual/opengl )
- png? ( media-libs/libpng:0= )
- timidity? ( media-sound/timidity-freepats )
- vpx? ( media-libs/libvpx:= )
- vorbis? ( media-libs/libogg
- media-libs/libvorbis )
- xmp? ( media-libs/exempi:= )
-"
-
-RDEPEND="
- ${MY_DEPEND_RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
-"
-
-DEPEND="
- ${MY_DEPEND_RDEPEND}
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
- "${FILESDIR}/log-to-tmpdir.patch"
- "${FILESDIR}/search-duke3d-path.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_test() {
- # There are no tests
- # Instead it tries to build a test game, which does not compile
- :;
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
- if use hrp; then
- doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- fi
- if use offensive; then
- doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- fi
- if use opl; then
- doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- fi
- if use psx; then
- doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- fi
- if use sc-55; then
- doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- fi
- if use sdk; then
- doins -r package/sdk
- fi
- if use voxels; then
- doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
- fi
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- if use hrp; then
- DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- fi
- if use offensive; then
- DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- fi
- if use opl; then
- DOCS+=( "${WORKDIR}"/opl_readme.txt )
- fi
- if use sc-55; then
- DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- fi
- if use voxels; then
- DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
- fi
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-09-19 21:32 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-09-19 21:32 UTC (permalink / raw
To: gentoo-commits
commit: 45503058c1120d4f5f103d712d969884cc0d8ca6
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Tue Sep 17 16:57:40 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Sep 19 21:15:03 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45503058
games-fps/eduke32: bump to version 20190917.8123
Closes: https://bugs.gentoo.org/694948
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20190917.8123.ebuild | 249 +++++++++++++++++++++++++
2 files changed, 250 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index bf6c57bf1e0..e98ea56f346 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20190820-8043.tar.xz 15922344 BLAKE2B 5414087f8c88c04438b2db5f5323bf82853353f05e00481be596de0e6c981bd651d53515f674d8c128865aba79d6d62a530e3346d215fc67caa36e8afb10c22e SHA512 5bfb6134acbb33e3c4c702306dfe2b005766910efe78b38e9ab1aa3221ccccf6b1e97ddc193222f25b8cd8b23a0f6fd6e13a4b4ae48589e24d8a0de958b5616a
+DIST eduke32_src_20190917-8123.tar.xz 15938200 BLAKE2B c9a698a7cb774f1b36042c91f3db6d888ec9fdcd5e745aa4a628d5d0da7e5fc7034b5f6fd268e669a8ed664d1aa0660fe26a92553998ab30f191c2e7c0e4ea42 SHA512 cb9ee5cd96086aafa0c1c4b6559032fbd99a526db369131ffe4c818d58be1873f68bc1d0c20b6e8dfe98989dbf07445ec65d0e87da6ead011f11d4c987fe011a
diff --git a/games-fps/eduke32/eduke32-20190917.8123.ebuild b/games-fps/eduke32/eduke32-20190917.8123.ebuild
new file mode 100644
index 00000000000..9f6671ee5f8
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20190917.8123.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+RESTRICT="bindist"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+MY_DEPEND_RDEPEND="
+ media-libs/libsdl2[joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib:=
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? ( virtual/glu
+ virtual/opengl )
+ png? ( media-libs/libpng:0= )
+ timidity? ( media-sound/timidity-freepats )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? ( media-libs/libogg
+ media-libs/libvorbis )
+ xmp? ( media-libs/exempi:= )
+"
+
+RDEPEND="
+ ${MY_DEPEND_RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+"
+
+DEPEND="
+ ${MY_DEPEND_RDEPEND}
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_test() {
+ # There are no tests
+ # Instead it tries to build a test game, which does not compile
+ :;
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+ if use hrp; then
+ doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ fi
+ if use offensive; then
+ doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ fi
+ if use opl; then
+ doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ fi
+ if use psx; then
+ doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ fi
+ if use sc-55; then
+ doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ fi
+ if use sdk; then
+ doins -r package/sdk
+ fi
+ if use voxels; then
+ doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+ fi
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ if use hrp; then
+ DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ fi
+ if use offensive; then
+ DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ fi
+ if use opl; then
+ DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ fi
+ if use sc-55; then
+ DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ fi
+ if use voxels; then
+ DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+ fi
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-09-19 21:32 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-09-19 21:32 UTC (permalink / raw
To: gentoo-commits
commit: d24adca32514b0d5de6903138753438f388798b5
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Tue Sep 17 16:58:18 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Sep 19 21:15:06 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d24adca3
games-fps/eduke32: drop old version
Closes: https://bugs.gentoo.org/694636
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20190820.8043.ebuild | 247 -------------------------
2 files changed, 248 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index e98ea56f346..e2ad6c360fb 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20190820-8043.tar.xz 15922344 BLAKE2B 5414087f8c88c04438b2db5f5323bf82853353f05e00481be596de0e6c981bd651d53515f674d8c128865aba79d6d62a530e3346d215fc67caa36e8afb10c22e SHA512 5bfb6134acbb33e3c4c702306dfe2b005766910efe78b38e9ab1aa3221ccccf6b1e97ddc193222f25b8cd8b23a0f6fd6e13a4b4ae48589e24d8a0de958b5616a
DIST eduke32_src_20190917-8123.tar.xz 15938200 BLAKE2B c9a698a7cb774f1b36042c91f3db6d888ec9fdcd5e745aa4a628d5d0da7e5fc7034b5f6fd268e669a8ed664d1aa0660fe26a92553998ab30f191c2e7c0e4ea42 SHA512 cb9ee5cd96086aafa0c1c4b6559032fbd99a526db369131ffe4c818d58be1873f68bc1d0c20b6e8dfe98989dbf07445ec65d0e87da6ead011f11d4c987fe011a
diff --git a/games-fps/eduke32/eduke32-20190820.8043.ebuild b/games-fps/eduke32/eduke32-20190820.8043.ebuild
deleted file mode 100644
index 9f03ea77a4e..00000000000
--- a/games-fps/eduke32/eduke32-20190820.8043.ebuild
+++ /dev/null
@@ -1,247 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-MY_DEPEND_RDEPEND="
- media-libs/libsdl2[joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib:=
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? ( virtual/glu
- virtual/opengl )
- png? ( media-libs/libpng:0= )
- timidity? ( media-sound/timidity-freepats )
- vpx? ( media-libs/libvpx:= )
- vorbis? ( media-libs/libogg
- media-libs/libvorbis )
- xmp? ( media-libs/exempi:= )
-"
-
-RDEPEND="
- ${MY_DEPEND_RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
-"
-
-DEPEND="
- ${MY_DEPEND_RDEPEND}
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_test() {
- # There are no tests
- # Instead it tries to build a test game, which does not compile
- :;
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
- if use hrp; then
- doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- fi
- if use offensive; then
- doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- fi
- if use opl; then
- doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- fi
- if use psx; then
- doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- fi
- if use sc-55; then
- doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- fi
- if use sdk; then
- doins -r package/sdk
- fi
- if use voxels; then
- doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
- fi
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- if use hrp; then
- DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- fi
- if use offensive; then
- DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- fi
- if use opl; then
- DOCS+=( "${WORKDIR}"/opl_readme.txt )
- fi
- if use sc-55; then
- DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- fi
- if use voxels; then
- DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
- fi
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-10-08 22:47 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-10-08 22:47 UTC (permalink / raw
To: gentoo-commits
commit: 283552dcff940ee240a37dcb1341d4833a546e8a
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sat Oct 5 10:46:49 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Oct 8 22:41:47 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=283552dc
games-fps/eduke32: drop old version
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20190917.8123.ebuild | 249 -------------------------
2 files changed, 250 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index c79204632a5..aa61ab6ed15 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20190917-8123.tar.xz 15938200 BLAKE2B c9a698a7cb774f1b36042c91f3db6d888ec9fdcd5e745aa4a628d5d0da7e5fc7034b5f6fd268e669a8ed664d1aa0660fe26a92553998ab30f191c2e7c0e4ea42 SHA512 cb9ee5cd96086aafa0c1c4b6559032fbd99a526db369131ffe4c818d58be1873f68bc1d0c20b6e8dfe98989dbf07445ec65d0e87da6ead011f11d4c987fe011a
DIST eduke32_src_20190919-8133.tar.xz 15940944 BLAKE2B 8c00579694d068c8a433a4d124dfd84249671ad71fa3fc23ef64fb5a9a63c2f7abb662fd017a1c72bd9a62171e93aea57dbdbd257970c9a96f436e090c2eb18c SHA512 4e4cd724d2852335b205be970f17a60062f3eeffc76923bed362a685357082b4f328a76f8a7d2a7b98e039f25f32bc5b0a1178ceb84c7d52206384bf1a06c976
diff --git a/games-fps/eduke32/eduke32-20190917.8123.ebuild b/games-fps/eduke32/eduke32-20190917.8123.ebuild
deleted file mode 100644
index 9f6671ee5f8..00000000000
--- a/games-fps/eduke32/eduke32-20190917.8123.ebuild
+++ /dev/null
@@ -1,249 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-RESTRICT="bindist"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-MY_DEPEND_RDEPEND="
- media-libs/libsdl2[joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib:=
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? ( virtual/glu
- virtual/opengl )
- png? ( media-libs/libpng:0= )
- timidity? ( media-sound/timidity-freepats )
- vpx? ( media-libs/libvpx:= )
- vorbis? ( media-libs/libogg
- media-libs/libvorbis )
- xmp? ( media-libs/exempi:= )
-"
-
-RDEPEND="
- ${MY_DEPEND_RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
-"
-
-DEPEND="
- ${MY_DEPEND_RDEPEND}
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_test() {
- # There are no tests
- # Instead it tries to build a test game, which does not compile
- :;
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
- if use hrp; then
- doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- fi
- if use offensive; then
- doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- fi
- if use opl; then
- doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- fi
- if use psx; then
- doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- fi
- if use sc-55; then
- doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- fi
- if use sdk; then
- doins -r package/sdk
- fi
- if use voxels; then
- doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
- fi
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- if use hrp; then
- DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- fi
- if use offensive; then
- DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- fi
- if use opl; then
- DOCS+=( "${WORKDIR}"/opl_readme.txt )
- fi
- if use sc-55; then
- DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- fi
- if use voxels; then
- DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
- fi
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-10-08 22:47 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-10-08 22:47 UTC (permalink / raw
To: gentoo-commits
commit: 55cb3368010cab5910df4199722e4799293cffc9
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Sat Oct 5 10:46:08 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Oct 8 22:41:43 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55cb3368
games-fps/eduke32: bump to version 20190919.8133
Closes: https://bugs.gentoo.org/696448
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/13152
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20190919.8133.ebuild | 256 +++++++++++++++++++++++++
2 files changed, 257 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index e2ad6c360fb..c79204632a5 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20190917-8123.tar.xz 15938200 BLAKE2B c9a698a7cb774f1b36042c91f3db6d888ec9fdcd5e745aa4a628d5d0da7e5fc7034b5f6fd268e669a8ed664d1aa0660fe26a92553998ab30f191c2e7c0e4ea42 SHA512 cb9ee5cd96086aafa0c1c4b6559032fbd99a526db369131ffe4c818d58be1873f68bc1d0c20b6e8dfe98989dbf07445ec65d0e87da6ead011f11d4c987fe011a
+DIST eduke32_src_20190919-8133.tar.xz 15940944 BLAKE2B 8c00579694d068c8a433a4d124dfd84249671ad71fa3fc23ef64fb5a9a63c2f7abb662fd017a1c72bd9a62171e93aea57dbdbd257970c9a96f436e090c2eb18c SHA512 4e4cd724d2852335b205be970f17a60062f3eeffc76923bed362a685357082b4f328a76f8a7d2a7b98e039f25f32bc5b0a1178ceb84c7d52206384bf1a06c976
diff --git a/games-fps/eduke32/eduke32-20190919.8133.ebuild b/games-fps/eduke32/eduke32-20190919.8133.ebuild
new file mode 100644
index 00000000000..077270c51ba
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20190919.8133.ebuild
@@ -0,0 +1,256 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+RESTRICT="bindist"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+MY_DEPEND_RDEPEND="
+ media-libs/libsdl2[joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib:=
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ timidity? ( media-sound/timidity-freepats )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ xmp? ( media-libs/exempi:= )
+"
+
+RDEPEND="
+ ${MY_DEPEND_RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+"
+
+DEPEND="
+ ${MY_DEPEND_RDEPEND}
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_test() {
+ # There are no tests
+ # Instead it tries to build a test game, which does not compile
+ :;
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ if use hrp; then
+ doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ fi
+ if use offensive; then
+ doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ fi
+ if use opl; then
+ doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ fi
+ if use psx; then
+ doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ fi
+ if use sc-55; then
+ doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ fi
+ if use sdk; then
+ doins -r package/sdk
+ fi
+ if use voxels; then
+ doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+ fi
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+
+ if use hrp; then
+ DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ fi
+ if use offensive; then
+ DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ fi
+ if use opl; then
+ DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ fi
+ if use sc-55; then
+ DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ fi
+ if use voxels; then
+ DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+ fi
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-10-16 21:54 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-10-16 21:54 UTC (permalink / raw
To: gentoo-commits
commit: 8266b6974628391b4f1c8bbc6acc48525f6cb185
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 16 21:54:18 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Oct 16 21:54:18 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8266b697
games-fps/eduke32: Drop old 20190919.8133
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/eduke32-20190919.8133.ebuild | 256 -------------------------
1 file changed, 256 deletions(-)
diff --git a/games-fps/eduke32/eduke32-20190919.8133.ebuild b/games-fps/eduke32/eduke32-20190919.8133.ebuild
deleted file mode 100644
index 077270c51ba..00000000000
--- a/games-fps/eduke32/eduke32-20190919.8133.ebuild
+++ /dev/null
@@ -1,256 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-RESTRICT="bindist"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-MY_DEPEND_RDEPEND="
- media-libs/libsdl2[joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib:=
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- timidity? ( media-sound/timidity-freepats )
- vpx? ( media-libs/libvpx:= )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
- xmp? ( media-libs/exempi:= )
-"
-
-RDEPEND="
- ${MY_DEPEND_RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
-"
-
-DEPEND="
- ${MY_DEPEND_RDEPEND}
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_test() {
- # There are no tests
- # Instead it tries to build a test game, which does not compile
- :;
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- if use hrp; then
- doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- fi
- if use offensive; then
- doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- fi
- if use opl; then
- doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- fi
- if use psx; then
- doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- fi
- if use sc-55; then
- doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- fi
- if use sdk; then
- doins -r package/sdk
- fi
- if use voxels; then
- doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
- fi
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
-
- if use hrp; then
- DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- fi
- if use offensive; then
- DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- fi
- if use opl; then
- DOCS+=( "${WORKDIR}"/opl_readme.txt )
- fi
- if use sc-55; then
- DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- fi
- if use voxels; then
- DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
- fi
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-10-16 21:54 James Le Cuirot
0 siblings, 0 replies; 98+ messages in thread
From: James Le Cuirot @ 2019-10-16 21:54 UTC (permalink / raw
To: gentoo-commits
commit: 3c1315cd32bf21526dec379e956b5e7df705a366
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Wed Oct 16 08:00:44 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Oct 16 21:53:06 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c1315cd
games-fps/eduke32: fix timidity deps
Instead of depending on a specific timidity patchset,
the deps should be changed to depend on timidity itself,
as it already depends on all patchsets.
Closes: https://bugs.gentoo.org/697808
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/13316
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-fps/eduke32/eduke32-20190919.8133-r1.ebuild | 255 ++++++++++++++++++++++
1 file changed, 255 insertions(+)
diff --git a/games-fps/eduke32/eduke32-20190919.8133-r1.ebuild b/games-fps/eduke32/eduke32-20190919.8133-r1.ebuild
new file mode 100644
index 00000000000..bfa718b76cc
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20190919.8133-r1.ebuild
@@ -0,0 +1,255 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+RESTRICT="bindist"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+RDEPEND="
+ media-libs/libsdl2[joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib:=
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ xmp? ( media-libs/exempi:= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_test() {
+ # There are no tests
+ # Instead it tries to build a test game, which does not compile
+ :;
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ if use hrp; then
+ doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ fi
+ if use offensive; then
+ doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ fi
+ if use opl; then
+ doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ fi
+ if use psx; then
+ doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ fi
+ if use sc-55; then
+ doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ fi
+ if use sdk; then
+ doins -r package/sdk
+ fi
+ if use voxels; then
+ doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+ fi
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+
+ if use hrp; then
+ DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ fi
+ if use offensive; then
+ DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ fi
+ if use opl; then
+ DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ fi
+ if use sc-55; then
+ DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ fi
+ if use voxels; then
+ DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+ fi
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-12-05 21:47 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2019-12-05 21:47 UTC (permalink / raw
To: gentoo-commits
commit: 4d71d25c6eb6eee1863128157e94f4e09e1c12de
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 5 20:30:58 2019 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Dec 5 21:46:06 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d71d25c
games-fps/eduke32: drop old version
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20190919.8133-r1.ebuild | 255 ----------------------
2 files changed, 256 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 78bb8d5274b..408d0566ad1 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20190919-8133.tar.xz 15940944 BLAKE2B 8c00579694d068c8a433a4d124dfd84249671ad71fa3fc23ef64fb5a9a63c2f7abb662fd017a1c72bd9a62171e93aea57dbdbd257970c9a96f436e090c2eb18c SHA512 4e4cd724d2852335b205be970f17a60062f3eeffc76923bed362a685357082b4f328a76f8a7d2a7b98e039f25f32bc5b0a1178ceb84c7d52206384bf1a06c976
DIST eduke32_src_20191204-8360.tar.xz 15945040 BLAKE2B d9f422d97609f4999c6601e050a900f9042f23c7e0bdfb31d3426c7ede4daa6ba5bac2cb0cd63b0f3b4ed956167ab267ca750ced1f25914938e2aea6bea0ffb3 SHA512 b7d0c6522571f59fcc057af2680b3a7536bd6176aa946e72cc5a58763fb79c3ca718868fc7e3658b319901e09078e1b4e79d9e7fa94aca81aa616b943c644dc6
diff --git a/games-fps/eduke32/eduke32-20190919.8133-r1.ebuild b/games-fps/eduke32/eduke32-20190919.8133-r1.ebuild
deleted file mode 100644
index bfa718b76cc..00000000000
--- a/games-fps/eduke32/eduke32-20190919.8133-r1.ebuild
+++ /dev/null
@@ -1,255 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( http://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-RESTRICT="bindist"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-RDEPEND="
- media-libs/libsdl2[joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib:=
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
- xmp? ( media-libs/exempi:= )
-"
-
-DEPEND="
- ${RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_test() {
- # There are no tests
- # Instead it tries to build a test game, which does not compile
- :;
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- if use hrp; then
- doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- fi
- if use offensive; then
- doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- fi
- if use opl; then
- doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- fi
- if use psx; then
- doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- fi
- if use sc-55; then
- doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- fi
- if use sdk; then
- doins -r package/sdk
- fi
- if use voxels; then
- doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
- fi
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
-
- if use hrp; then
- DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- fi
- if use offensive; then
- DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- fi
- if use opl; then
- DOCS+=( "${WORKDIR}"/opl_readme.txt )
- fi
- if use sc-55; then
- DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- fi
- if use voxels; then
- DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
- fi
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-12-05 21:47 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2019-12-05 21:47 UTC (permalink / raw
To: gentoo-commits
commit: 2411165a8cebddf173e21fcc8e0210d704fe15be
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 5 20:30:12 2019 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Dec 5 21:46:05 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2411165a
games-fps/eduke32: bump to version 20191204.8360
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20191204.8360.ebuild | 229 +++++++++++++++++++++++++
2 files changed, 230 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index aa61ab6ed15..78bb8d5274b 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20190919-8133.tar.xz 15940944 BLAKE2B 8c00579694d068c8a433a4d124dfd84249671ad71fa3fc23ef64fb5a9a63c2f7abb662fd017a1c72bd9a62171e93aea57dbdbd257970c9a96f436e090c2eb18c SHA512 4e4cd724d2852335b205be970f17a60062f3eeffc76923bed362a685357082b4f328a76f8a7d2a7b98e039f25f32bc5b0a1178ceb84c7d52206384bf1a06c976
+DIST eduke32_src_20191204-8360.tar.xz 15945040 BLAKE2B d9f422d97609f4999c6601e050a900f9042f23c7e0bdfb31d3426c7ede4daa6ba5bac2cb0cd63b0f3b4ed956167ab267ca750ced1f25914938e2aea6bea0ffb3 SHA512 b7d0c6522571f59fcc057af2680b3a7536bd6176aa946e72cc5a58763fb79c3ca718868fc7e3658b319901e09078e1b4e79d9e7fa94aca81aa616b943c644dc6
diff --git a/games-fps/eduke32/eduke32-20191204.8360.ebuild b/games-fps/eduke32/eduke32-20191204.8360.ebuild
new file mode 100644
index 00000000000..421ae835da1
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20191204.8360.ebuild
@@ -0,0 +1,229 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ https://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+RESTRICT="bindist"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+RDEPEND="
+ media-libs/libsdl2[joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_test() {
+ # There are no tests
+ # Instead it tries to build a test game, which does not compile
+ :;
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2019-12-07 1:34 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2019-12-07 1:34 UTC (permalink / raw
To: gentoo-commits
commit: 9d444972d47ed020d3923d33e80006cb51be2723
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 7 00:19:38 2019 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Dec 7 01:27:30 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d444972
games-fps/eduke32: restrict tests
Instead of running empty tests, restrict them.
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/eduke32-20191204.8360.ebuild | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/games-fps/eduke32/eduke32-20191204.8360.ebuild b/games-fps/eduke32/eduke32-20191204.8360.ebuild
index 421ae835da1..58283d8826c 100644
--- a/games-fps/eduke32/eduke32-20191204.8360.ebuild
+++ b/games-fps/eduke32/eduke32-20191204.8360.ebuild
@@ -46,7 +46,9 @@ REQUIRED_USE="
vpx? ( opengl )
"
-RESTRICT="bindist"
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
@@ -161,12 +163,6 @@ src_compile() {
fi
}
-src_test() {
- # There are no tests
- # Instead it tries to build a test game, which does not compile
- :;
-}
-
src_install() {
dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-02-04 18:09 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-02-04 18:09 UTC (permalink / raw
To: gentoo-commits
commit: 7418eb01db411d157b7dd1b6190c92b9aaf6bfda
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 4 16:52:50 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Feb 4 17:48:26 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7418eb01
games-fps/eduke32: bump to version 20200201.8603
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20200201.8603.ebuild | 225 +++++++++++++++++++++++++
2 files changed, 226 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 408d0566ad1..5b8f5781e61 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20191204-8360.tar.xz 15945040 BLAKE2B d9f422d97609f4999c6601e050a900f9042f23c7e0bdfb31d3426c7ede4daa6ba5bac2cb0cd63b0f3b4ed956167ab267ca750ced1f25914938e2aea6bea0ffb3 SHA512 b7d0c6522571f59fcc057af2680b3a7536bd6176aa946e72cc5a58763fb79c3ca718868fc7e3658b319901e09078e1b4e79d9e7fa94aca81aa616b943c644dc6
+DIST eduke32_src_20200201-8603.tar.xz 16390468 BLAKE2B 9112aeb7f5940f962c67c18b32a5a2b23053249468b415cf387bd789d311e0b5b412eea3b6197c8c425dc88e6292aa82ffe76eec222b1bff42a4d6f67e6dadb6 SHA512 a882c178201a21968ff86108ec0a393b40eb712e57d4fa172fea97ad2a6135fe970240395c985d7ebf68ce9794671ec0031a6651cb52c256c5123527122cded2
diff --git a/games-fps/eduke32/eduke32-20200201.8603.ebuild b/games-fps/eduke32/eduke32-20200201.8603.ebuild
new file mode 100644
index 00000000000..24c4a39ab66
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20200201.8603.ebuild
@@ -0,0 +1,225 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ https://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+RDEPEND="
+ media-libs/libsdl2[joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-02-04 18:09 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-02-04 18:09 UTC (permalink / raw
To: gentoo-commits
commit: d06956425634132ee84fb25f483625e170798767
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 4 16:53:21 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Feb 4 17:48:27 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0695642
games-fps/eduke32: drop old version
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20191204.8360.ebuild | 225 -------------------------
2 files changed, 226 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 5b8f5781e61..5559eab7da9 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20191204-8360.tar.xz 15945040 BLAKE2B d9f422d97609f4999c6601e050a900f9042f23c7e0bdfb31d3426c7ede4daa6ba5bac2cb0cd63b0f3b4ed956167ab267ca750ced1f25914938e2aea6bea0ffb3 SHA512 b7d0c6522571f59fcc057af2680b3a7536bd6176aa946e72cc5a58763fb79c3ca718868fc7e3658b319901e09078e1b4e79d9e7fa94aca81aa616b943c644dc6
DIST eduke32_src_20200201-8603.tar.xz 16390468 BLAKE2B 9112aeb7f5940f962c67c18b32a5a2b23053249468b415cf387bd789d311e0b5b412eea3b6197c8c425dc88e6292aa82ffe76eec222b1bff42a4d6f67e6dadb6 SHA512 a882c178201a21968ff86108ec0a393b40eb712e57d4fa172fea97ad2a6135fe970240395c985d7ebf68ce9794671ec0031a6651cb52c256c5123527122cded2
diff --git a/games-fps/eduke32/eduke32-20191204.8360.ebuild b/games-fps/eduke32/eduke32-20191204.8360.ebuild
deleted file mode 100644
index 58283d8826c..00000000000
--- a/games-fps/eduke32/eduke32-20191204.8360.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- https://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-RDEPEND="
- media-libs/libsdl2[joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-03-12 22:48 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-03-12 22:48 UTC (permalink / raw
To: gentoo-commits
commit: bb92e66ecd182ad852f44cc79cfc3bbda928d844
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 12 22:18:06 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Mar 12 22:46:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb92e66e
games-fps/eduke32: drop old version
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20200201.8603.ebuild | 225 -------------------------
2 files changed, 226 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 539ad65d397..e3b18589c12 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20200201-8603.tar.xz 16390468 BLAKE2B 9112aeb7f5940f962c67c18b32a5a2b23053249468b415cf387bd789d311e0b5b412eea3b6197c8c425dc88e6292aa82ffe76eec222b1bff42a4d6f67e6dadb6 SHA512 a882c178201a21968ff86108ec0a393b40eb712e57d4fa172fea97ad2a6135fe970240395c985d7ebf68ce9794671ec0031a6651cb52c256c5123527122cded2
DIST eduke32_src_20200311-8738.tar.xz 16544548 BLAKE2B 6f05a6384b4837dc5d4738cef83c4faace2233bf7bde7420d1e00fac45dbdfbd8f7da4b3702205fda914a853790fb0f730b564ae779bce29174337abb1e750fd SHA512 40b69472692bea703d6d6f911a8bff8d18f9fda1e19427ba23572d76717efbe2d13a023622cbfe86bcf9c30966e2fb5e3fe52baac8178587acb2aa092dd86617
diff --git a/games-fps/eduke32/eduke32-20200201.8603.ebuild b/games-fps/eduke32/eduke32-20200201.8603.ebuild
deleted file mode 100644
index 24c4a39ab66..00000000000
--- a/games-fps/eduke32/eduke32-20200201.8603.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- https://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-RDEPEND="
- media-libs/libsdl2[joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-03-12 22:48 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-03-12 22:48 UTC (permalink / raw
To: gentoo-commits
commit: 9d893e907085bb99ccb1f7f5dfdd95a6bcde007f
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 12 22:17:36 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Mar 12 22:46:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d893e90
games-fps/eduke32: bump to version 20200311.8738
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20200311.8738.ebuild | 225 +++++++++++++++++++++++++
2 files changed, 226 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 5559eab7da9..539ad65d397 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20200201-8603.tar.xz 16390468 BLAKE2B 9112aeb7f5940f962c67c18b32a5a2b23053249468b415cf387bd789d311e0b5b412eea3b6197c8c425dc88e6292aa82ffe76eec222b1bff42a4d6f67e6dadb6 SHA512 a882c178201a21968ff86108ec0a393b40eb712e57d4fa172fea97ad2a6135fe970240395c985d7ebf68ce9794671ec0031a6651cb52c256c5123527122cded2
+DIST eduke32_src_20200311-8738.tar.xz 16544548 BLAKE2B 6f05a6384b4837dc5d4738cef83c4faace2233bf7bde7420d1e00fac45dbdfbd8f7da4b3702205fda914a853790fb0f730b564ae779bce29174337abb1e750fd SHA512 40b69472692bea703d6d6f911a8bff8d18f9fda1e19427ba23572d76717efbe2d13a023622cbfe86bcf9c30966e2fb5e3fe52baac8178587acb2aa092dd86617
diff --git a/games-fps/eduke32/eduke32-20200311.8738.ebuild b/games-fps/eduke32/eduke32-20200311.8738.ebuild
new file mode 100644
index 00000000000..24c4a39ab66
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20200311.8738.ebuild
@@ -0,0 +1,225 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ https://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
+
+RDEPEND="
+ media-libs/libsdl2[joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-03-20 21:53 Matt Turner
0 siblings, 0 replies; 98+ messages in thread
From: Matt Turner @ 2020-03-20 21:53 UTC (permalink / raw
To: gentoo-commits
commit: 8b5a8529c2e5729f87321483850d24e74802586e
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 20 21:47:51 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Fri Mar 20 21:52:46 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b5a8529
games-fps/eduke32: drop hppa keywords
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
games-fps/eduke32/eduke32-20200311.8738.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/eduke32/eduke32-20200311.8738.ebuild b/games-fps/eduke32/eduke32-20200311.8738.ebuild
index 24c4a39ab66..1b0613bf663 100644
--- a/games-fps/eduke32/eduke32-20200311.8738.ebuild
+++ b/games-fps/eduke32/eduke32-20200311.8738.ebuild
@@ -29,7 +29,7 @@ SRC_URI="
LICENSE="BUILDLIC GPL-2 HRP"
SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~x86"
IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
REQUIRED_USE="
cdinstall? ( !demo )
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-05-10 19:25 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-05-10 19:25 UTC (permalink / raw
To: gentoo-commits
commit: 7e59f87fb331f68b758bba2b53c93a2f56e45bdb
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun May 10 17:44:49 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun May 10 19:24:46 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e59f87f
games-fps/eduke32: drop old version
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20200311.8738.ebuild | 225 -------------------------
2 files changed, 226 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index f828baaa242..f0bb84c6b47 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20200311-8738.tar.xz 16544548 BLAKE2B 6f05a6384b4837dc5d4738cef83c4faace2233bf7bde7420d1e00fac45dbdfbd8f7da4b3702205fda914a853790fb0f730b564ae779bce29174337abb1e750fd SHA512 40b69472692bea703d6d6f911a8bff8d18f9fda1e19427ba23572d76717efbe2d13a023622cbfe86bcf9c30966e2fb5e3fe52baac8178587acb2aa092dd86617
DIST eduke32_src_20200505-8904-0b0e9923c.tar.xz 16569468 BLAKE2B 557a4547e13ff422dacf0885f8ddff8b62bb658bc63c2b70564b5f40cabaf55abd30103a28af474391cd3662641768bcec5f3338f882f82fc657cfa24a566436 SHA512 6b86b1fd16c0175c7dea1816e8d2b4f92f6d5a26c9f68bbbd5cf5ed7821524ef72ef646bc931d4d82773a33438f0de7a33b84429719e485f8cf05cd8ab92cb6b
diff --git a/games-fps/eduke32/eduke32-20200311.8738.ebuild b/games-fps/eduke32/eduke32-20200311.8738.ebuild
deleted file mode 100644
index 1b0613bf663..00000000000
--- a/games-fps/eduke32/eduke32-20200311.8738.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- https://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}/${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}"
-
-RDEPEND="
- media-libs/libsdl2[joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-05-10 19:25 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-05-10 19:25 UTC (permalink / raw
To: gentoo-commits
commit: 501e69769dda11d7a90396daeff3a878dad5f7fa
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun May 10 17:44:14 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun May 10 19:24:45 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=501e6976
games-fps/eduke32: bump to version 20200505.8904
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20200505.8904.ebuild | 226 +++++++++++++++++++++++++
2 files changed, 227 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index e3b18589c12..f828baaa242 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20200311-8738.tar.xz 16544548 BLAKE2B 6f05a6384b4837dc5d4738cef83c4faace2233bf7bde7420d1e00fac45dbdfbd8f7da4b3702205fda914a853790fb0f730b564ae779bce29174337abb1e750fd SHA512 40b69472692bea703d6d6f911a8bff8d18f9fda1e19427ba23572d76717efbe2d13a023622cbfe86bcf9c30966e2fb5e3fe52baac8178587acb2aa092dd86617
+DIST eduke32_src_20200505-8904-0b0e9923c.tar.xz 16569468 BLAKE2B 557a4547e13ff422dacf0885f8ddff8b62bb658bc63c2b70564b5f40cabaf55abd30103a28af474391cd3662641768bcec5f3338f882f82fc657cfa24a566436 SHA512 6b86b1fd16c0175c7dea1816e8d2b4f92f6d5a26c9f68bbbd5cf5ed7821524ef72ef646bc931d4d82773a33438f0de7a33b84429719e485f8cf05cd8ab92cb6b
diff --git a/games-fps/eduke32/eduke32-20200505.8904.ebuild b/games-fps/eduke32/eduke32-20200505.8904.ebuild
new file mode 100644
index 00000000000..c0662991c69
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20200505.8904.ebuild
@@ -0,0 +1,226 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="0b0e9923c"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ https://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/libsdl2[joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190419.7615-wad2map-buildfix.patch"
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt source/duke3d/src/lunatic/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-08-09 20:00 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-08-09 20:00 UTC (permalink / raw
To: gentoo-commits
commit: 072908659e0ec4ececfea82f3c5ae1e9e5c63f90
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 9 19:33:54 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Aug 9 20:00:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07290865
games-fps/eduke32: bump to version 20200808.9208
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20200808.9208.ebuild | 226 +++++++++++++++++++++++++
2 files changed, 227 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index f0bb84c6b47..d6f7b5e5323 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20200505-8904-0b0e9923c.tar.xz 16569468 BLAKE2B 557a4547e13ff422dacf0885f8ddff8b62bb658bc63c2b70564b5f40cabaf55abd30103a28af474391cd3662641768bcec5f3338f882f82fc657cfa24a566436 SHA512 6b86b1fd16c0175c7dea1816e8d2b4f92f6d5a26c9f68bbbd5cf5ed7821524ef72ef646bc931d4d82773a33438f0de7a33b84429719e485f8cf05cd8ab92cb6b
+DIST eduke32_src_20200808-9208-16a4d06be.tar.xz 19787360 BLAKE2B 3344a660fd5dec951e27e74a0680ba506692991c96438af53901bd5c090ca4c14be90db37ad4cc454c7f0dc2b7628a9bb9abce4e55c4dd9713a1fe90af28c53d SHA512 0b88ed5a0c3a5134aaabe9c30eb2d9a2a17c4833388788c4e1d3bf6bc76aa0edb3b6189c503f614894d480d25a27d498df11fb13ea64c465253a9b564c43b78c
diff --git a/games-fps/eduke32/eduke32-20200808.9208.ebuild b/games-fps/eduke32/eduke32-20200808.9208.ebuild
new file mode 100644
index 00000000000..e1fadcfdc49
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20200808.9208.ebuild
@@ -0,0 +1,226 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="16a4d06be"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ https://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/libsdl2[joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-08-25 21:59 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-08-25 21:59 UTC (permalink / raw
To: gentoo-commits
commit: 7782d585df80002934a49ac5ea5f1cff0a1e2c0d
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 25 21:23:51 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Aug 25 21:59:27 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7782d585
games-fps/eduke32: drop old version
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20200808.9208.ebuild | 226 -------------------------
2 files changed, 227 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index c601229281d..eafc8e5d065 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20200808-9208-16a4d06be.tar.xz 19787360 BLAKE2B 3344a660fd5dec951e27e74a0680ba506692991c96438af53901bd5c090ca4c14be90db37ad4cc454c7f0dc2b7628a9bb9abce4e55c4dd9713a1fe90af28c53d SHA512 0b88ed5a0c3a5134aaabe9c30eb2d9a2a17c4833388788c4e1d3bf6bc76aa0edb3b6189c503f614894d480d25a27d498df11fb13ea64c465253a9b564c43b78c
DIST eduke32_src_20200824-9249-16a4d06be.tar.xz 9192 BLAKE2B c1ef8bba924831e758aead56b8388f14e6366084a6f09e5781c442e926196a43b5339aee74590faac5985d397060546e67a5a7d5dc3e86646f93916eb7010c40 SHA512 36163383488403b9277209e958db446997535fb0dd731d31d1cffca617854c5480fdb3a7038465053f360fd9ad8e7cc763fa994ebd0d8336e5df955d221f742d
diff --git a/games-fps/eduke32/eduke32-20200808.9208.ebuild b/games-fps/eduke32/eduke32-20200808.9208.ebuild
deleted file mode 100644
index e1fadcfdc49..00000000000
--- a/games-fps/eduke32/eduke32-20200808.9208.ebuild
+++ /dev/null
@@ -1,226 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="16a4d06be"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- https://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/libsdl2[joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-08-25 21:59 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-08-25 21:59 UTC (permalink / raw
To: gentoo-commits
commit: 49efc4f59a2d415d58201bcf9c7e857cbff29f95
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 25 21:21:37 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Aug 25 21:59:26 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49efc4f5
games-fps/eduke32: bump to version 20200824.9249
Closes: https://bugs.gentoo.org/738904
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20200824.9249.ebuild | 229 +++++++++++++++++++++++++
2 files changed, 230 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 717c7f433f8..c601229281d 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20200808-9208-16a4d06be.tar.xz 19787360 BLAKE2B 3344a660fd5dec951e27e74a0680ba506692991c96438af53901bd5c090ca4c14be90db37ad4cc454c7f0dc2b7628a9bb9abce4e55c4dd9713a1fe90af28c53d SHA512 0b88ed5a0c3a5134aaabe9c30eb2d9a2a17c4833388788c4e1d3bf6bc76aa0edb3b6189c503f614894d480d25a27d498df11fb13ea64c465253a9b564c43b78c
+DIST eduke32_src_20200824-9249-16a4d06be.tar.xz 9192 BLAKE2B c1ef8bba924831e758aead56b8388f14e6366084a6f09e5781c442e926196a43b5339aee74590faac5985d397060546e67a5a7d5dc3e86646f93916eb7010c40 SHA512 36163383488403b9277209e958db446997535fb0dd731d31d1cffca617854c5480fdb3a7038465053f360fd9ad8e7cc763fa994ebd0d8336e5df955d221f742d
diff --git a/games-fps/eduke32/eduke32-20200824.9249.ebuild b/games-fps/eduke32/eduke32-20200824.9249.ebuild
new file mode 100644
index 00000000000..7f53b7f0a69
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20200824.9249.ebuild
@@ -0,0 +1,229 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="175ae4cd5"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ https://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/libsdl2[joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib
+ flac? ( media-libs/flac )
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=$(usex flac 1 0)
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-08-25 22:19 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-08-25 22:19 UTC (permalink / raw
To: gentoo-commits
commit: 9949a50e8c8b75695f9793ac09fa374566f32e52
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 25 22:18:38 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Aug 25 22:19:01 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9949a50e
games-fps/eduke32: fix manifest
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index eafc8e5d065..b185de85850 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,4 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20200824-9249-16a4d06be.tar.xz 9192 BLAKE2B c1ef8bba924831e758aead56b8388f14e6366084a6f09e5781c442e926196a43b5339aee74590faac5985d397060546e67a5a7d5dc3e86646f93916eb7010c40 SHA512 36163383488403b9277209e958db446997535fb0dd731d31d1cffca617854c5480fdb3a7038465053f360fd9ad8e7cc763fa994ebd0d8336e5df955d221f742d
+DIST eduke32_src_20200824-9249-175ae4cd5.tar.xz 19787088 BLAKE2B d9d6cacc6fd44187fede81803dc4a98f2c199b3439278b523d924456371e289ea24ccea61cc5de8687f83c65e53fe66f8bddb6c104aec696b39176ddae146d57 SHA512 b963a885f89e33c09af4d6c1fba81a18198e9ab8617667c5492e2b70355b7fcaabfacf385f652e3f8d39ee155921a7d5d3afe802bd98f9187ccd29cdcc602190
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-09-04 23:14 Sam James
0 siblings, 0 replies; 98+ messages in thread
From: Sam James @ 2020-09-04 23:14 UTC (permalink / raw
To: gentoo-commits
commit: 28a2adb976a5f7b47d18412d7dce165d7bbe37a4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 4 23:14:06 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 4 23:14:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28a2adb9
games-fps/eduke32: Keyword 20200824.9249 arm64, #730556
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-fps/eduke32/eduke32-20200824.9249.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/eduke32/eduke32-20200824.9249.ebuild b/games-fps/eduke32/eduke32-20200824.9249.ebuild
index 7f53b7f0a69..39d355cf8ac 100644
--- a/games-fps/eduke32/eduke32-20200824.9249.ebuild
+++ b/games-fps/eduke32/eduke32-20200824.9249.ebuild
@@ -30,7 +30,7 @@ SRC_URI="
LICENSE="BUILDLIC GPL-2 HRP"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
REQUIRED_USE="
cdinstall? ( !demo )
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-09-05 11:45 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-09-05 11:45 UTC (permalink / raw
To: gentoo-commits
commit: 5389018317fa707fab0c590cc5d8a059ab949ce1
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 5 11:42:42 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Sep 5 11:42:42 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53890183
games-fps/eduke32: bump to version 20200829.9253
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20200829.9253.ebuild | 229 +++++++++++++++++++++++++
2 files changed, 230 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index b185de85850..7abd8dac2a3 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20200824-9249-175ae4cd5.tar.xz 19787088 BLAKE2B d9d6cacc6fd44187fede81803dc4a98f2c199b3439278b523d924456371e289ea24ccea61cc5de8687f83c65e53fe66f8bddb6c104aec696b39176ddae146d57 SHA512 b963a885f89e33c09af4d6c1fba81a18198e9ab8617667c5492e2b70355b7fcaabfacf385f652e3f8d39ee155921a7d5d3afe802bd98f9187ccd29cdcc602190
+DIST eduke32_src_20200829-9253-156963ddc.tar.xz 19786792 BLAKE2B beff97aa7fa6e0db841abddfba6287034b501c6c727239157e986ded0993edf5bfbb891138d95e54a181b1f769b4a36a0406cceb531fed4a5b2c9cdd63dd59e9 SHA512 f69ad01c958cc180e75e4f6c231106634f57257b3d8fd14db5b5079721633df4dde8b72c93397fa75c2782735eb5baf0e00708b2fc5d8781e36c6cda9b949f4d
diff --git a/games-fps/eduke32/eduke32-20200829.9253.ebuild b/games-fps/eduke32/eduke32-20200829.9253.ebuild
new file mode 100644
index 00000000000..bf134c4e55b
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20200829.9253.ebuild
@@ -0,0 +1,229 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="156963ddc"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ https://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="cdinstall demo fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ if use tools; then
+ emake utils "${myemakeopts[@]}"
+ fi
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-09-05 11:45 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-09-05 11:45 UTC (permalink / raw
To: gentoo-commits
commit: 64b0bad5fbb59d4fdbd166e9181fb16a521b1f17
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 5 11:43:51 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Sep 5 11:43:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64b0bad5
games-fps/eduke32: drop old version
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20200824.9249.ebuild | 229 -------------------------
2 files changed, 230 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 7abd8dac2a3..b42e2650c41 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20200824-9249-175ae4cd5.tar.xz 19787088 BLAKE2B d9d6cacc6fd44187fede81803dc4a98f2c199b3439278b523d924456371e289ea24ccea61cc5de8687f83c65e53fe66f8bddb6c104aec696b39176ddae146d57 SHA512 b963a885f89e33c09af4d6c1fba81a18198e9ab8617667c5492e2b70355b7fcaabfacf385f652e3f8d39ee155921a7d5d3afe802bd98f9187ccd29cdcc602190
DIST eduke32_src_20200829-9253-156963ddc.tar.xz 19786792 BLAKE2B beff97aa7fa6e0db841abddfba6287034b501c6c727239157e986ded0993edf5bfbb891138d95e54a181b1f769b4a36a0406cceb531fed4a5b2c9cdd63dd59e9 SHA512 f69ad01c958cc180e75e4f6c231106634f57257b3d8fd14db5b5079721633df4dde8b72c93397fa75c2782735eb5baf0e00708b2fc5d8781e36c6cda9b949f4d
diff --git a/games-fps/eduke32/eduke32-20200824.9249.ebuild b/games-fps/eduke32/eduke32-20200824.9249.ebuild
deleted file mode 100644
index 39d355cf8ac..00000000000
--- a/games-fps/eduke32/eduke32-20200824.9249.ebuild
+++ /dev/null
@@ -1,229 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="175ae4cd5"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- https://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="cdinstall demo flac fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/libsdl2[joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac?,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib
- flac? ( media-libs/flac )
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=$(usex flac 1 0)
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-11-16 23:06 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-11-16 23:06 UTC (permalink / raw
To: gentoo-commits
commit: 66eb5a09867d1f39c95ee86f6038b466a344d4a8
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 16 23:05:36 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 23:05:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66eb5a09
games-fps/eduke32: drop old version
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20200829.9253.ebuild | 229 -------------------------
2 files changed, 230 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 3e7735030c3..0225f402a69 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20200829-9253-156963ddc.tar.xz 19786792 BLAKE2B beff97aa7fa6e0db841abddfba6287034b501c6c727239157e986ded0993edf5bfbb891138d95e54a181b1f769b4a36a0406cceb531fed4a5b2c9cdd63dd59e9 SHA512 f69ad01c958cc180e75e4f6c231106634f57257b3d8fd14db5b5079721633df4dde8b72c93397fa75c2782735eb5baf0e00708b2fc5d8781e36c6cda9b949f4d
DIST eduke32_src_20200907-9257-93f62bbad.tar.xz 19787388 BLAKE2B 932bb679ac83320c56284371967e3f18e9d44b2635c743443a2e73511bd62557fb478c035136fc63276b3ada97736c18d05ed809772266d5b16dfdcaf03104d6 SHA512 43b5fd11382cdbc589a32c5f8f2ef36abcd0a41ba0251d4edf1c45466ad2ff875bc237c304b5a6668a44d01fb8f465a761f9e654b306762fa086b40f8bd75284
diff --git a/games-fps/eduke32/eduke32-20200829.9253.ebuild b/games-fps/eduke32/eduke32-20200829.9253.ebuild
deleted file mode 100644
index bf134c4e55b..00000000000
--- a/games-fps/eduke32/eduke32-20200829.9253.ebuild
+++ /dev/null
@@ -1,229 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="156963ddc"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- https://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="cdinstall demo fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/flac
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- if use tools; then
- emake utils "${myemakeopts[@]}"
- fi
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-12-02 21:22 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-12-02 21:22 UTC (permalink / raw
To: gentoo-commits
commit: 8c4db3e53da1fd368a50a5cc446f1e21b64dc470
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 2 20:12:19 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Dec 2 21:22:42 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c4db3e5
games-fps/eduke32: drop old version
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20200907.9257.ebuild | 230 -------------------------
2 files changed, 231 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 16d05fd286f..17cbd4e475f 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20200907-9257-93f62bbad.tar.xz 19787388 BLAKE2B 932bb679ac83320c56284371967e3f18e9d44b2635c743443a2e73511bd62557fb478c035136fc63276b3ada97736c18d05ed809772266d5b16dfdcaf03104d6 SHA512 43b5fd11382cdbc589a32c5f8f2ef36abcd0a41ba0251d4edf1c45466ad2ff875bc237c304b5a6668a44d01fb8f465a761f9e654b306762fa086b40f8bd75284
DIST eduke32_src_20201128-9276-42c62c58f.tar.xz 19786040 BLAKE2B 5cf8fced61ed5876030a4569e3068ef1e6d2542dbb57528aba0101e37d8233e9c878f1adba7deedd34cbbce37470c47be4d61713c2a4d9eafbcdc65c690a53a3 SHA512 54d2eb3d2caec8ef941796106c60a2cfeb6edc37f1c353cf8acbeacd3c96e4e2ccd037b0c6a9e1adc47406c3572aed816136190161b83948e36b364ec4edd518
diff --git a/games-fps/eduke32/eduke32-20200907.9257.ebuild b/games-fps/eduke32/eduke32-20200907.9257.ebuild
deleted file mode 100644
index b3342d7aa9c..00000000000
--- a/games-fps/eduke32/eduke32-20200907.9257.ebuild
+++ /dev/null
@@ -1,230 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="93f62bbad"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- https://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="cdinstall demo fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/flac
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-12-02 21:22 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-12-02 21:22 UTC (permalink / raw
To: gentoo-commits
commit: 127498cb2efb127824a3bb467c632fad3cc40dcc
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 2 20:06:29 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Dec 2 21:22:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=127498cb
games-fps/eduke32: bump to version 20201128.9276
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20201128.9276.ebuild | 230 +++++++++++++++++++++++++
2 files changed, 231 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 0225f402a69..16d05fd286f 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20200907-9257-93f62bbad.tar.xz 19787388 BLAKE2B 932bb679ac83320c56284371967e3f18e9d44b2635c743443a2e73511bd62557fb478c035136fc63276b3ada97736c18d05ed809772266d5b16dfdcaf03104d6 SHA512 43b5fd11382cdbc589a32c5f8f2ef36abcd0a41ba0251d4edf1c45466ad2ff875bc237c304b5a6668a44d01fb8f465a761f9e654b306762fa086b40f8bd75284
+DIST eduke32_src_20201128-9276-42c62c58f.tar.xz 19786040 BLAKE2B 5cf8fced61ed5876030a4569e3068ef1e6d2542dbb57528aba0101e37d8233e9c878f1adba7deedd34cbbce37470c47be4d61713c2a4d9eafbcdc65c690a53a3 SHA512 54d2eb3d2caec8ef941796106c60a2cfeb6edc37f1c353cf8acbeacd3c96e4e2ccd037b0c6a9e1adc47406c3572aed816136190161b83948e36b364ec4edd518
diff --git a/games-fps/eduke32/eduke32-20201128.9276.ebuild b/games-fps/eduke32/eduke32-20201128.9276.ebuild
new file mode 100644
index 00000000000..e7ec5d6a3a6
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20201128.9276.ebuild
@@ -0,0 +1,230 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="42c62c58f"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ https://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="cdinstall demo fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-12-15 14:28 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-12-15 14:28 UTC (permalink / raw
To: gentoo-commits
commit: 2b9b1ff277476610b30ff230d70cfb965c9419d2
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 15 14:26:06 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Dec 15 14:26:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b9b1ff2
games-fps/eduke32: bump to version 20201214.9286
Also switching back to http, as the https certificate has expired.
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20201214.9286.ebuild | 230 +++++++++++++++++++++++++
2 files changed, 231 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 17cbd4e475f..bbbde68a50f 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20201128-9276-42c62c58f.tar.xz 19786040 BLAKE2B 5cf8fced61ed5876030a4569e3068ef1e6d2542dbb57528aba0101e37d8233e9c878f1adba7deedd34cbbce37470c47be4d61713c2a4d9eafbcdc65c690a53a3 SHA512 54d2eb3d2caec8ef941796106c60a2cfeb6edc37f1c353cf8acbeacd3c96e4e2ccd037b0c6a9e1adc47406c3572aed816136190161b83948e36b364ec4edd518
+DIST eduke32_src_20201214-9286-74aceda66.tar.xz 19917364 BLAKE2B e871d18c216a11dc5c8396a06d23f42feb40dff7b6a2652601b9a13234e7e5e2f7194ccf1d3750a52f4fb66c6a3ca1386a4869a02ecaf11c64b34a082996dd05 SHA512 584cb1219d19c1d48f3f812c0e1378c9d672a1761ff568addd1094d040301b18feadc6340989a811fe7f80f6ef3046753bc261517fee133452aafbe50aabfb1a
diff --git a/games-fps/eduke32/eduke32-20201214.9286.ebuild b/games-fps/eduke32/eduke32-20201214.9286.ebuild
new file mode 100644
index 00000000000..7529d21a544
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20201214.9286.ebuild
@@ -0,0 +1,230 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="74aceda66"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="cdinstall demo fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2020-12-15 14:28 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2020-12-15 14:28 UTC (permalink / raw
To: gentoo-commits
commit: 7b304faaee6f0702f74b6c277ce40cf11e438194
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 15 14:27:43 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Dec 15 14:27:43 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b304faa
games-fps/eduke32: drop old version
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20201128.9276.ebuild | 230 -------------------------
2 files changed, 231 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index bbbde68a50f..49ab12dbfb9 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20201128-9276-42c62c58f.tar.xz 19786040 BLAKE2B 5cf8fced61ed5876030a4569e3068ef1e6d2542dbb57528aba0101e37d8233e9c878f1adba7deedd34cbbce37470c47be4d61713c2a4d9eafbcdc65c690a53a3 SHA512 54d2eb3d2caec8ef941796106c60a2cfeb6edc37f1c353cf8acbeacd3c96e4e2ccd037b0c6a9e1adc47406c3572aed816136190161b83948e36b364ec4edd518
DIST eduke32_src_20201214-9286-74aceda66.tar.xz 19917364 BLAKE2B e871d18c216a11dc5c8396a06d23f42feb40dff7b6a2652601b9a13234e7e5e2f7194ccf1d3750a52f4fb66c6a3ca1386a4869a02ecaf11c64b34a082996dd05 SHA512 584cb1219d19c1d48f3f812c0e1378c9d672a1761ff568addd1094d040301b18feadc6340989a811fe7f80f6ef3046753bc261517fee133452aafbe50aabfb1a
diff --git a/games-fps/eduke32/eduke32-20201128.9276.ebuild b/games-fps/eduke32/eduke32-20201128.9276.ebuild
deleted file mode 100644
index e7ec5d6a3a6..00000000000
--- a/games-fps/eduke32/eduke32-20201128.9276.ebuild
+++ /dev/null
@@ -1,230 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="42c62c58f"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- https://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="cdinstall demo fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/flac
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-01-09 14:29 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-01-09 14:29 UTC (permalink / raw
To: gentoo-commits
commit: 039cbd48943dc632c28ce9ccbf23b617e6bda8a1
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 9 14:11:04 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jan 9 14:29:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=039cbd48
games-fps/eduke32: drop old version
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20201214.9286.ebuild | 230 -------------------------
2 files changed, 231 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index d5e343fbee8..fa7f41d8fdb 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20201214-9286-74aceda66.tar.xz 19917364 BLAKE2B e871d18c216a11dc5c8396a06d23f42feb40dff7b6a2652601b9a13234e7e5e2f7194ccf1d3750a52f4fb66c6a3ca1386a4869a02ecaf11c64b34a082996dd05 SHA512 584cb1219d19c1d48f3f812c0e1378c9d672a1761ff568addd1094d040301b18feadc6340989a811fe7f80f6ef3046753bc261517fee133452aafbe50aabfb1a
DIST eduke32_src_20210109-9300-a32832192.tar.xz 19941188 BLAKE2B 0aa7657384fb92352a4f1cd4bbe4b403ccacc4a77e50aa78f3cd44f9e8fcddc38dfc44897c8f768d9a4c1ae701188fc781b54491f310e2162723aa714231dae4 SHA512 4c54f83f08f150506b76ffa73a41de81a7719c14c14adadbf90bfc93f0fb48ef64f4fd43081e5f49726f8c71137b2e4f567251ff9b83a9a25fb09ffb2ab48315
diff --git a/games-fps/eduke32/eduke32-20201214.9286.ebuild b/games-fps/eduke32/eduke32-20201214.9286.ebuild
deleted file mode 100644
index 7529d21a544..00000000000
--- a/games-fps/eduke32/eduke32-20201214.9286.ebuild
+++ /dev/null
@@ -1,230 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="74aceda66"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="cdinstall demo fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/flac
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-01-09 14:29 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-01-09 14:29 UTC (permalink / raw
To: gentoo-commits
commit: 9a009c725579e8ea400f34bde6f1ebc3f54bfe2a
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 9 14:10:12 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jan 9 14:29:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a009c72
games-fps/eduke32: bump to version 20210109.9300
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20210109.9300.ebuild | 230 +++++++++++++++++++++++++
2 files changed, 231 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 49ab12dbfb9..d5e343fbee8 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20201214-9286-74aceda66.tar.xz 19917364 BLAKE2B e871d18c216a11dc5c8396a06d23f42feb40dff7b6a2652601b9a13234e7e5e2f7194ccf1d3750a52f4fb66c6a3ca1386a4869a02ecaf11c64b34a082996dd05 SHA512 584cb1219d19c1d48f3f812c0e1378c9d672a1761ff568addd1094d040301b18feadc6340989a811fe7f80f6ef3046753bc261517fee133452aafbe50aabfb1a
+DIST eduke32_src_20210109-9300-a32832192.tar.xz 19941188 BLAKE2B 0aa7657384fb92352a4f1cd4bbe4b403ccacc4a77e50aa78f3cd44f9e8fcddc38dfc44897c8f768d9a4c1ae701188fc781b54491f310e2162723aa714231dae4 SHA512 4c54f83f08f150506b76ffa73a41de81a7719c14c14adadbf90bfc93f0fb48ef64f4fd43081e5f49726f8c71137b2e4f567251ff9b83a9a25fb09ffb2ab48315
diff --git a/games-fps/eduke32/eduke32-20210109.9300.ebuild b/games-fps/eduke32/eduke32-20210109.9300.ebuild
new file mode 100644
index 00000000000..67bf3a3d3fb
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20210109.9300.ebuild
@@ -0,0 +1,230 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="a32832192"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="cdinstall demo fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw vorbis voxels vpx xmp"
+REQUIRED_USE="
+ cdinstall? ( !demo )
+ demo? ( !cdinstall )
+ hrp? ( ^^ ( demo cdinstall )
+ !voxels )
+ offensive? ( ^^ ( demo cdinstall ) )
+ opl? ( ^^ ( demo cdinstall )
+ !sc-55 )
+ psx? ( ^^ ( demo cdinstall ) )
+ sc-55? ( ^^ ( demo cdinstall )
+ !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="
+ cdinstall? ( games-fps/duke3d-data )
+ demo? ( games-fps/duke3d-demodata )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-01-10 23:21 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-01-10 23:21 UTC (permalink / raw
To: gentoo-commits
commit: 42d1c91fb0197f6dbcf31b8338c5dba9522123b7
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 10 23:05:14 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 23:20:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d1c91f
games-fps/eduke32: drop old version
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/eduke32-20210109.9300.ebuild | 230 -------------------------
games-fps/eduke32/metadata.xml | 1 -
2 files changed, 231 deletions(-)
diff --git a/games-fps/eduke32/eduke32-20210109.9300.ebuild b/games-fps/eduke32/eduke32-20210109.9300.ebuild
deleted file mode 100644
index 67bf3a3d3fb..00000000000
--- a/games-fps/eduke32/eduke32-20210109.9300.ebuild
+++ /dev/null
@@ -1,230 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="a32832192"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="cdinstall demo fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw vorbis voxels vpx xmp"
-REQUIRED_USE="
- cdinstall? ( !demo )
- demo? ( !cdinstall )
- hrp? ( ^^ ( demo cdinstall )
- !voxels )
- offensive? ( ^^ ( demo cdinstall ) )
- opl? ( ^^ ( demo cdinstall )
- !sc-55 )
- psx? ( ^^ ( demo cdinstall ) )
- sc-55? ( ^^ ( demo cdinstall )
- !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/flac
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="
- cdinstall? ( games-fps/duke3d-data )
- demo? ( games-fps/duke3d-demodata )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/games-fps/eduke32/metadata.xml b/games-fps/eduke32/metadata.xml
index b5e798d45f0..0e39e17f649 100644
--- a/games-fps/eduke32/metadata.xml
+++ b/games-fps/eduke32/metadata.xml
@@ -15,7 +15,6 @@
for short to Windows, Linux, Mac OS X, FreeBSD and several handhelds.
</longdescription>
<use>
- <flag name="demo">Install the Duke Nukem 3D demo files, provided by <pkg>games-fps/duke3d-demodata</pkg>.</flag>
<flag name="duke3d">Install the Duke Nukem 3D data files, provided by <pkg>games-fps/duke3d-data</pkg>.</flag>
<flag name="fluidsynth">Install <pkg>media-libs/sdl2-mixer</pkg> with fluidsynth support.</flag>
<flag name="hrp">Install the Duke Nukem 3D High Resolution Pack.</flag>
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-01-10 23:21 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-01-10 23:21 UTC (permalink / raw
To: gentoo-commits
commit: d9307866e34f0eb4fece01a68c1441d141244fb1
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 10 23:03:46 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 23:20:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9307866
games-fps/eduke32: update package for games-fps/duke3d-data
This drops use flags 'cdinstall' and 'demo'.
Instead, providing a new one 'duke3d' to use 'games-fps/duke3d-data', as
demo got merged into it.
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/eduke32-20210109.9300-r1.ebuild | 222 ++++++++++++++++++++++
games-fps/eduke32/metadata.xml | 1 +
2 files changed, 223 insertions(+)
diff --git a/games-fps/eduke32/eduke32-20210109.9300-r1.ebuild b/games-fps/eduke32/eduke32-20210109.9300-r1.ebuild
new file mode 100644
index 00000000000..f936eea405f
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20210109.9300-r1.ebuild
@@ -0,0 +1,222 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="a32832192"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw vorbis voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis?]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ vorbis? (
+ media-libs/libogg
+ media-libs/libvorbis
+ )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEDEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_VORBIS=$(usex vorbis 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/games-fps/eduke32/metadata.xml b/games-fps/eduke32/metadata.xml
index 225b31ad73f..b5e798d45f0 100644
--- a/games-fps/eduke32/metadata.xml
+++ b/games-fps/eduke32/metadata.xml
@@ -16,6 +16,7 @@
</longdescription>
<use>
<flag name="demo">Install the Duke Nukem 3D demo files, provided by <pkg>games-fps/duke3d-demodata</pkg>.</flag>
+ <flag name="duke3d">Install the Duke Nukem 3D data files, provided by <pkg>games-fps/duke3d-data</pkg>.</flag>
<flag name="fluidsynth">Install <pkg>media-libs/sdl2-mixer</pkg> with fluidsynth support.</flag>
<flag name="hrp">Install the Duke Nukem 3D High Resolution Pack.</flag>
<flag name="offensive">Install the Duke Nukem 3D XXX Pack.</flag>
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-01-24 4:53 Sam James
0 siblings, 0 replies; 98+ messages in thread
From: Sam James @ 2021-01-24 4:53 UTC (permalink / raw
To: gentoo-commits
commit: b182d234894c35f78b233bdfac6b207bf63f3ad8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 24 04:52:54 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 04:53:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b182d234
games-fps/eduke32: Keyword 20210109.9300-r1 arm, #764752
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-fps/eduke32/eduke32-20210109.9300-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/eduke32/eduke32-20210109.9300-r1.ebuild b/games-fps/eduke32/eduke32-20210109.9300-r1.ebuild
index f936eea405f..c5f3b293fe5 100644
--- a/games-fps/eduke32/eduke32-20210109.9300-r1.ebuild
+++ b/games-fps/eduke32/eduke32-20210109.9300-r1.ebuild
@@ -30,7 +30,7 @@ SRC_URI="
LICENSE="BUILDLIC GPL-2 HRP"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw vorbis voxels vpx xmp"
REQUIRED_USE="
hrp? ( duke3d !voxels )
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-01-30 22:00 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-01-30 22:00 UTC (permalink / raw
To: gentoo-commits
commit: d62011856947e75e2a9118347a4f064b38cb23b9
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 30 22:00:12 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jan 30 22:00:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6201185
games-fps/eduke32: drop old version
Bug: https://bugs.gentoo.org/766803
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20210109.9300-r1.ebuild | 222 ----------------------
2 files changed, 223 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 81bd6f66d79..fc701500f93 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20210109-9300-a32832192.tar.xz 19941188 BLAKE2B 0aa7657384fb92352a4f1cd4bbe4b403ccacc4a77e50aa78f3cd44f9e8fcddc38dfc44897c8f768d9a4c1ae701188fc781b54491f310e2162723aa714231dae4 SHA512 4c54f83f08f150506b76ffa73a41de81a7719c14c14adadbf90bfc93f0fb48ef64f4fd43081e5f49726f8c71137b2e4f567251ff9b83a9a25fb09ffb2ab48315
DIST eduke32_src_20210127-9308-421b54a8a.tar.xz 19944696 BLAKE2B 196ff6f81e5b87de3c5111c192c1c27c37afca786341eb03c8f704639291e182f2e14a7dd042c92a19fc6b0b5d8639356974a609bade614c4c33f42e04c1f017 SHA512 99299dded2874df996ef00e458ea644a769b46969d296ed5596838978d8835d12d6123445dfa3fd3a6a9e9eefc447fe4af8d2a9c36c000a76a515681bbded636
diff --git a/games-fps/eduke32/eduke32-20210109.9300-r1.ebuild b/games-fps/eduke32/eduke32-20210109.9300-r1.ebuild
deleted file mode 100644
index c5f3b293fe5..00000000000
--- a/games-fps/eduke32/eduke32-20210109.9300-r1.ebuild
+++ /dev/null
@@ -1,222 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="a32832192"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw vorbis voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/flac
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis?]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- vorbis? (
- media-libs/libogg
- media-libs/libvorbis
- )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEDEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_VORBIS=$(usex vorbis 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-01-30 22:00 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-01-30 22:00 UTC (permalink / raw
To: gentoo-commits
commit: 84cbb13645614b3f69eb2bea504151fa1add1370
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 30 21:59:08 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jan 30 21:59:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84cbb136
games-fps/eduke32: bump to version 20210127.9308
This versions drops 'vorbis' use flag, as it's now mandatory and can't
be disabled anymore.
Closes: https://bugs.gentoo.org/766803
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20210127.9308.ebuild | 219 +++++++++++++++++++++++++
2 files changed, 220 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index fa7f41d8fdb..81bd6f66d79 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20210109-9300-a32832192.tar.xz 19941188 BLAKE2B 0aa7657384fb92352a4f1cd4bbe4b403ccacc4a77e50aa78f3cd44f9e8fcddc38dfc44897c8f768d9a4c1ae701188fc781b54491f310e2162723aa714231dae4 SHA512 4c54f83f08f150506b76ffa73a41de81a7719c14c14adadbf90bfc93f0fb48ef64f4fd43081e5f49726f8c71137b2e4f567251ff9b83a9a25fb09ffb2ab48315
+DIST eduke32_src_20210127-9308-421b54a8a.tar.xz 19944696 BLAKE2B 196ff6f81e5b87de3c5111c192c1c27c37afca786341eb03c8f704639291e182f2e14a7dd042c92a19fc6b0b5d8639356974a609bade614c4c33f42e04c1f017 SHA512 99299dded2874df996ef00e458ea644a769b46969d296ed5596838978d8835d12d6123445dfa3fd3a6a9e9eefc447fe4af8d2a9c36c000a76a515681bbded636
diff --git a/games-fps/eduke32/eduke32-20210127.9308.ebuild b/games-fps/eduke32/eduke32-20210127.9308.ebuild
new file mode 100644
index 00000000000..7ae2cbd8524
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20210127.9308.ebuild
@@ -0,0 +1,219 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="421b54a8a"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEDEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-02-27 14:58 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-02-27 14:58 UTC (permalink / raw
To: gentoo-commits
commit: b5a989d56024132c71d8b2336e92f38c457c7f18
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 14:57:43 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 14:57:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5a989d5
games-fps/eduke32: bump to version 20210221.9314
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20210221.9314.ebuild | 219 +++++++++++++++++++++++++
2 files changed, 220 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index fc701500f93..254d7cad2fd 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20210127-9308-421b54a8a.tar.xz 19944696 BLAKE2B 196ff6f81e5b87de3c5111c192c1c27c37afca786341eb03c8f704639291e182f2e14a7dd042c92a19fc6b0b5d8639356974a609bade614c4c33f42e04c1f017 SHA512 99299dded2874df996ef00e458ea644a769b46969d296ed5596838978d8835d12d6123445dfa3fd3a6a9e9eefc447fe4af8d2a9c36c000a76a515681bbded636
+DIST eduke32_src_20210221-9314-a2d4c2794.tar.xz 19940764 BLAKE2B 9ea44f30cfa1737cf9e6cbd4db79530b3fc1dc109cc7ab9229dd19415e8a035992846d75e59460ae798c1d308de24510ff0eae4b149d8f8a3c4ace32e4010776 SHA512 a40902dd54a92cb333c61cd2e3a88f4760ea38ba0125f7770c4a0a9145d7c1be10e3df310d0dc20565e97fe3deb61678fb7ea79b918c7fafe0b9692b30e64047
diff --git a/games-fps/eduke32/eduke32-20210221.9314.ebuild b/games-fps/eduke32/eduke32-20210221.9314.ebuild
new file mode 100644
index 00000000000..5e860db6db7
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20210221.9314.ebuild
@@ -0,0 +1,219 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="a2d4c2794"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEDEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-02-27 14:58 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-02-27 14:58 UTC (permalink / raw
To: gentoo-commits
commit: 558c99963ba0b7281f229a199e3b3498d967f165
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 14:58:27 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 14:58:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=558c9996
games-fps/eduke32: drop old version
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20210127.9308.ebuild | 219 -------------------------
2 files changed, 220 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 254d7cad2fd..2ac452e91bd 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20210127-9308-421b54a8a.tar.xz 19944696 BLAKE2B 196ff6f81e5b87de3c5111c192c1c27c37afca786341eb03c8f704639291e182f2e14a7dd042c92a19fc6b0b5d8639356974a609bade614c4c33f42e04c1f017 SHA512 99299dded2874df996ef00e458ea644a769b46969d296ed5596838978d8835d12d6123445dfa3fd3a6a9e9eefc447fe4af8d2a9c36c000a76a515681bbded636
DIST eduke32_src_20210221-9314-a2d4c2794.tar.xz 19940764 BLAKE2B 9ea44f30cfa1737cf9e6cbd4db79530b3fc1dc109cc7ab9229dd19415e8a035992846d75e59460ae798c1d308de24510ff0eae4b149d8f8a3c4ace32e4010776 SHA512 a40902dd54a92cb333c61cd2e3a88f4760ea38ba0125f7770c4a0a9145d7c1be10e3df310d0dc20565e97fe3deb61678fb7ea79b918c7fafe0b9692b30e64047
diff --git a/games-fps/eduke32/eduke32-20210127.9308.ebuild b/games-fps/eduke32/eduke32-20210127.9308.ebuild
deleted file mode 100644
index 7ae2cbd8524..00000000000
--- a/games-fps/eduke32/eduke32-20210127.9308.ebuild
+++ /dev/null
@@ -1,219 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="421b54a8a"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/flac
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEDEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-02-27 15:31 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-02-27 15:31 UTC (permalink / raw
To: gentoo-commits
commit: 837ea59e2d1bbea7007e3fb2ceb46d3d2621ff35
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 15:30:49 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 15:31:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=837ea59e
games-fps/eduke32: fix typo
Typo in PDEPEND fixed.
Closes: https://bugs.gentoo.org/773295
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/eduke32-20210221.9314.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/eduke32/eduke32-20210221.9314.ebuild b/games-fps/eduke32/eduke32-20210221.9314.ebuild
index 5e860db6db7..1cf5593bfd6 100644
--- a/games-fps/eduke32/eduke32-20210221.9314.ebuild
+++ b/games-fps/eduke32/eduke32-20210221.9314.ebuild
@@ -75,7 +75,7 @@ BDEPEND="
x86? ( dev-lang/nasm )
"
-PDEDEND="duke3d? ( games-fps/duke3d-data )"
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
PATCHES=(
"${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-04-07 17:29 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-04-07 17:29 UTC (permalink / raw
To: gentoo-commits
commit: d9a1edb9f776d43274577b7b0f214343a3966c2c
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 7 17:28:55 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Apr 7 17:28:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9a1edb9
games-fps/eduke32: drop old version
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20210221.9314.ebuild | 219 -------------------------
2 files changed, 220 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 273616084e1..ba0a539c37c 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20210221-9314-a2d4c2794.tar.xz 19940764 BLAKE2B 9ea44f30cfa1737cf9e6cbd4db79530b3fc1dc109cc7ab9229dd19415e8a035992846d75e59460ae798c1d308de24510ff0eae4b149d8f8a3c4ace32e4010776 SHA512 a40902dd54a92cb333c61cd2e3a88f4760ea38ba0125f7770c4a0a9145d7c1be10e3df310d0dc20565e97fe3deb61678fb7ea79b918c7fafe0b9692b30e64047
DIST eduke32_src_20210404-9321-7225643e3.tar.xz 19946104 BLAKE2B 37a8a91aa09e03e91f2e368ae7329a9094b6ec41af46da2e3fa1dd10f5131f0ba67d774d923f8c9659fdd1c28c8109ec2d1695105b84f96955c8fd9b6e347668 SHA512 c3b8aec9d94f3f7aa2431bf3abb243937e58280ec4ed0c74ccdcb28296068a32ed46556a09e4409c6f367a4d1364dc66cb254ccf190851f45e3e473426129425
diff --git a/games-fps/eduke32/eduke32-20210221.9314.ebuild b/games-fps/eduke32/eduke32-20210221.9314.ebuild
deleted file mode 100644
index 1cf5593bfd6..00000000000
--- a/games-fps/eduke32/eduke32-20210221.9314.ebuild
+++ /dev/null
@@ -1,219 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="a2d4c2794"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/flac
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-04-07 17:29 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-04-07 17:29 UTC (permalink / raw
To: gentoo-commits
commit: 371c64163b0ce386c3eb597d419a061470cc9e7a
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 7 17:27:01 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Apr 7 17:27:01 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=371c6416
games-fps/eduke32: bump to version 20210404.9321
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20210404.9321.ebuild | 219 +++++++++++++++++++++++++
2 files changed, 220 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 2ac452e91bd..273616084e1 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20210221-9314-a2d4c2794.tar.xz 19940764 BLAKE2B 9ea44f30cfa1737cf9e6cbd4db79530b3fc1dc109cc7ab9229dd19415e8a035992846d75e59460ae798c1d308de24510ff0eae4b149d8f8a3c4ace32e4010776 SHA512 a40902dd54a92cb333c61cd2e3a88f4760ea38ba0125f7770c4a0a9145d7c1be10e3df310d0dc20565e97fe3deb61678fb7ea79b918c7fafe0b9692b30e64047
+DIST eduke32_src_20210404-9321-7225643e3.tar.xz 19946104 BLAKE2B 37a8a91aa09e03e91f2e368ae7329a9094b6ec41af46da2e3fa1dd10f5131f0ba67d774d923f8c9659fdd1c28c8109ec2d1695105b84f96955c8fd9b6e347668 SHA512 c3b8aec9d94f3f7aa2431bf3abb243937e58280ec4ed0c74ccdcb28296068a32ed46556a09e4409c6f367a4d1364dc66cb254ccf190851f45e3e473426129425
diff --git a/games-fps/eduke32/eduke32-20210404.9321.ebuild b/games-fps/eduke32/eduke32-20210404.9321.ebuild
new file mode 100644
index 00000000000..0432169abda
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20210404.9321.ebuild
@@ -0,0 +1,219 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="7225643e3"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-06-26 20:26 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-06-26 20:26 UTC (permalink / raw
To: gentoo-commits
commit: e70e2e76d4d56dab2830fdc1c0f0cde3b357b76d
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 26 20:18:17 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jun 26 20:25:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e70e2e76
games-fps/eduke32: bump to version 20210624.9393
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20210624.9393.ebuild | 219 +++++++++++++++++++++++++
2 files changed, 220 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index ba0a539c37c..f28e07f721a 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20210404-9321-7225643e3.tar.xz 19946104 BLAKE2B 37a8a91aa09e03e91f2e368ae7329a9094b6ec41af46da2e3fa1dd10f5131f0ba67d774d923f8c9659fdd1c28c8109ec2d1695105b84f96955c8fd9b6e347668 SHA512 c3b8aec9d94f3f7aa2431bf3abb243937e58280ec4ed0c74ccdcb28296068a32ed46556a09e4409c6f367a4d1364dc66cb254ccf190851f45e3e473426129425
+DIST eduke32_src_20210624-9393-39e8f1852.tar.xz 20562500 BLAKE2B 46bb0fe5777040f3222c46ca5840b89f3173803891015a7a03344c87d8c7b00141e6838ed2ff6a74bd57b537bd61214e8ca7320b25dd103dc39056320ce51216 SHA512 59bd76fc35dc7031fe0a08fd5b2e3e24f4b8cc72fe410222f288457e8f290ebc5cf9a818961a45a4ca6086ebe4eb5d589185f254c1843169306a993dc0abf3c8
diff --git a/games-fps/eduke32/eduke32-20210624.9393.ebuild b/games-fps/eduke32/eduke32-20210624.9393.ebuild
new file mode 100644
index 00000000000..02b40f0a213
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20210624.9393.ebuild
@@ -0,0 +1,219 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="39e8f1852"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-06-26 20:26 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-06-26 20:26 UTC (permalink / raw
To: gentoo-commits
commit: d25d66ed1a1071beefb67867edabc59871525d2e
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 26 20:23:52 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jun 26 20:25:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d25d66ed
games-fps/eduke32: drop old version
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20210404.9321.ebuild | 219 -------------------------
2 files changed, 220 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index f28e07f721a..324c7ab9c0f 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20210404-9321-7225643e3.tar.xz 19946104 BLAKE2B 37a8a91aa09e03e91f2e368ae7329a9094b6ec41af46da2e3fa1dd10f5131f0ba67d774d923f8c9659fdd1c28c8109ec2d1695105b84f96955c8fd9b6e347668 SHA512 c3b8aec9d94f3f7aa2431bf3abb243937e58280ec4ed0c74ccdcb28296068a32ed46556a09e4409c6f367a4d1364dc66cb254ccf190851f45e3e473426129425
DIST eduke32_src_20210624-9393-39e8f1852.tar.xz 20562500 BLAKE2B 46bb0fe5777040f3222c46ca5840b89f3173803891015a7a03344c87d8c7b00141e6838ed2ff6a74bd57b537bd61214e8ca7320b25dd103dc39056320ce51216 SHA512 59bd76fc35dc7031fe0a08fd5b2e3e24f4b8cc72fe410222f288457e8f290ebc5cf9a818961a45a4ca6086ebe4eb5d589185f254c1843169306a993dc0abf3c8
diff --git a/games-fps/eduke32/eduke32-20210404.9321.ebuild b/games-fps/eduke32/eduke32-20210404.9321.ebuild
deleted file mode 100644
index 0432169abda..00000000000
--- a/games-fps/eduke32/eduke32-20210404.9321.ebuild
+++ /dev/null
@@ -1,219 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="7225643e3"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/flac
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-06-28 19:19 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-06-28 19:19 UTC (permalink / raw
To: gentoo-commits
commit: ee60ed2e115c430c390d32696ea3a48d80863388
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 19:18:37 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 19:18:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee60ed2e
games-fps/eduke32: fix SRC_URI
Closes: https://bugs.gentoo.org/798969
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/eduke32-20210624.9393.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/eduke32/eduke32-20210624.9393.ebuild b/games-fps/eduke32/eduke32-20210624.9393.ebuild
index 02b40f0a213..ffeb78796e3 100644
--- a/games-fps/eduke32/eduke32-20210624.9393.ebuild
+++ b/games-fps/eduke32/eduke32-20210624.9393.ebuild
@@ -18,7 +18,7 @@ MY_PV_VOXELS="1.21"
DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
HOMEPAGE="http://www.eduke32.com/"
SRC_URI="
- http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
https://www.eduke32.com/images/eduke32_classic.png
hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-07-07 19:49 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-07-07 19:49 UTC (permalink / raw
To: gentoo-commits
commit: 4e0b05c64c32e79ec554c43f6ecce2c17cbea016
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 7 19:47:12 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Jul 7 19:47:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e0b05c6
games-fps/eduke32: bump to version 20210707.9468
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20210707.9468.ebuild | 219 +++++++++++++++++++++++++
2 files changed, 220 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 324c7ab9c0f..3abf5dcfdcd 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20210624-9393-39e8f1852.tar.xz 20562500 BLAKE2B 46bb0fe5777040f3222c46ca5840b89f3173803891015a7a03344c87d8c7b00141e6838ed2ff6a74bd57b537bd61214e8ca7320b25dd103dc39056320ce51216 SHA512 59bd76fc35dc7031fe0a08fd5b2e3e24f4b8cc72fe410222f288457e8f290ebc5cf9a818961a45a4ca6086ebe4eb5d589185f254c1843169306a993dc0abf3c8
+DIST eduke32_src_20210707-9468-73aac5b2d.tar.xz 20683656 BLAKE2B 5dfab0d8f0cd35ae34f5190333ac89caca00edbfe5cf18f0b58b61ed9421f93f7cbc2757b7b07a34a06aa12897753e5bfafb46bb4cf1de9797e59fdf996c8f11 SHA512 426d5a6a1d9decb4deeac3125b91d9f0e7b7565771aca2013dd76f3749625185cb64d056a0c37ea24da0c1266965012a4485636eeb85df933f23c12136e08585
diff --git a/games-fps/eduke32/eduke32-20210707.9468.ebuild b/games-fps/eduke32/eduke32-20210707.9468.ebuild
new file mode 100644
index 00000000000..81a188106b8
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20210707.9468.ebuild
@@ -0,0 +1,219 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="73aac5b2d"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-08-07 22:49 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-08-07 22:49 UTC (permalink / raw
To: gentoo-commits
commit: 70b6b0e89beff751bf817e708ec467448ca2ee73
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 7 22:48:43 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Aug 7 22:48:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70b6b0e8
games-fps/eduke32: drop old version
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 2 -
games-fps/eduke32/eduke32-20210624.9393.ebuild | 219 -------------------------
games-fps/eduke32/eduke32-20210707.9468.ebuild | 219 -------------------------
3 files changed, 440 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 188735c0e2b..2b45f6c9e8e 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,6 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20210624-9393-39e8f1852.tar.xz 20562500 BLAKE2B 46bb0fe5777040f3222c46ca5840b89f3173803891015a7a03344c87d8c7b00141e6838ed2ff6a74bd57b537bd61214e8ca7320b25dd103dc39056320ce51216 SHA512 59bd76fc35dc7031fe0a08fd5b2e3e24f4b8cc72fe410222f288457e8f290ebc5cf9a818961a45a4ca6086ebe4eb5d589185f254c1843169306a993dc0abf3c8
-DIST eduke32_src_20210707-9468-73aac5b2d.tar.xz 20683656 BLAKE2B 5dfab0d8f0cd35ae34f5190333ac89caca00edbfe5cf18f0b58b61ed9421f93f7cbc2757b7b07a34a06aa12897753e5bfafb46bb4cf1de9797e59fdf996c8f11 SHA512 426d5a6a1d9decb4deeac3125b91d9f0e7b7565771aca2013dd76f3749625185cb64d056a0c37ea24da0c1266965012a4485636eeb85df933f23c12136e08585
DIST eduke32_src_20210805-9498-54ac18bcf.tar.xz 20099028 BLAKE2B cae770fde1eda2d862d4483f8cc9d51bc800202752c0e666fb625a9d688b51efaae6d0d841767e36acacf78b675382c418d33d4f9a80778d33b1ac4d75281ee8 SHA512 a4cb0b56019207f61dfc092497082f5a4fb93a5ff76ab4cd9d76a9b7d3254ccf0be835052660e2243b067352514c38e83bb49c35cb098b70c5e4f5a33d952516
diff --git a/games-fps/eduke32/eduke32-20210624.9393.ebuild b/games-fps/eduke32/eduke32-20210624.9393.ebuild
deleted file mode 100644
index ffeb78796e3..00000000000
--- a/games-fps/eduke32/eduke32-20210624.9393.ebuild
+++ /dev/null
@@ -1,219 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="39e8f1852"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/flac
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/games-fps/eduke32/eduke32-20210707.9468.ebuild b/games-fps/eduke32/eduke32-20210707.9468.ebuild
deleted file mode 100644
index 81a188106b8..00000000000
--- a/games-fps/eduke32/eduke32-20210707.9468.ebuild
+++ /dev/null
@@ -1,219 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="73aac5b2d"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/flac
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-08-07 22:49 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-08-07 22:49 UTC (permalink / raw
To: gentoo-commits
commit: 20595f517e3d1048bfbe4fc3eb14cffa625e8cb2
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 7 22:46:35 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Aug 7 22:46:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20595f51
games-fps/eduke32: bump to version 20210805.9498
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20210805.9498.ebuild | 219 +++++++++++++++++++++++++
2 files changed, 220 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 3abf5dcfdcd..188735c0e2b 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -7,3 +7,4 @@ DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20210624-9393-39e8f1852.tar.xz 20562500 BLAKE2B 46bb0fe5777040f3222c46ca5840b89f3173803891015a7a03344c87d8c7b00141e6838ed2ff6a74bd57b537bd61214e8ca7320b25dd103dc39056320ce51216 SHA512 59bd76fc35dc7031fe0a08fd5b2e3e24f4b8cc72fe410222f288457e8f290ebc5cf9a818961a45a4ca6086ebe4eb5d589185f254c1843169306a993dc0abf3c8
DIST eduke32_src_20210707-9468-73aac5b2d.tar.xz 20683656 BLAKE2B 5dfab0d8f0cd35ae34f5190333ac89caca00edbfe5cf18f0b58b61ed9421f93f7cbc2757b7b07a34a06aa12897753e5bfafb46bb4cf1de9797e59fdf996c8f11 SHA512 426d5a6a1d9decb4deeac3125b91d9f0e7b7565771aca2013dd76f3749625185cb64d056a0c37ea24da0c1266965012a4485636eeb85df933f23c12136e08585
+DIST eduke32_src_20210805-9498-54ac18bcf.tar.xz 20099028 BLAKE2B cae770fde1eda2d862d4483f8cc9d51bc800202752c0e666fb625a9d688b51efaae6d0d841767e36acacf78b675382c418d33d4f9a80778d33b1ac4d75281ee8 SHA512 a4cb0b56019207f61dfc092497082f5a4fb93a5ff76ab4cd9d76a9b7d3254ccf0be835052660e2243b067352514c38e83bb49c35cb098b70c5e4f5a33d952516
diff --git a/games-fps/eduke32/eduke32-20210805.9498.ebuild b/games-fps/eduke32/eduke32-20210805.9498.ebuild
new file mode 100644
index 00000000000..c781946c5fb
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20210805.9498.ebuild
@@ -0,0 +1,219 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="54ac18bcf"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-09-18 22:09 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-09-18 22:09 UTC (permalink / raw
To: gentoo-commits
commit: 186c385d4a8f48accae1e9b494f25fc10245fa2f
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 18 22:06:38 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Sep 18 22:09:22 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186c385d
games-fps/eduke32: bump to version 20210917.9605
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20210917.9605.ebuild | 219 +++++++++++++++++++++++++
2 files changed, 220 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 2b45f6c9e8e..94cdaf99c27 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20210805-9498-54ac18bcf.tar.xz 20099028 BLAKE2B cae770fde1eda2d862d4483f8cc9d51bc800202752c0e666fb625a9d688b51efaae6d0d841767e36acacf78b675382c418d33d4f9a80778d33b1ac4d75281ee8 SHA512 a4cb0b56019207f61dfc092497082f5a4fb93a5ff76ab4cd9d76a9b7d3254ccf0be835052660e2243b067352514c38e83bb49c35cb098b70c5e4f5a33d952516
+DIST eduke32_src_20210917-9605-71c5ce090.tar.xz 20110232 BLAKE2B e6cfcda18f6e71a6ef3f1dffcdeebce9b8e261ef0744feb3b3fe5b83caba7b3a355f98b64d051fd174d690c98c36b78edb660765d8ecd147517229f335b60bf8 SHA512 b0a03174f53d3932ad9ca5f5c04413dc434e8234a56a0d9acf9b22afb3d2ddc380b9797928f68dde317d1fffefee6ad80e60f385e70be1f7628ca264f36536df
diff --git a/games-fps/eduke32/eduke32-20210917.9605.ebuild b/games-fps/eduke32/eduke32-20210917.9605.ebuild
new file mode 100644
index 00000000000..4349e3c0f31
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20210917.9605.ebuild
@@ -0,0 +1,219 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="71c5ce090"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-09-18 22:09 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-09-18 22:09 UTC (permalink / raw
To: gentoo-commits
commit: f0202c6f197c55f95c642377b04cc46442c5fd9a
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 18 22:07:33 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Sep 18 22:09:23 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0202c6f
games-fps/eduke32: drop old version
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20210805.9498.ebuild | 219 -------------------------
2 files changed, 220 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 94cdaf99c27..ebe182f1cc4 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20210805-9498-54ac18bcf.tar.xz 20099028 BLAKE2B cae770fde1eda2d862d4483f8cc9d51bc800202752c0e666fb625a9d688b51efaae6d0d841767e36acacf78b675382c418d33d4f9a80778d33b1ac4d75281ee8 SHA512 a4cb0b56019207f61dfc092497082f5a4fb93a5ff76ab4cd9d76a9b7d3254ccf0be835052660e2243b067352514c38e83bb49c35cb098b70c5e4f5a33d952516
DIST eduke32_src_20210917-9605-71c5ce090.tar.xz 20110232 BLAKE2B e6cfcda18f6e71a6ef3f1dffcdeebce9b8e261ef0744feb3b3fe5b83caba7b3a355f98b64d051fd174d690c98c36b78edb660765d8ecd147517229f335b60bf8 SHA512 b0a03174f53d3932ad9ca5f5c04413dc434e8234a56a0d9acf9b22afb3d2ddc380b9797928f68dde317d1fffefee6ad80e60f385e70be1f7628ca264f36536df
diff --git a/games-fps/eduke32/eduke32-20210805.9498.ebuild b/games-fps/eduke32/eduke32-20210805.9498.ebuild
deleted file mode 100644
index c781946c5fb..00000000000
--- a/games-fps/eduke32/eduke32-20210805.9498.ebuild
+++ /dev/null
@@ -1,219 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="54ac18bcf"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/flac
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-10-23 12:27 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-10-23 12:27 UTC (permalink / raw
To: gentoo-commits
commit: 549cf718c4d92ed17088178d2181ec8cc05570c7
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 23 12:22:03 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Oct 23 12:26:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549cf718
games-fps/eduke32: bump to version 20211010.9722
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20211010.9722.ebuild | 218 +++++++++++++++++++++++++
2 files changed, 219 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index ebe182f1cc4..37ccd596cc1 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20210917-9605-71c5ce090.tar.xz 20110232 BLAKE2B e6cfcda18f6e71a6ef3f1dffcdeebce9b8e261ef0744feb3b3fe5b83caba7b3a355f98b64d051fd174d690c98c36b78edb660765d8ecd147517229f335b60bf8 SHA512 b0a03174f53d3932ad9ca5f5c04413dc434e8234a56a0d9acf9b22afb3d2ddc380b9797928f68dde317d1fffefee6ad80e60f385e70be1f7628ca264f36536df
+DIST eduke32_src_20211010-9722-d307f703c.tar.xz 19792456 BLAKE2B 91f42947e0ab2c9e1ff4d3fb7e9018c0549461b92fc421150b7a3d0b110d82c1734d8dfd522b76eee12de059d7040b5c6f6ed771d11a7f7c68532b98bbb2878f SHA512 6c0836e18b38de37ec86db6df3e53c53e3c269960ca512640324a25093f696cd1711b252871784c3c08bcacaccea1b7ce5c98254683cc5bb5be663424ba455b9
diff --git a/games-fps/eduke32/eduke32-20211010.9722.ebuild b/games-fps/eduke32/eduke32-20211010.9722.ebuild
new file mode 100644
index 00000000000..84f830d6098
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20211010.9722.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="d307f703c"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-10-23 12:27 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-10-23 12:27 UTC (permalink / raw
To: gentoo-commits
commit: ba131efbac15be2884fb3c33555db40d2986da68
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 23 12:25:42 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Oct 23 12:27:01 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba131efb
games-fps/eduke32: drop old version
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20210917.9605.ebuild | 219 -------------------------
2 files changed, 220 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 37ccd596cc1..7668c79efe6 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20210917-9605-71c5ce090.tar.xz 20110232 BLAKE2B e6cfcda18f6e71a6ef3f1dffcdeebce9b8e261ef0744feb3b3fe5b83caba7b3a355f98b64d051fd174d690c98c36b78edb660765d8ecd147517229f335b60bf8 SHA512 b0a03174f53d3932ad9ca5f5c04413dc434e8234a56a0d9acf9b22afb3d2ddc380b9797928f68dde317d1fffefee6ad80e60f385e70be1f7628ca264f36536df
DIST eduke32_src_20211010-9722-d307f703c.tar.xz 19792456 BLAKE2B 91f42947e0ab2c9e1ff4d3fb7e9018c0549461b92fc421150b7a3d0b110d82c1734d8dfd522b76eee12de059d7040b5c6f6ed771d11a7f7c68532b98bbb2878f SHA512 6c0836e18b38de37ec86db6df3e53c53e3c269960ca512640324a25093f696cd1711b252871784c3c08bcacaccea1b7ce5c98254683cc5bb5be663424ba455b9
diff --git a/games-fps/eduke32/eduke32-20210917.9605.ebuild b/games-fps/eduke32/eduke32-20210917.9605.ebuild
deleted file mode 100644
index 4349e3c0f31..00000000000
--- a/games-fps/eduke32/eduke32-20210917.9605.ebuild
+++ /dev/null
@@ -1,219 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="71c5ce090"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-RDEPEND="
- media-libs/flac
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-12-05 21:45 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-12-05 21:45 UTC (permalink / raw
To: gentoo-commits
commit: 1bfba74c47e0b553cbe898ef9d7e5ca04ca7abec
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 5 21:39:20 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Dec 5 21:45:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bfba74c
games-fps/eduke32: add 20211202.9831
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20211202.9831.ebuild | 218 +++++++++++++++++++++++++
2 files changed, 219 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 7668c79efe67..c58ba7b2015d 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20211010-9722-d307f703c.tar.xz 19792456 BLAKE2B 91f42947e0ab2c9e1ff4d3fb7e9018c0549461b92fc421150b7a3d0b110d82c1734d8dfd522b76eee12de059d7040b5c6f6ed771d11a7f7c68532b98bbb2878f SHA512 6c0836e18b38de37ec86db6df3e53c53e3c269960ca512640324a25093f696cd1711b252871784c3c08bcacaccea1b7ce5c98254683cc5bb5be663424ba455b9
+DIST eduke32_src_20211202-9831-a7ab79e69.tar.xz 19902936 BLAKE2B 9626a23599f0f187ace392abb47212908b991e3970043fa22382b2396f5617f3004e38117d39c4b191c857a5cd2662b5eefb6102390fd88c67fa47631e3cac5c SHA512 ab1cfe3fbbaa65d4e7ad2d9d7d39b8970a8ce4d9531f348770f62edee5d85438d9a382e618c88c637f23e5b5792c905f30fcbb56202ec56a9284e25697dd9b72
diff --git a/games-fps/eduke32/eduke32-20211202.9831.ebuild b/games-fps/eduke32/eduke32-20211202.9831.ebuild
new file mode 100644
index 000000000000..514385fafcab
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20211202.9831.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="a7ab79e69"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS=$(tc-getAS)
+ CC=$(tc-getCC)
+ CXX=$(tc-getCXX)
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2021-12-05 21:45 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2021-12-05 21:45 UTC (permalink / raw
To: gentoo-commits
commit: ae3a73873bf7dc3e705d399e6b47df91c8cc6958
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 5 21:39:46 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Dec 5 21:45:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae3a7387
games-fps/eduke32: drop 20211010.9722
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20211010.9722.ebuild | 218 -------------------------
2 files changed, 219 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index c58ba7b2015d..f9043b865887 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20211010-9722-d307f703c.tar.xz 19792456 BLAKE2B 91f42947e0ab2c9e1ff4d3fb7e9018c0549461b92fc421150b7a3d0b110d82c1734d8dfd522b76eee12de059d7040b5c6f6ed771d11a7f7c68532b98bbb2878f SHA512 6c0836e18b38de37ec86db6df3e53c53e3c269960ca512640324a25093f696cd1711b252871784c3c08bcacaccea1b7ce5c98254683cc5bb5be663424ba455b9
DIST eduke32_src_20211202-9831-a7ab79e69.tar.xz 19902936 BLAKE2B 9626a23599f0f187ace392abb47212908b991e3970043fa22382b2396f5617f3004e38117d39c4b191c857a5cd2662b5eefb6102390fd88c67fa47631e3cac5c SHA512 ab1cfe3fbbaa65d4e7ad2d9d7d39b8970a8ce4d9531f348770f62edee5d85438d9a382e618c88c637f23e5b5792c905f30fcbb56202ec56a9284e25697dd9b72
diff --git a/games-fps/eduke32/eduke32-20211010.9722.ebuild b/games-fps/eduke32/eduke32-20211010.9722.ebuild
deleted file mode 100644
index 84f830d60983..000000000000
--- a/games-fps/eduke32/eduke32-20211010.9722.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="d307f703c"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-RDEPEND="
- media-libs/flac
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2022-03-19 23:39 Sam James
0 siblings, 0 replies; 98+ messages in thread
From: Sam James @ 2022-03-19 23:39 UTC (permalink / raw
To: gentoo-commits
commit: decc1eda51297921af4003ebf66fe1777eae794f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 19 23:37:48 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 23:37:48 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=decc1eda
games-fps/eduke32: [QA] fix tc-get* quoting
This can cause build problems for e.g. 32-bit (gcc -m32 ...)
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-fps/eduke32/eduke32-20211202.9831.ebuild | 8 ++++----
games-fps/eduke32/eduke32-20220204.9957.ebuild | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/games-fps/eduke32/eduke32-20211202.9831.ebuild b/games-fps/eduke32/eduke32-20211202.9831.ebuild
index 514385fafcab..5381e50eb485 100644
--- a/games-fps/eduke32/eduke32-20211202.9831.ebuild
+++ b/games-fps/eduke32/eduke32-20211202.9831.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -108,9 +108,9 @@ src_unpack() {
src_compile() {
local myemakeopts=(
ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
CLANG=0
CPLUSPLUS=1
CUSTOMOPT=""
diff --git a/games-fps/eduke32/eduke32-20220204.9957.ebuild b/games-fps/eduke32/eduke32-20220204.9957.ebuild
index ed27b1dc402c..065285a52412 100644
--- a/games-fps/eduke32/eduke32-20220204.9957.ebuild
+++ b/games-fps/eduke32/eduke32-20220204.9957.ebuild
@@ -109,9 +109,9 @@ src_unpack() {
src_compile() {
local myemakeopts=(
ALLOCACHE_AS_MALLOC=0
- AS=$(tc-getAS)
- CC=$(tc-getCC)
- CXX=$(tc-getCXX)
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
CLANG=0
CPLUSPLUS=1
CUSTOMOPT=""
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2022-04-23 21:24 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2022-04-23 21:24 UTC (permalink / raw
To: gentoo-commits
commit: c71d3080440d48deccd42b4cee4030ecbc01b0fb
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 23 21:21:59 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 21:21:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c71d3080
games-fps/eduke32: add 20220422.10033
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20220422.10033.ebuild | 218 ++++++++++++++++++++++++
2 files changed, 219 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index c3fb9549f2a7..ba3d986cf11c 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -7,3 +7,4 @@ DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20211202-9831-a7ab79e69.tar.xz 19902936 BLAKE2B 9626a23599f0f187ace392abb47212908b991e3970043fa22382b2396f5617f3004e38117d39c4b191c857a5cd2662b5eefb6102390fd88c67fa47631e3cac5c SHA512 ab1cfe3fbbaa65d4e7ad2d9d7d39b8970a8ce4d9531f348770f62edee5d85438d9a382e618c88c637f23e5b5792c905f30fcbb56202ec56a9284e25697dd9b72
DIST eduke32_src_20220204-9957-6df591a07.tar.xz 20207948 BLAKE2B 2c907520c2ea6545000ca7daaf197cab745b46c14ccd2d199a2d2587a398fbff34b705a985dd898c6f28363daffa75d854efadfa38af15a77173cf762035dc02 SHA512 ca70bb49e8470a2af54857d743418933c98b3af245b3488b840aefb234ba08dc6ff288f9a44594b7e7c612dd9318523cfda5a86c737668c0f6de9eea84e8996f
+DIST eduke32_src_20220422-10033-3927367ba.tar.xz 20777836 BLAKE2B 7c62a831c8daa5ba2f30e4dd80261aad87cb808eca28d0036f116c537de4d14b3fc2ca6fd325379aca21e7a2a6ab01dccce16907e108d932d5d62e3e0228aca5 SHA512 aac039500e9babc85d50d616868abff145ea145b3f53e9512c905acc084e9a193a7e0bbbd18c9976ad8ad306deccf6e23a66686edb06970b4b943a31938f0229
diff --git a/games-fps/eduke32/eduke32-20220422.10033.ebuild b/games-fps/eduke32/eduke32-20220422.10033.ebuild
new file mode 100644
index 000000000000..cb1de6ec3bd9
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20220422.10033.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="3927367ba"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+ "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2022-06-25 14:35 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2022-06-25 14:35 UTC (permalink / raw
To: gentoo-commits
commit: db6217eee5f28559e353d7f6d1be9df769c540e7
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 14:25:28 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 14:34:51 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db6217ee
games-fps/eduke32: add ~ppc64 keyword
Thanks to ernsteiswuerfel for testing!
Bug: https://bugs.gentoo.org/850487
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/eduke32-20220422.10033.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/eduke32/eduke32-20220422.10033.ebuild b/games-fps/eduke32/eduke32-20220422.10033.ebuild
index cb1de6ec3bd9..901f38083b87 100644
--- a/games-fps/eduke32/eduke32-20220422.10033.ebuild
+++ b/games-fps/eduke32/eduke32-20220422.10033.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
LICENSE="BUILDLIC GPL-2 HRP"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
REQUIRED_USE="
hrp? ( duke3d !voxels )
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2022-06-25 14:57 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2022-06-25 14:57 UTC (permalink / raw
To: gentoo-commits
commit: b5ab8560934260835ca69ef0b5bcb018a3e5c304
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 14:56:20 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 14:56:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5ab8560
games-fps/eduke32: fix keyword
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/eduke32-20220422.10033.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/eduke32/eduke32-20220422.10033.ebuild b/games-fps/eduke32/eduke32-20220422.10033.ebuild
index 901f38083b87..e3608e25cc4c 100644
--- a/games-fps/eduke32/eduke32-20220422.10033.ebuild
+++ b/games-fps/eduke32/eduke32-20220422.10033.ebuild
@@ -31,7 +31,7 @@ S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
LICENSE="BUILDLIC GPL-2 HRP"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
REQUIRED_USE="
hrp? ( duke3d !voxels )
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2022-07-10 20:11 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2022-07-10 20:11 UTC (permalink / raw
To: gentoo-commits
commit: daaf99b856d1a6395d98d6bf691209df90958f6b
Author: ccharon <christian.charon <AT> mailbox <DOT> org>
AuthorDate: Wed Jul 6 12:24:03 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jul 10 20:09:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daaf99b8
eduke version 20220702.10113
Signed-off-by: Christian Charon <christian.charon <AT> mailbox.org>
Closes: https://github.com/gentoo/gentoo/pull/26242
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20220702.10113.ebuild | 218 ++++++++++++++++++++++++
2 files changed, 219 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index eb88cc015b64..631203f47101 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20220422-10033-3927367ba.tar.xz 20777836 BLAKE2B 7c62a831c8daa5ba2f30e4dd80261aad87cb808eca28d0036f116c537de4d14b3fc2ca6fd325379aca21e7a2a6ab01dccce16907e108d932d5d62e3e0228aca5 SHA512 aac039500e9babc85d50d616868abff145ea145b3f53e9512c905acc084e9a193a7e0bbbd18c9976ad8ad306deccf6e23a66686edb06970b4b943a31938f0229
+DIST eduke32_src_20220702-10113-e27a7b621.tar.xz 20787584 BLAKE2B 977dddf96f54fd2e30de148de16e62a27b736acdb0d17e1d4fef7991b601c141c1242257bb7bed25d50baba4dff04aa3bdc060d4f83ba98fd724342de588c0dc SHA512 fe9ff5444934a4a0c10db9723a3ef317ac7aab55ccbdaf62ffabbd557e91537b92127d16231afff3a4bd9baadae559ff8cd8c3f2d02909a0d8267352fcac01fa
diff --git a/games-fps/eduke32/eduke32-20220702.10113.ebuild b/games-fps/eduke32/eduke32-20220702.10113.ebuild
new file mode 100644
index 000000000000..7af7c7289a38
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20220702.10113.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="e27a7b621"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ https://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+RDEPEND="
+ media-libs/flac
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+ "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2022-08-11 7:37 Ionen Wolkens
0 siblings, 0 replies; 98+ messages in thread
From: Ionen Wolkens @ 2022-08-11 7:37 UTC (permalink / raw
To: gentoo-commits
commit: 695bdbfb4f53508f83dec59adb270b87a08300a4
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 11 06:07:36 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Aug 11 07:37:08 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=695bdbfb
games-fps/eduke32: drop 20220422.10033
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20220422.10033.ebuild | 218 ------------------------
2 files changed, 219 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 631203f47101..187d57d23b77 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20220422-10033-3927367ba.tar.xz 20777836 BLAKE2B 7c62a831c8daa5ba2f30e4dd80261aad87cb808eca28d0036f116c537de4d14b3fc2ca6fd325379aca21e7a2a6ab01dccce16907e108d932d5d62e3e0228aca5 SHA512 aac039500e9babc85d50d616868abff145ea145b3f53e9512c905acc084e9a193a7e0bbbd18c9976ad8ad306deccf6e23a66686edb06970b4b943a31938f0229
DIST eduke32_src_20220702-10113-e27a7b621.tar.xz 20787584 BLAKE2B 977dddf96f54fd2e30de148de16e62a27b736acdb0d17e1d4fef7991b601c141c1242257bb7bed25d50baba4dff04aa3bdc060d4f83ba98fd724342de588c0dc SHA512 fe9ff5444934a4a0c10db9723a3ef317ac7aab55ccbdaf62ffabbd557e91537b92127d16231afff3a4bd9baadae559ff8cd8c3f2d02909a0d8267352fcac01fa
diff --git a/games-fps/eduke32/eduke32-20220422.10033.ebuild b/games-fps/eduke32/eduke32-20220422.10033.ebuild
deleted file mode 100644
index e3608e25cc4c..000000000000
--- a/games-fps/eduke32/eduke32-20220422.10033.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="3927367ba"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-RDEPEND="
- media-libs/flac
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
- "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)"
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2022-09-10 8:41 Sam James
0 siblings, 0 replies; 98+ messages in thread
From: Sam James @ 2022-09-10 8:41 UTC (permalink / raw
To: gentoo-commits
commit: 2bb71adb5ea7d1330f6c175c3a9a493f637cee95
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 10 08:34:42 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 10 08:40:31 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bb71adb
games-fps/eduke32: add media-libs/flac subslot dep
media-libs/flac-1.4.0 breaks ABI.
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{eduke32-20220702.10113.ebuild => eduke32-20220702.10113-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/eduke32/eduke32-20220702.10113.ebuild b/games-fps/eduke32/eduke32-20220702.10113-r1.ebuild
similarity index 99%
rename from games-fps/eduke32/eduke32-20220702.10113.ebuild
rename to games-fps/eduke32/eduke32-20220702.10113-r1.ebuild
index 7af7c7289a38..507d1496e3b8 100644
--- a/games-fps/eduke32/eduke32-20220702.10113.ebuild
+++ b/games-fps/eduke32/eduke32-20220702.10113-r1.ebuild
@@ -48,7 +48,7 @@ REQUIRED_USE="
RESTRICT="bindist test"
RDEPEND="
- media-libs/flac
+ media-libs/flac:=
media-libs/libogg
media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
media-libs/libvorbis
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2022-10-01 23:33 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2022-10-01 23:33 UTC (permalink / raw
To: gentoo-commits
commit: 8d0d6f71b2c84e8da9d1e03479fc68cb21bbb850
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 1 23:32:54 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Oct 1 23:32:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d0d6f71
games-fps/eduke32: drop 20220702.10113-r1
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20220702.10113-r1.ebuild | 218 ---------------------
2 files changed, 219 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index bec43471d7b0..b0c9b5e269d1 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20220702-10113-e27a7b621.tar.xz 20787584 BLAKE2B 977dddf96f54fd2e30de148de16e62a27b736acdb0d17e1d4fef7991b601c141c1242257bb7bed25d50baba4dff04aa3bdc060d4f83ba98fd724342de588c0dc SHA512 fe9ff5444934a4a0c10db9723a3ef317ac7aab55ccbdaf62ffabbd557e91537b92127d16231afff3a4bd9baadae559ff8cd8c3f2d02909a0d8267352fcac01fa
DIST eduke32_src_20220929-10163-2b3f691cd.tar.xz 17454664 BLAKE2B d574adf1bb76107f9dad1683965e55e404b520e5090924750ea62a69c9c9b1328f89717970e1fd2ccec8b35a4eab3d370acd60c6e80218c06dfb3106d273448b SHA512 db8fd5b3d89e7f1ee3c24abc9e118ad847f763f565b23d987b2f51ee81984c12f5d034f6e0501b4e70a9e822d3f542933921b51598d2c2711e0a54e4d942aba2
diff --git a/games-fps/eduke32/eduke32-20220702.10113-r1.ebuild b/games-fps/eduke32/eduke32-20220702.10113-r1.ebuild
deleted file mode 100644
index 507d1496e3b8..000000000000
--- a/games-fps/eduke32/eduke32-20220702.10113-r1.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="e27a7b621"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- https://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-RDEPEND="
- media-libs/flac:=
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
- "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)"
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2022-10-01 23:33 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2022-10-01 23:33 UTC (permalink / raw
To: gentoo-commits
commit: db28e36b3217d50df776794abdaa34575e1de362
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 1 23:32:30 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Oct 1 23:32:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db28e36b
games-fps/eduke32: add 20220929.10163
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20220929.10163.ebuild | 218 ++++++++++++++++++++++++
2 files changed, 219 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 187d57d23b77..bec43471d7b0 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20220702-10113-e27a7b621.tar.xz 20787584 BLAKE2B 977dddf96f54fd2e30de148de16e62a27b736acdb0d17e1d4fef7991b601c141c1242257bb7bed25d50baba4dff04aa3bdc060d4f83ba98fd724342de588c0dc SHA512 fe9ff5444934a4a0c10db9723a3ef317ac7aab55ccbdaf62ffabbd557e91537b92127d16231afff3a4bd9baadae559ff8cd8c3f2d02909a0d8267352fcac01fa
+DIST eduke32_src_20220929-10163-2b3f691cd.tar.xz 17454664 BLAKE2B d574adf1bb76107f9dad1683965e55e404b520e5090924750ea62a69c9c9b1328f89717970e1fd2ccec8b35a4eab3d370acd60c6e80218c06dfb3106d273448b SHA512 db8fd5b3d89e7f1ee3c24abc9e118ad847f763f565b23d987b2f51ee81984c12f5d034f6e0501b4e70a9e822d3f542933921b51598d2c2711e0a54e4d942aba2
diff --git a/games-fps/eduke32/eduke32-20220929.10163.ebuild b/games-fps/eduke32/eduke32-20220929.10163.ebuild
new file mode 100644
index 000000000000..2f5ecdbccaa1
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20220929.10163.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="2b3f691cd"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+RDEPEND="
+ media-libs/flac:=
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+ "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2022-11-15 22:41 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2022-11-15 22:41 UTC (permalink / raw
To: gentoo-commits
commit: ee65276e5db088fbf1e74b57356bc1c3d4438edd
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 15 22:37:41 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 22:39:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee65276e
games-fps/eduke32: add 20221026.10165
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20221026.10165.ebuild | 218 ++++++++++++++++++++++++
2 files changed, 219 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index b0c9b5e269d1..52830c4d37c7 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20220929-10163-2b3f691cd.tar.xz 17454664 BLAKE2B d574adf1bb76107f9dad1683965e55e404b520e5090924750ea62a69c9c9b1328f89717970e1fd2ccec8b35a4eab3d370acd60c6e80218c06dfb3106d273448b SHA512 db8fd5b3d89e7f1ee3c24abc9e118ad847f763f565b23d987b2f51ee81984c12f5d034f6e0501b4e70a9e822d3f542933921b51598d2c2711e0a54e4d942aba2
+DIST eduke32_src_20221026-10165-a9c797dcb.tar.xz 17452524 BLAKE2B a133a9981a571b807e87cc3a6ee096d5680344ea5edb456734c4c1af995137e5c517df2f298c07fd89fea7bfa23beaaac57c2f8c20755f0bd8d70132ae3b7d0e SHA512 c705362ea655fb7ac23c11d0c980d8584499e2fd73a97f4c0b02624e915c93f7cb721020c090cac8b3c6ecd51396a111058e3209c8e67679e4974d7352745606
diff --git a/games-fps/eduke32/eduke32-20221026.10165.ebuild b/games-fps/eduke32/eduke32-20221026.10165.ebuild
new file mode 100644
index 000000000000..c9bf56250e42
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20221026.10165.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="a9c797dcb"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+RDEPEND="
+ media-libs/flac:=
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+ "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2022-11-15 22:41 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2022-11-15 22:41 UTC (permalink / raw
To: gentoo-commits
commit: e963dd5b10aefc486e06751295444baf8fede6ed
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 15 22:38:02 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 22:39:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e963dd5b
games-fps/eduke32: drop 20220929.10163
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20220929.10163.ebuild | 218 ------------------------
2 files changed, 219 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 52830c4d37c7..a7341c07e434 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20220929-10163-2b3f691cd.tar.xz 17454664 BLAKE2B d574adf1bb76107f9dad1683965e55e404b520e5090924750ea62a69c9c9b1328f89717970e1fd2ccec8b35a4eab3d370acd60c6e80218c06dfb3106d273448b SHA512 db8fd5b3d89e7f1ee3c24abc9e118ad847f763f565b23d987b2f51ee81984c12f5d034f6e0501b4e70a9e822d3f542933921b51598d2c2711e0a54e4d942aba2
DIST eduke32_src_20221026-10165-a9c797dcb.tar.xz 17452524 BLAKE2B a133a9981a571b807e87cc3a6ee096d5680344ea5edb456734c4c1af995137e5c517df2f298c07fd89fea7bfa23beaaac57c2f8c20755f0bd8d70132ae3b7d0e SHA512 c705362ea655fb7ac23c11d0c980d8584499e2fd73a97f4c0b02624e915c93f7cb721020c090cac8b3c6ecd51396a111058e3209c8e67679e4974d7352745606
diff --git a/games-fps/eduke32/eduke32-20220929.10163.ebuild b/games-fps/eduke32/eduke32-20220929.10163.ebuild
deleted file mode 100644
index 2f5ecdbccaa1..000000000000
--- a/games-fps/eduke32/eduke32-20220929.10163.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="2b3f691cd"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-RDEPEND="
- media-libs/flac:=
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
- "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)"
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2023-01-31 15:17 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2023-01-31 15:17 UTC (permalink / raw
To: gentoo-commits
commit: 3ef3896e20b9997e4379c731104d131ee38a1f2b
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 31 15:15:08 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Jan 31 15:15:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ef3896e
games-fps/eduke32: drop 20221026.10165
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20221026.10165.ebuild | 218 ------------------------
2 files changed, 219 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index cb6c76a502c6..a8203f4a22d7 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20221026-10165-a9c797dcb.tar.xz 17452524 BLAKE2B a133a9981a571b807e87cc3a6ee096d5680344ea5edb456734c4c1af995137e5c517df2f298c07fd89fea7bfa23beaaac57c2f8c20755f0bd8d70132ae3b7d0e SHA512 c705362ea655fb7ac23c11d0c980d8584499e2fd73a97f4c0b02624e915c93f7cb721020c090cac8b3c6ecd51396a111058e3209c8e67679e4974d7352745606
DIST eduke32_src_20230123-10167-1a90b9883.tar.xz 17453612 BLAKE2B 763624f23ccafb340decd879d9906fdf59403f303bb6dd628ca41fae1217cd07cb3b61115101098ce6f897b16ed0783147e7d3c8138af586f23e90b7ea4a920f SHA512 beae1c9a34656530bb031eea9847339af0e28ff9dba029d2ae3539bd726c17f74b3b4929d6fa46c04b1966f985b97dcfd5a5da253d2ecc89d2b50d9ecefacea6
diff --git a/games-fps/eduke32/eduke32-20221026.10165.ebuild b/games-fps/eduke32/eduke32-20221026.10165.ebuild
deleted file mode 100644
index c9bf56250e42..000000000000
--- a/games-fps/eduke32/eduke32-20221026.10165.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="a9c797dcb"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-RDEPEND="
- media-libs/flac:=
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
- "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)"
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2023-01-31 15:17 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2023-01-31 15:17 UTC (permalink / raw
To: gentoo-commits
commit: b55fd526e721633f2c4826f0b19b86ef9838bf7c
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 31 15:14:30 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Jan 31 15:15:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b55fd526
games-fps/eduke32: add 20230123.10167
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20230123.10167.ebuild | 218 ++++++++++++++++++++++++
2 files changed, 219 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index a7341c07e434..cb6c76a502c6 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20221026-10165-a9c797dcb.tar.xz 17452524 BLAKE2B a133a9981a571b807e87cc3a6ee096d5680344ea5edb456734c4c1af995137e5c517df2f298c07fd89fea7bfa23beaaac57c2f8c20755f0bd8d70132ae3b7d0e SHA512 c705362ea655fb7ac23c11d0c980d8584499e2fd73a97f4c0b02624e915c93f7cb721020c090cac8b3c6ecd51396a111058e3209c8e67679e4974d7352745606
+DIST eduke32_src_20230123-10167-1a90b9883.tar.xz 17453612 BLAKE2B 763624f23ccafb340decd879d9906fdf59403f303bb6dd628ca41fae1217cd07cb3b61115101098ce6f897b16ed0783147e7d3c8138af586f23e90b7ea4a920f SHA512 beae1c9a34656530bb031eea9847339af0e28ff9dba029d2ae3539bd726c17f74b3b4929d6fa46c04b1966f985b97dcfd5a5da253d2ecc89d2b50d9ecefacea6
diff --git a/games-fps/eduke32/eduke32-20230123.10167.ebuild b/games-fps/eduke32/eduke32-20230123.10167.ebuild
new file mode 100644
index 000000000000..20194e48fa48
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20230123.10167.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="1a90b9883"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+RDEPEND="
+ media-libs/flac:=
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+ "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2023-08-26 23:42 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2023-08-26 23:42 UTC (permalink / raw
To: gentoo-commits
commit: 374e4b822d0848331f53a533aa69dfc7da716ede
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 26 23:02:04 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Aug 26 23:42:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=374e4b82
games-fps/eduke32: add 20230826.10364
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20230826.10364.ebuild | 218 ++++++++++++++++++++++++
2 files changed, 219 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index a8203f4a22d7..8e040c3bffe2 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20230123-10167-1a90b9883.tar.xz 17453612 BLAKE2B 763624f23ccafb340decd879d9906fdf59403f303bb6dd628ca41fae1217cd07cb3b61115101098ce6f897b16ed0783147e7d3c8138af586f23e90b7ea4a920f SHA512 beae1c9a34656530bb031eea9847339af0e28ff9dba029d2ae3539bd726c17f74b3b4929d6fa46c04b1966f985b97dcfd5a5da253d2ecc89d2b50d9ecefacea6
+DIST eduke32_src_20230826-10364-c257d5a65.tar.xz 18711604 BLAKE2B ea4cb72f58aad0336e36ac0509701f51f84c2255e57c1440c0fb581f708a20e31b73406211b657f453b19d74de5e4ddfd8accc278af09901f7cff75456f33966 SHA512 2c0f065dcb39c91931d3b4cb9822bb2d976f7771b3119d75f241ee052400c2f0cce0b56d46fdd3c1cf873c91722f932f433828d0e7d95ead1d146d1ea433f999
diff --git a/games-fps/eduke32/eduke32-20230826.10364.ebuild b/games-fps/eduke32/eduke32-20230826.10364.ebuild
new file mode 100644
index 000000000000..6ba5145aa6f4
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20230826.10364.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="c257d5a65"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+RDEPEND="
+ media-libs/flac:=
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+ "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ TANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2023-08-26 23:42 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2023-08-26 23:42 UTC (permalink / raw
To: gentoo-commits
commit: a88a578a40ee047b46f42cc279981408089cc585
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 26 23:02:16 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Aug 26 23:42:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a88a578a
games-fps/eduke32: drop 20230123.10167
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20230123.10167.ebuild | 218 ------------------------
2 files changed, 219 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 8e040c3bffe2..75c0ddb61586 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20230123-10167-1a90b9883.tar.xz 17453612 BLAKE2B 763624f23ccafb340decd879d9906fdf59403f303bb6dd628ca41fae1217cd07cb3b61115101098ce6f897b16ed0783147e7d3c8138af586f23e90b7ea4a920f SHA512 beae1c9a34656530bb031eea9847339af0e28ff9dba029d2ae3539bd726c17f74b3b4929d6fa46c04b1966f985b97dcfd5a5da253d2ecc89d2b50d9ecefacea6
DIST eduke32_src_20230826-10364-c257d5a65.tar.xz 18711604 BLAKE2B ea4cb72f58aad0336e36ac0509701f51f84c2255e57c1440c0fb581f708a20e31b73406211b657f453b19d74de5e4ddfd8accc278af09901f7cff75456f33966 SHA512 2c0f065dcb39c91931d3b4cb9822bb2d976f7771b3119d75f241ee052400c2f0cce0b56d46fdd3c1cf873c91722f932f433828d0e7d95ead1d146d1ea433f999
diff --git a/games-fps/eduke32/eduke32-20230123.10167.ebuild b/games-fps/eduke32/eduke32-20230123.10167.ebuild
deleted file mode 100644
index 20194e48fa48..000000000000
--- a/games-fps/eduke32/eduke32-20230123.10167.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="1a90b9883"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-RDEPEND="
- media-libs/flac:=
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch"
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
- "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)"
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- TANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2023-09-17 21:41 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2023-09-17 21:41 UTC (permalink / raw
To: gentoo-commits
commit: c31cd291b2dbb3ad5137cd9f4eba5812c84df977
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 17 21:02:16 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Sep 17 21:40:48 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c31cd291
games-fps/eduke32: fix typo
Closes: https://bugs.gentoo.org/914245
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/eduke32-20230826.10364.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/eduke32/eduke32-20230826.10364.ebuild b/games-fps/eduke32/eduke32-20230826.10364.ebuild
index 6ba5145aa6f4..ae52591f3f38 100644
--- a/games-fps/eduke32/eduke32-20230826.10364.ebuild
+++ b/games-fps/eduke32/eduke32-20230826.10364.ebuild
@@ -139,7 +139,7 @@ src_compile() {
SDL_TARGET=2
SIMPLE_MENU=0
STRIP=""
- TANDALONE=0
+ STANDALONE=0
STARTUP_WINDOW=$(usex gtk 1 0)
USE_OPENGL=$(usex opengl 1 0)
USE_LIBVPX=$(usex vpx 1 0)
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2023-10-02 18:40 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2023-10-02 18:40 UTC (permalink / raw
To: gentoo-commits
commit: e82662c38400b4209fee426e8afc781cf1630291
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 2 18:38:04 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Oct 2 18:40:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e82662c3
games-fps/eduke32: add 20230926.10459, drop 20230826.10364
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 2 +-
.../{eduke32-20230826.10364.ebuild => eduke32-20230926.10459.ebuild} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 75c0ddb61586..ac986352011a 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,4 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20230826-10364-c257d5a65.tar.xz 18711604 BLAKE2B ea4cb72f58aad0336e36ac0509701f51f84c2255e57c1440c0fb581f708a20e31b73406211b657f453b19d74de5e4ddfd8accc278af09901f7cff75456f33966 SHA512 2c0f065dcb39c91931d3b4cb9822bb2d976f7771b3119d75f241ee052400c2f0cce0b56d46fdd3c1cf873c91722f932f433828d0e7d95ead1d146d1ea433f999
+DIST eduke32_src_20230926-10459-8feaf6c25.tar.xz 19141676 BLAKE2B 387d56f09d98a661d0518ddc23420b42f955d2285bc9075e6cec1a60ba6d814ee96e3452c92cb57dd0a82949f7f353186b92eca912fa184c7bb0941413c2a28c SHA512 1575d03cf6b3a92e9b911cac98b10650b940a15793f87d5203b6d146b5ca6108901ad2fd1508276742376fec600149f8e658a5e37ce006a6c26bd1e8f75930d4
diff --git a/games-fps/eduke32/eduke32-20230826.10364.ebuild b/games-fps/eduke32/eduke32-20230926.10459.ebuild
similarity index 99%
rename from games-fps/eduke32/eduke32-20230826.10364.ebuild
rename to games-fps/eduke32/eduke32-20230926.10459.ebuild
index ae52591f3f38..388719401c0c 100644
--- a/games-fps/eduke32/eduke32-20230826.10364.ebuild
+++ b/games-fps/eduke32/eduke32-20230926.10459.ebuild
@@ -5,7 +5,7 @@ EAPI=8
inherit desktop toolchain-funcs xdg-utils
-EGIT_COMMIT="c257d5a65"
+EGIT_COMMIT="8feaf6c25"
MY_BUILD="$(ver_cut 2)"
MY_DATE="$(ver_cut 1)"
MY_PV_HRP="5.4"
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2023-10-12 0:07 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2023-10-12 0:07 UTC (permalink / raw
To: gentoo-commits
commit: 454521304f13c535e66cbee545e7ccd9099ee1f5
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 12 00:06:55 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Oct 12 00:07:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45452130
games-fps/eduke32: add 20231007.10494
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20231007.10494.ebuild | 218 ++++++++++++++++++++++++
2 files changed, 219 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index ac986352011a..1d5e3a4d4659 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20230926-10459-8feaf6c25.tar.xz 19141676 BLAKE2B 387d56f09d98a661d0518ddc23420b42f955d2285bc9075e6cec1a60ba6d814ee96e3452c92cb57dd0a82949f7f353186b92eca912fa184c7bb0941413c2a28c SHA512 1575d03cf6b3a92e9b911cac98b10650b940a15793f87d5203b6d146b5ca6108901ad2fd1508276742376fec600149f8e658a5e37ce006a6c26bd1e8f75930d4
+DIST eduke32_src_20231007-10494-17844a2f6.tar.xz 19190776 BLAKE2B 87652f3705efb66d7777427307de0fa91e3b4bc221e75bb16d8cecdeb91e1f9f26addbc2c49dcc703bc4589f747854c4978cbd53ac4fc954d2e0eb8e45218472 SHA512 4f3cea4e84630a8ec9c125d7b3b0cba12da8d4b6879a757165a59a7fa7bcda32dd16a471560859f7ea5951d8e475fe5d1414bdc3eec05ec765f79fed405a8a9d
diff --git a/games-fps/eduke32/eduke32-20231007.10494.ebuild b/games-fps/eduke32/eduke32-20231007.10494.ebuild
new file mode 100644
index 000000000000..49426ee30c6d
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20231007.10494.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="17844a2f6"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+RDEPEND="
+ media-libs/flac:=
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+ "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20230926.10459-search-duke3d-path.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ STANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2023-10-12 0:07 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2023-10-12 0:07 UTC (permalink / raw
To: gentoo-commits
commit: fd1e6a0c9aa4e5ee6c5fe1afb9b0078951f9fca6
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 12 00:07:12 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Oct 12 00:07:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd1e6a0c
games-fps/eduke32: drop 20230926.10459
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 -
games-fps/eduke32/eduke32-20230926.10459.ebuild | 218 ------------------------
2 files changed, 219 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 1d5e3a4d4659..1e62c1c2e31f 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,5 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20230926-10459-8feaf6c25.tar.xz 19141676 BLAKE2B 387d56f09d98a661d0518ddc23420b42f955d2285bc9075e6cec1a60ba6d814ee96e3452c92cb57dd0a82949f7f353186b92eca912fa184c7bb0941413c2a28c SHA512 1575d03cf6b3a92e9b911cac98b10650b940a15793f87d5203b6d146b5ca6108901ad2fd1508276742376fec600149f8e658a5e37ce006a6c26bd1e8f75930d4
DIST eduke32_src_20231007-10494-17844a2f6.tar.xz 19190776 BLAKE2B 87652f3705efb66d7777427307de0fa91e3b4bc221e75bb16d8cecdeb91e1f9f26addbc2c49dcc703bc4589f747854c4978cbd53ac4fc954d2e0eb8e45218472 SHA512 4f3cea4e84630a8ec9c125d7b3b0cba12da8d4b6879a757165a59a7fa7bcda32dd16a471560859f7ea5951d8e475fe5d1414bdc3eec05ec765f79fed405a8a9d
diff --git a/games-fps/eduke32/eduke32-20230926.10459.ebuild b/games-fps/eduke32/eduke32-20230926.10459.ebuild
deleted file mode 100644
index 4f27ffafa2d1..000000000000
--- a/games-fps/eduke32/eduke32-20230926.10459.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="8feaf6c25"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-RDEPEND="
- media-libs/flac:=
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
- "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20230926.10459-search-duke3d-path.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)"
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- STANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2023-12-29 20:37 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2023-12-29 20:37 UTC (permalink / raw
To: gentoo-commits
commit: da0b39b6e79886369044be36c31124bec2498794
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 29 20:35:47 2023 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 20:36:53 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da0b39b6
games-fps/eduke32: add 20231224.10548
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20231224.10548.ebuild | 218 ++++++++++++++++++++++++
2 files changed, 219 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index 1e62c1c2e31f..b54cacce835e 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -6,3 +6,4 @@ DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20231007-10494-17844a2f6.tar.xz 19190776 BLAKE2B 87652f3705efb66d7777427307de0fa91e3b4bc221e75bb16d8cecdeb91e1f9f26addbc2c49dcc703bc4589f747854c4978cbd53ac4fc954d2e0eb8e45218472 SHA512 4f3cea4e84630a8ec9c125d7b3b0cba12da8d4b6879a757165a59a7fa7bcda32dd16a471560859f7ea5951d8e475fe5d1414bdc3eec05ec765f79fed405a8a9d
+DIST eduke32_src_20231224-10548-842047589.tar.xz 19149340 BLAKE2B 28fad72a934b1f8b008d949c447fe5180496acb8aa6d511a071c82119c8aa094fa1ee0d990c7ed58999ab67c3887c38d3f1d410bc983aea4766c7ee9b68032c1 SHA512 bfbaf9c4529d8e187b277f1fb4a93d56b7480fc54ebfdc1773c20e8d6e562192b7256a9b3f470d42687cdf0b2225537a3a17f96cb7a3e7a638898545073943b2
diff --git a/games-fps/eduke32/eduke32-20231224.10548.ebuild b/games-fps/eduke32/eduke32-20231224.10548.ebuild
new file mode 100644
index 000000000000..5d6821bb3e34
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20231224.10548.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="842047589"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+RDEPEND="
+ media-libs/flac:=
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+ "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20230926.10459-search-duke3d-path.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ STANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2024-03-28 14:10 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2024-03-28 14:10 UTC (permalink / raw
To: gentoo-commits
commit: 4c1ded31788324cf9a4af5e9613741c17a3df3df
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 28 14:01:56 2024 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Mar 28 14:09:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c1ded31
games-fps/eduke32: drop 20231007.10494, 20231224.10548
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 2 -
games-fps/eduke32/eduke32-20231007.10494.ebuild | 218 ------------------------
games-fps/eduke32/eduke32-20231224.10548.ebuild | 218 ------------------------
3 files changed, 438 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index b89c887d6fad..a13f59b9c6b3 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,6 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20231007-10494-17844a2f6.tar.xz 19190776 BLAKE2B 87652f3705efb66d7777427307de0fa91e3b4bc221e75bb16d8cecdeb91e1f9f26addbc2c49dcc703bc4589f747854c4978cbd53ac4fc954d2e0eb8e45218472 SHA512 4f3cea4e84630a8ec9c125d7b3b0cba12da8d4b6879a757165a59a7fa7bcda32dd16a471560859f7ea5951d8e475fe5d1414bdc3eec05ec765f79fed405a8a9d
-DIST eduke32_src_20231224-10548-842047589.tar.xz 19149340 BLAKE2B 28fad72a934b1f8b008d949c447fe5180496acb8aa6d511a071c82119c8aa094fa1ee0d990c7ed58999ab67c3887c38d3f1d410bc983aea4766c7ee9b68032c1 SHA512 bfbaf9c4529d8e187b277f1fb4a93d56b7480fc54ebfdc1773c20e8d6e562192b7256a9b3f470d42687cdf0b2225537a3a17f96cb7a3e7a638898545073943b2
DIST eduke32_src_20240316-10564-0bc78c53d.tar.xz 19232976 BLAKE2B 321183f3c41edcdcff1b72b91974e1a338eabaa42a7b34abff562b2f22c69fcd3cb5bacef9a5776328d6c66dba7267cd94b4c57ad642c29a23d20039bc0702d7 SHA512 111a86be4a516638b2e54883cc4af1a99346cdd410acaecc3ab5feed25a5799c8531b64a56f10e10efc987611801c1c807fd6161098f9e36674071d4cdaf648b
diff --git a/games-fps/eduke32/eduke32-20231007.10494.ebuild b/games-fps/eduke32/eduke32-20231007.10494.ebuild
deleted file mode 100644
index 49426ee30c6d..000000000000
--- a/games-fps/eduke32/eduke32-20231007.10494.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="17844a2f6"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-RDEPEND="
- media-libs/flac:=
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
- "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20230926.10459-search-duke3d-path.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)"
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- STANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/games-fps/eduke32/eduke32-20231224.10548.ebuild b/games-fps/eduke32/eduke32-20231224.10548.ebuild
deleted file mode 100644
index 5d6821bb3e34..000000000000
--- a/games-fps/eduke32/eduke32-20231224.10548.ebuild
+++ /dev/null
@@ -1,218 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop toolchain-funcs xdg-utils
-
-EGIT_COMMIT="842047589"
-MY_BUILD="$(ver_cut 2)"
-MY_DATE="$(ver_cut 1)"
-MY_PV_HRP="5.4"
-MY_PV_OFFENSIVE_XXX="1.33"
-MY_PV_OPL="2.01"
-MY_PV_PSX="1.11"
-MY_PV_SC55="4.02"
-MY_PV_VOXELS="1.21"
-
-DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
-HOMEPAGE="http://www.eduke32.com/"
-SRC_URI="
- http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
- http://www.eduke32.com/images/eduke32_classic.png
- hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
- offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
- opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
- psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
- sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
- voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
-"
-S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-
-LICENSE="BUILDLIC GPL-2 HRP"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
-REQUIRED_USE="
- hrp? ( duke3d !voxels )
- offensive? ( duke3d )
- opl? ( duke3d !sc-55 )
- psx? ( duke3d )
- sc-55? ( duke3d !opl )
- voxels? ( !hrp )
- vpx? ( opengl )
-"
-
-# There are no tests,
-# instead it tries to build a test game, which does not compile
-RESTRICT="bindist test"
-
-RDEPEND="
- media-libs/flac:=
- media-libs/libogg
- media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
- media-libs/libvorbis
- media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
- sys-libs/zlib
- gtk? ( x11-libs/gtk+:2 )
- opengl? (
- virtual/glu
- virtual/opengl
- )
- png? ( media-libs/libpng:0= )
- vpx? ( media-libs/libvpx:= )
- xmp? ( media-libs/exempi:2= )
-"
-
-DEPEND="
- ${RDEPEND}
- timidity? ( media-sound/timidity++ )
-"
-
-BDEPEND="
- app-arch/unzip
- x86? ( dev-lang/nasm )
-"
-
-PDEPEND="duke3d? ( games-fps/duke3d-data )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
- "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
- "${FILESDIR}/${PN}-20230926.10459-search-duke3d-path.patch"
-)
-
-src_unpack() {
- # Extract only the eduke32 archive
- unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
-
- # Unpack only the documentation
- if use hrp; then
- unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
- fi
- if use offensive; then
- unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
- fi
- if use opl; then
- unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
- mv readme.txt opl_readme.txt || die
- fi
- if use sc-55; then
- unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
- fi
- if use voxels; then
- unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
- fi
-}
-
-src_compile() {
- local myemakeopts=(
- ALLOCACHE_AS_MALLOC=0
- AS="$(tc-getAS)"
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)"
- CLANG=0
- CPLUSPLUS=1
- CUSTOMOPT=""
- DEBUGANYWAY=0
- F_JUMP_TABLES=""
- FORCEDEBUG=0
- HAVE_FLAC=1
- HAVE_GTK2=$(usex gtk 1 0)
- HAVE_XMP=$(usex xmp 1 0)
- LINKED_GTK=$(usex gtk 1 0)
- LTO=1
- LUNATIC=0
- KRANDDEBUG=0
- MEMMAP=0
- MIXERTYPE=SDL
- NETCODE=$(usex server 1 0)
- NOASM=0
- OPTLEVEL=0
- OPTOPT=""
- PACKAGE_REPOSITORY=1
- POLYMER=$(usex opengl 1 0)
- PRETTY_OUTPUT=0
- PROFILER=0
- RELEASE=1
- RENDERTYPE=SDL
- SDL_TARGET=2
- SIMPLE_MENU=0
- STRIP=""
- STANDALONE=0
- STARTUP_WINDOW=$(usex gtk 1 0)
- USE_OPENGL=$(usex opengl 1 0)
- USE_LIBVPX=$(usex vpx 1 0)
- USE_LIBPNG=$(usex png 1 0)
- USE_LUAJIT_2_1=0
- WITHOUT_GTK=$(usex gtk 0 1)
- )
-
- emake "${myemakeopts[@]}"
-
- use tools && emake utils "${myemakeopts[@]}"
- use voidsw && emake sw "${myemakeopts[@]}"
-}
-
-src_install() {
- dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
- use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
-
- if use tools; then
- local tools=(
- arttool
- bsuite
- cacheinfo
- generateicon
- givedepth
- ivfrate
- kextract
- kgroup
- kmd2tool
- makesdlkeytrans
- map2stl
- md2tool
- mkpalette
- transpal
- unpackssi
- wad2art
- wad2map
- )
-
- dobin "${tools[@]}"
- fi
-
- keepdir /usr/share/games/eduke32
- insinto /usr/share/games/eduke32
-
- use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
- use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
- use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
- use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
- use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
- use sdk && doins -r package/sdk
- use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
-
- newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
-
- make_desktop_entry eduke32-bin EDuke32 eduke32 Game
- make_desktop_entry mapster32 Mapster32 eduke32 Game
- use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
-
- local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
- use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
- use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
- use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
- use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
- use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
-
- einstalldocs
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2024-03-28 14:10 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2024-03-28 14:10 UTC (permalink / raw
To: gentoo-commits
commit: 96231980be50c2ff3ce2b82d82fcdbda438c2306
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 28 14:01:42 2024 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Mar 28 14:09:39 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96231980
games-fps/eduke32: add 20240316.10564
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 1 +
games-fps/eduke32/eduke32-20240316.10564.ebuild | 218 ++++++++++++++++++++++++
2 files changed, 219 insertions(+)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index b54cacce835e..b89c887d6fad 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -7,3 +7,4 @@ DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
DIST eduke32_src_20231007-10494-17844a2f6.tar.xz 19190776 BLAKE2B 87652f3705efb66d7777427307de0fa91e3b4bc221e75bb16d8cecdeb91e1f9f26addbc2c49dcc703bc4589f747854c4978cbd53ac4fc954d2e0eb8e45218472 SHA512 4f3cea4e84630a8ec9c125d7b3b0cba12da8d4b6879a757165a59a7fa7bcda32dd16a471560859f7ea5951d8e475fe5d1414bdc3eec05ec765f79fed405a8a9d
DIST eduke32_src_20231224-10548-842047589.tar.xz 19149340 BLAKE2B 28fad72a934b1f8b008d949c447fe5180496acb8aa6d511a071c82119c8aa094fa1ee0d990c7ed58999ab67c3887c38d3f1d410bc983aea4766c7ee9b68032c1 SHA512 bfbaf9c4529d8e187b277f1fb4a93d56b7480fc54ebfdc1773c20e8d6e562192b7256a9b3f470d42687cdf0b2225537a3a17f96cb7a3e7a638898545073943b2
+DIST eduke32_src_20240316-10564-0bc78c53d.tar.xz 19232976 BLAKE2B 321183f3c41edcdcff1b72b91974e1a338eabaa42a7b34abff562b2f22c69fcd3cb5bacef9a5776328d6c66dba7267cd94b4c57ad642c29a23d20039bc0702d7 SHA512 111a86be4a516638b2e54883cc4af1a99346cdd410acaecc3ab5feed25a5799c8531b64a56f10e10efc987611801c1c807fd6161098f9e36674071d4cdaf648b
diff --git a/games-fps/eduke32/eduke32-20240316.10564.ebuild b/games-fps/eduke32/eduke32-20240316.10564.ebuild
new file mode 100644
index 000000000000..b4ffbd52df70
--- /dev/null
+++ b/games-fps/eduke32/eduke32-20240316.10564.ebuild
@@ -0,0 +1,218 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs xdg-utils
+
+EGIT_COMMIT="0bc78c53d"
+MY_BUILD="$(ver_cut 2)"
+MY_DATE="$(ver_cut 1)"
+MY_PV_HRP="5.4"
+MY_PV_OFFENSIVE_XXX="1.33"
+MY_PV_OPL="2.01"
+MY_PV_PSX="1.11"
+MY_PV_SC55="4.02"
+MY_PV_VOXELS="1.21"
+
+DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D"
+HOMEPAGE="http://www.eduke32.com/"
+SRC_URI="
+ http://dukeworld.com/eduke32/synthesis/${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+ http://www.eduke32.com/images/eduke32_classic.png
+ hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip )
+ offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip )
+ opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip )
+ psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip )
+ sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip )
+ voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip )
+"
+S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
+
+LICENSE="BUILDLIC GPL-2 HRP"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
+REQUIRED_USE="
+ hrp? ( duke3d !voxels )
+ offensive? ( duke3d )
+ opl? ( duke3d !sc-55 )
+ psx? ( duke3d )
+ sc-55? ( duke3d !opl )
+ voxels? ( !hrp )
+ vpx? ( opengl )
+"
+
+# There are no tests,
+# instead it tries to build a test game, which does not compile
+RESTRICT="bindist test"
+
+RDEPEND="
+ media-libs/flac:=
+ media-libs/libogg
+ media-libs/libsdl2[alsa,joystick,opengl?,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis]
+ sys-libs/zlib
+ gtk? ( x11-libs/gtk+:2 )
+ opengl? (
+ virtual/glu
+ virtual/opengl
+ )
+ png? ( media-libs/libpng:0= )
+ vpx? ( media-libs/libvpx:= )
+ xmp? ( media-libs/exempi:2= )
+"
+
+DEPEND="
+ ${RDEPEND}
+ timidity? ( media-sound/timidity++ )
+"
+
+BDEPEND="
+ app-arch/unzip
+ x86? ( dev-lang/nasm )
+"
+
+PDEPEND="duke3d? ( games-fps/duke3d-data )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-20200505.8904-gcc10.patch"
+ "${FILESDIR}/${PN}-20220204.9957-log-to-tmpdir.patch"
+ "${FILESDIR}/${PN}-20230926.10459-search-duke3d-path.patch"
+)
+
+src_unpack() {
+ # Extract only the eduke32 archive
+ unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz
+
+ # Unpack only the documentation
+ if use hrp; then
+ unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die
+ fi
+ if use offensive; then
+ unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die
+ fi
+ if use opl; then
+ unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die
+ mv readme.txt opl_readme.txt || die
+ fi
+ if use sc-55; then
+ unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die
+ fi
+ if use voxels; then
+ unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die
+ fi
+}
+
+src_compile() {
+ local myemakeopts=(
+ ALLOCACHE_AS_MALLOC=0
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ CLANG=0
+ CPLUSPLUS=1
+ CUSTOMOPT=""
+ DEBUGANYWAY=0
+ F_JUMP_TABLES=""
+ FORCEDEBUG=0
+ HAVE_FLAC=1
+ HAVE_GTK2=$(usex gtk 1 0)
+ HAVE_XMP=$(usex xmp 1 0)
+ LINKED_GTK=$(usex gtk 1 0)
+ LTO=1
+ LUNATIC=0
+ KRANDDEBUG=0
+ MEMMAP=0
+ MIXERTYPE=SDL
+ NETCODE=$(usex server 1 0)
+ NOASM=0
+ OPTLEVEL=0
+ OPTOPT=""
+ PACKAGE_REPOSITORY=1
+ POLYMER=$(usex opengl 1 0)
+ PRETTY_OUTPUT=0
+ PROFILER=0
+ RELEASE=1
+ RENDERTYPE=SDL
+ SDL_TARGET=2
+ SIMPLE_MENU=0
+ STRIP=""
+ STANDALONE=0
+ STARTUP_WINDOW=$(usex gtk 1 0)
+ USE_OPENGL=$(usex opengl 1 0)
+ USE_LIBVPX=$(usex vpx 1 0)
+ USE_LIBPNG=$(usex png 1 0)
+ USE_LUAJIT_2_1=0
+ WITHOUT_GTK=$(usex gtk 0 1)
+ )
+
+ emake "${myemakeopts[@]}"
+
+ use tools && emake utils "${myemakeopts[@]}"
+ use voidsw && emake sw "${myemakeopts[@]}"
+}
+
+src_install() {
+ dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin
+ use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin
+
+ if use tools; then
+ local tools=(
+ arttool
+ bsuite
+ cacheinfo
+ generateicon
+ givedepth
+ ivfrate
+ kextract
+ kgroup
+ kmd2tool
+ makesdlkeytrans
+ map2stl
+ md2tool
+ mkpalette
+ transpal
+ unpackssi
+ wad2art
+ wad2map
+ )
+
+ dobin "${tools[@]}"
+ fi
+
+ keepdir /usr/share/games/eduke32
+ insinto /usr/share/games/eduke32
+
+ use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip
+ use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip
+ use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip
+ use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip
+ use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip
+ use sdk && doins -r package/sdk
+ use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip
+
+ newicon "${DISTDIR}"/eduke32_classic.png eduke32.png
+
+ make_desktop_entry eduke32-bin EDuke32 eduke32 Game
+ make_desktop_entry mapster32 Mapster32 eduke32 Game
+ use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game
+
+ local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt )
+ use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt )
+ use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt )
+ use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt )
+ use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt )
+ use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt )
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2024-06-22 20:01 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2024-06-22 20:01 UTC (permalink / raw
To: gentoo-commits
commit: 049771a47bafec1358953eaa981ed4d2a5b05890
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 22 19:47:11 2024 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jun 22 20:00:12 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=049771a4
games-fps/eduke32: add 20240619.10591, drop 20240316.10564
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/Manifest | 2 +-
.../{eduke32-20240316.10564.ebuild => eduke32-20240619.10591.ebuild} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/games-fps/eduke32/Manifest b/games-fps/eduke32/Manifest
index a13f59b9c6b3..db2b9087a706 100644
--- a/games-fps/eduke32/Manifest
+++ b/games-fps/eduke32/Manifest
@@ -5,4 +5,4 @@ DIST duke3d_psx-1.11.zip 7636016 BLAKE2B 63094c0eb2343e443f98844675ddc23a138d87c
DIST duke3d_voxels-1.21.zip 2997999 BLAKE2B dcb3103a82b45cfcf906d00147a57fe47997680ff7550973ed9741e62e78f9a099c1a13f65eaa133076d6551fcdfbf34e28ff59f2ad59f91ece98753e7d39523 SHA512 4b55dcc192cb2aa8830250fd222664272176bea8f6c6e4ac6d488abfecb1332b5793986c164fde78901904e2bde37e6ee4aa020c5eb578002de8f6102f44df15
DIST duke3d_xxx-1.33.zip 26586453 BLAKE2B 7e3c46172d3db1b2eb49eb07f243a9ead4f260d6b1dcae9f8bd599b8e9ba3a19068032afeb4ec2cf61742b6216e3a06c24f2b7e8903f9636f9d00f4d57ada47f SHA512 4783d159610fc178e748446b7a5f9c13d90e1aca3cef34deb82e99655b7f4a254f1130e16dbcfad9013b95bc07161d5c5dccfcc552fbb7a88404b4b9cedbadbf
DIST eduke32_classic.png 5129 BLAKE2B 332ad44b7f6b4f51362387aa6870e7db54423ca5a1f0586cb5019322fb72317d8e88e0bbf46ac89b56290db7e2e4a8442179a6eb87a615fd741b5f00ce96a1c8 SHA512 b41dece8f1ddcadde3367a83f6029ffdc5805811b40380e270169684fb3b368258bd8caeb55623dadffb6fb9d72faf9a3d75907722623f4fac94a4347f8ce833
-DIST eduke32_src_20240316-10564-0bc78c53d.tar.xz 19232976 BLAKE2B 321183f3c41edcdcff1b72b91974e1a338eabaa42a7b34abff562b2f22c69fcd3cb5bacef9a5776328d6c66dba7267cd94b4c57ad642c29a23d20039bc0702d7 SHA512 111a86be4a516638b2e54883cc4af1a99346cdd410acaecc3ab5feed25a5799c8531b64a56f10e10efc987611801c1c807fd6161098f9e36674071d4cdaf648b
+DIST eduke32_src_20240619-10591-e35219148.tar.xz 18901824 BLAKE2B 1e8ff368e7f48d449fce2d60da1c8a5da4ebd72923c6ff1c194fadc73ae8e7ccd4e17cb4ce892c95fedca56d0284dcb3a8b219b5844fbb5251a501fa9b97a2ad SHA512 48a5616372f6c85d21b7a6049b562e5f20e79662c679500114a4f30069fb63502bfcc9e2b339eb407fb14998807f0d0c5bc23f3ffb43baf20273454246161fc0
diff --git a/games-fps/eduke32/eduke32-20240316.10564.ebuild b/games-fps/eduke32/eduke32-20240619.10591.ebuild
similarity index 99%
rename from games-fps/eduke32/eduke32-20240316.10564.ebuild
rename to games-fps/eduke32/eduke32-20240619.10591.ebuild
index b4ffbd52df70..0edf84c132ca 100644
--- a/games-fps/eduke32/eduke32-20240316.10564.ebuild
+++ b/games-fps/eduke32/eduke32-20240619.10591.ebuild
@@ -5,7 +5,7 @@ EAPI=8
inherit desktop toolchain-funcs xdg-utils
-EGIT_COMMIT="0bc78c53d"
+EGIT_COMMIT="e35219148"
MY_BUILD="$(ver_cut 2)"
MY_DATE="$(ver_cut 1)"
MY_PV_HRP="5.4"
^ permalink raw reply related [flat|nested] 98+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/
@ 2024-11-09 1:41 Conrad Kostecki
0 siblings, 0 replies; 98+ messages in thread
From: Conrad Kostecki @ 2024-11-09 1:41 UTC (permalink / raw
To: gentoo-commits
commit: a41a2be1778e64ca1d78ae394bd6cfb50e2b93bd
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 9 01:21:53 2024 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Nov 9 01:29:33 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a41a2be1
games-fps/eduke32: make hrp license conditional
Closes: https://bugs.gentoo.org/942660
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
games-fps/eduke32/eduke32-20240619.10591.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-fps/eduke32/eduke32-20240619.10591.ebuild b/games-fps/eduke32/eduke32-20240619.10591.ebuild
index 0edf84c132ca..01d0682e8e95 100644
--- a/games-fps/eduke32/eduke32-20240619.10591.ebuild
+++ b/games-fps/eduke32/eduke32-20240619.10591.ebuild
@@ -29,7 +29,7 @@ SRC_URI="
"
S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}"
-LICENSE="BUILDLIC GPL-2 HRP"
+LICENSE="BUILDLIC GPL-2 hrp? ( HRP ) offensive? ( HRP )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
IUSE="duke3d fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw voxels vpx xmp"
^ permalink raw reply related [flat|nested] 98+ messages in thread
end of thread, other threads:[~2024-11-09 1:42 UTC | newest]
Thread overview: 98+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-07 22:34 [gentoo-commits] repo/gentoo:master commit in: games-fps/eduke32/ James Le Cuirot
-- strict thread matches above, loose matches on Subject: below --
2024-11-09 1:41 Conrad Kostecki
2024-06-22 20:01 Conrad Kostecki
2024-03-28 14:10 Conrad Kostecki
2024-03-28 14:10 Conrad Kostecki
2023-12-29 20:37 Conrad Kostecki
2023-10-12 0:07 Conrad Kostecki
2023-10-12 0:07 Conrad Kostecki
2023-10-02 18:40 Conrad Kostecki
2023-09-17 21:41 Conrad Kostecki
2023-08-26 23:42 Conrad Kostecki
2023-08-26 23:42 Conrad Kostecki
2023-01-31 15:17 Conrad Kostecki
2023-01-31 15:17 Conrad Kostecki
2022-11-15 22:41 Conrad Kostecki
2022-11-15 22:41 Conrad Kostecki
2022-10-01 23:33 Conrad Kostecki
2022-10-01 23:33 Conrad Kostecki
2022-09-10 8:41 Sam James
2022-08-11 7:37 Ionen Wolkens
2022-07-10 20:11 Conrad Kostecki
2022-06-25 14:57 Conrad Kostecki
2022-06-25 14:35 Conrad Kostecki
2022-04-23 21:24 Conrad Kostecki
2022-03-19 23:39 Sam James
2021-12-05 21:45 Conrad Kostecki
2021-12-05 21:45 Conrad Kostecki
2021-10-23 12:27 Conrad Kostecki
2021-10-23 12:27 Conrad Kostecki
2021-09-18 22:09 Conrad Kostecki
2021-09-18 22:09 Conrad Kostecki
2021-08-07 22:49 Conrad Kostecki
2021-08-07 22:49 Conrad Kostecki
2021-07-07 19:49 Conrad Kostecki
2021-06-28 19:19 Conrad Kostecki
2021-06-26 20:26 Conrad Kostecki
2021-06-26 20:26 Conrad Kostecki
2021-04-07 17:29 Conrad Kostecki
2021-04-07 17:29 Conrad Kostecki
2021-02-27 15:31 Conrad Kostecki
2021-02-27 14:58 Conrad Kostecki
2021-02-27 14:58 Conrad Kostecki
2021-01-30 22:00 Conrad Kostecki
2021-01-30 22:00 Conrad Kostecki
2021-01-24 4:53 Sam James
2021-01-10 23:21 Conrad Kostecki
2021-01-10 23:21 Conrad Kostecki
2021-01-09 14:29 Conrad Kostecki
2021-01-09 14:29 Conrad Kostecki
2020-12-15 14:28 Conrad Kostecki
2020-12-15 14:28 Conrad Kostecki
2020-12-02 21:22 Conrad Kostecki
2020-12-02 21:22 Conrad Kostecki
2020-11-16 23:06 Conrad Kostecki
2020-09-05 11:45 Conrad Kostecki
2020-09-05 11:45 Conrad Kostecki
2020-09-04 23:14 Sam James
2020-08-25 22:19 Conrad Kostecki
2020-08-25 21:59 Conrad Kostecki
2020-08-25 21:59 Conrad Kostecki
2020-08-09 20:00 Conrad Kostecki
2020-05-10 19:25 Conrad Kostecki
2020-05-10 19:25 Conrad Kostecki
2020-03-20 21:53 Matt Turner
2020-03-12 22:48 Conrad Kostecki
2020-03-12 22:48 Conrad Kostecki
2020-02-04 18:09 Conrad Kostecki
2020-02-04 18:09 Conrad Kostecki
2019-12-07 1:34 Conrad Kostecki
2019-12-05 21:47 Conrad Kostecki
2019-12-05 21:47 Conrad Kostecki
2019-10-16 21:54 James Le Cuirot
2019-10-16 21:54 James Le Cuirot
2019-10-08 22:47 James Le Cuirot
2019-10-08 22:47 James Le Cuirot
2019-09-19 21:32 James Le Cuirot
2019-09-19 21:32 James Le Cuirot
2019-08-24 19:51 James Le Cuirot
2019-08-24 19:51 James Le Cuirot
2019-07-21 21:36 James Le Cuirot
2019-07-21 21:36 James Le Cuirot
2019-04-22 22:00 James Le Cuirot
2019-04-07 22:34 James Le Cuirot
2019-03-09 22:50 James Le Cuirot
2019-03-09 22:50 James Le Cuirot
2019-03-09 22:50 James Le Cuirot
2019-01-28 23:02 Patrice Clement
2019-01-28 23:02 Patrice Clement
2018-10-30 10:34 Patrice Clement
2018-10-21 17:42 Michał Górny
2018-09-16 22:10 James Le Cuirot
2018-09-16 22:10 James Le Cuirot
2018-08-21 21:55 Patrice Clement
2018-08-21 21:55 Patrice Clement
2018-08-05 21:48 Patrice Clement
2018-08-05 21:48 Patrice Clement
2018-07-10 21:32 Tony Vroon
2018-07-02 11:22 Jeroen Roovers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox