diff options
Diffstat (limited to 'games-fps/tenebrae')
-rw-r--r-- | games-fps/tenebrae/Manifest | 6 | ||||
-rw-r--r-- | games-fps/tenebrae/files/1.04-glhax.patch | 4 | ||||
-rw-r--r-- | games-fps/tenebrae/files/tenebrae-1.04-redef.patch | 4 | ||||
-rw-r--r-- | games-fps/tenebrae/tenebrae-1.04-r1.ebuild | 49 |
4 files changed, 31 insertions, 32 deletions
diff --git a/games-fps/tenebrae/Manifest b/games-fps/tenebrae/Manifest index fea075644218..c7602c37e3b3 100644 --- a/games-fps/tenebrae/Manifest +++ b/games-fps/tenebrae/Manifest @@ -1,7 +1,7 @@ -AUX 1.04-glhax.patch 1086 BLAKE2B 10e1ac1e10070c23deada452c6b4d69fac860e8cedbf80d317cf0c28d5316e50c2f59c815dea8bf366e41c8181dc801e9f0c6dec4e32851fc3a9ab50b2740714 SHA512 6641a82ba17909aa3ab1d583595d45d0abb1ac34cb8997dc17d1bda736b6a07417276f6ec358b73c08f74d84ca9168e76ed224d2d5220ec773f4a2077dd09800 +AUX 1.04-glhax.patch 996 BLAKE2B 5ef67a44ac80f52c7134ff6527f0ef623d28f4ba710c1842b04285673215e4cf99ede7417179d80d5e5fa400848c52b6bdf061f1e9f0edca346176a04e04cdb8 SHA512 875bab54275165f2aa823ec5d90aaeb30ae96318bfb47f22f15d7153ca04b2d9f5f2220dd9d42ba253e666467f8756d31296e80f619360c75540e3697a416582 AUX tenebrae-1.04-exec-stack.patch 658 BLAKE2B 0b6dc3dd385f3bb7d00748e7c32c3e2ec135359427b4766c27314056fc2cdcf657018be05c04d95b6ac53ccb86da8a56b8b59624e50df9d73a44bb2d7fcc0b29 SHA512 d3b6c712f79612265a31eaeccae3b9688bcfb7916be34e1b9dc6e698c33750f82b323fa51cb09768546c3cdf55bc80fadf0cbc46d4e478ca126ac4124fa06765 -AUX tenebrae-1.04-redef.patch 393 BLAKE2B 3ea2d06e37dc2a33a8766de606480b027f0d4d6334410d551cdf44d817424f72fccaa7d44e97d8ca1bf36e47aa515a2511a9b495d0494353715a086a0b706cba SHA512 57f63560f3cdf3f0070954109f753cad5ace8828d5f81dc87044a37ac2144594e6bca68d12de186077349c9f42ea17bacbf32a2481216be79569e27bfe1065a6 +AUX tenebrae-1.04-redef.patch 321 BLAKE2B 766659d3395e437c5db77ddfd31c26f4b9f564fde13b68f2da5faad38a7e59b56238c11fd735529953dd547732f93f319e70e0b0050ab94e1b7b9ce64ec763b5 SHA512 a43b59ed0775b5f2e54b960b822e945602334ffed6f9dace005fd2c3dcf879d892acce427e251c900bd3e5c0e37a9ab00ab90eb882c3b09c307e570e05c9da5a DIST tenebrae-1.04.tbz2 625988 BLAKE2B f6eebd483c9dc7d4df3484e6dc55cde6d4d6166c029ff73133217d36c8064175e57bc1a3578f6119884f2d4d471cf717902b490c9a308ea38414c60d1d0a1909 SHA512 f74d1dcaf5b29fcc047f93e4c99c8b5264751c5687370ba4605cad76f85fe346e0e17a6546b8766acedabf23fed69d6894dda6499c854ef0736dddeddc89e18e DIST tenebraedata.zip 3989498 BLAKE2B 3f78240c0c3be4b265f4d8d1fc53f0ed331b01097afdb77c1146eef667330ae7ce8965a12a974ee23133a183e3dd92d39de320937cab2fcf10659d1d97f5162a SHA512 c69e8e18ab0c7d10b5e1c9ad3b396b0906302e6d75c0969d8c2b513df0a11b410de86736a67632378bf28d564c04c3e937f164cb3850742e183616ddc8ac4742 -EBUILD tenebrae-1.04-r1.ebuild 1503 BLAKE2B 85579ddab05c2ba454ee844b6753c2fa5e0b7c2073a62768d6f04d12d0ac6b103a6dfaa3b3c7d30fa3a3f016c00387b4c5d9e3e5bb566b5e6b3a0bb2e878fd91 SHA512 814ed0cdd765a5030392e3d0dd4928ed13e558901153c8d3bb0b70ad2147a58d6b7fae33d87c5e0d3ac67fa302c3f350b1e7603805eedcb5a9d9cd96fd9f21ac +EBUILD tenebrae-1.04-r1.ebuild 1462 BLAKE2B 18015e52a13cab19c575e4910bc3b98abac1dc9ed20aa00996a8976345a874c528a56b5223f135447b6718c3148140c497a0cf6c1bfa71d9fb0cd3856eb50b40 SHA512 b483a56d4f892e661005b143c644c027ea54bd890e13e4f7952b5cd04d5effa5f3c40e3802cb0096aad99824a6662d85924a3ed1e7e3acfb3d16aa62c2b8c869 MISC metadata.xml 709 BLAKE2B 65e253236ac1af184022f0f648cc38781ec78bd5c8d75134bfb238fab26cc299d2f82beb5d31c90196c564ff3799260444430658128ddf2754c68b6a62bc0da7 SHA512 15881aa13e08c8803a638ff40c022871116ffdd6de8141b149433d09c98055163f0661aa299ad041215612fe2ea149a5e04e44dbb1afb1de18a53cadcd196107 diff --git a/games-fps/tenebrae/files/1.04-glhax.patch b/games-fps/tenebrae/files/1.04-glhax.patch index a185d8e10c7d..ffabf36f1768 100644 --- a/games-fps/tenebrae/files/1.04-glhax.patch +++ b/games-fps/tenebrae/files/1.04-glhax.patch @@ -1,5 +1,5 @@ ---- tenebrae_0/glquake.h 2004-12-25 00:28:28.707288592 -0500 -+++ tenebrae_0/glquake.h 2004-12-25 00:27:35.000000000 -0500 +--- a/glquake.h ++++ b/glquake.h @@ -34,6 +34,7 @@ #else #include <GL/gl.h> diff --git a/games-fps/tenebrae/files/tenebrae-1.04-redef.patch b/games-fps/tenebrae/files/tenebrae-1.04-redef.patch index 8bd89aa18e6f..abcfacec180c 100644 --- a/games-fps/tenebrae/files/tenebrae-1.04-redef.patch +++ b/games-fps/tenebrae/files/tenebrae-1.04-redef.patch @@ -1,5 +1,5 @@ ---- a/sys_dosa.s 2017-09-06 16:41:31.875358788 -0500 -+++ b/sys_dosa.s 2017-09-06 16:41:35.947376646 -0500 +--- a/sys_dosa.s ++++ b/sys_dosa.s @@ -44,6 +44,8 @@ .text diff --git a/games-fps/tenebrae/tenebrae-1.04-r1.ebuild b/games-fps/tenebrae/tenebrae-1.04-r1.ebuild index 85a7552e4015..07743ada8ed5 100644 --- a/games-fps/tenebrae/tenebrae-1.04-r1.ebuild +++ b/games-fps/tenebrae/tenebrae-1.04-r1.ebuild @@ -1,42 +1,41 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 #ECVS_SERVER="cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae" #ECVS_MODULE="tenebrae_0" -#inherit cvs -inherit eutils -DESCRIPTION="adds stencil shadows and per pixel lights to quake" +inherit toolchain-funcs + +DESCRIPTION="Adds stencil shadows and per pixel lights to quake" HOMEPAGE="http://tenebrae.sourceforge.net/" SRC_URI="mirror://sourceforge/tenebrae/tenebraedata.zip mirror://gentoo/${P}.tbz2" +S="${WORKDIR}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" -IUSE="" RDEPEND=" + media-libs/libpng:0 virtual/glu virtual/opengl - media-libs/libpng:0 x11-libs/libXxf86dga - x11-libs/libXxf86vm" -DEPEND="${RDEPEND} - app-arch/unzip - x11-base/xorg-proto" - -S=${WORKDIR} + x11-libs/libXxf86vm +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" +BDEPEND="app-arch/unzip" -src_unpack() { - if [[ -z ${ECVS_MODULE} ]] ; then - unpack ${A} - else - cvs_src_unpack - fi -} +PATCHES=( + "${FILESDIR}"/${PV}-glhax.patch + "${FILESDIR}"/${P}-exec-stack.patch + "${FILESDIR}"/${P}-redef.patch +) src_prepare() { cd tenebrae_0 || die "cd failed" @@ -45,27 +44,27 @@ src_prepare() { -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:g' \ gl_warp.c || die - eapply "${FILESDIR}"/${PV}-glhax.patch - eapply "${FILESDIR}"/${P}-exec-stack.patch - eapply "${FILESDIR}"/${P}-redef.patch - default cd linux || die "cd failed" sed \ -e "/^LDFLAGS/s:=:+=:" \ -e "s:-mpentiumpro -O6:${CFLAGS}:" \ + -e "s:CC.*= /usr/bin/gcc:CC?=/usr/bin/gcc:" \ Makefile.i386linux > Makefile || die } src_compile() { + tc-export CC + cd "${S}"/tenebrae_0/linux || die "cd failed" emake MASTER_DIR="/usr/share/quake1" build_release } src_install() { newbin tenebrae_0/linux/release*/bin/tenebrae.run tenebrae - insinto "/usr/share/quake1/tenebrae" + + insinto /usr/share/quake1/tenebrae doins "${WORKDIR}"/tenebrae/* dodoc tenebrae_0/linux/README "${WORKDIR}"/Tenebrae_Readme.txt } |