From 590b9b7b03bf4651e099949e318755af7cfa81b8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 1 Aug 2021 22:03:23 +0100 Subject: gentoo resync : 01.08.2021 --- games-arcade/tuxanci/Manifest | 4 +- .../tuxanci/files/tuxanci-20110429-glu.patch | 11 ---- .../tuxanci/files/tuxanci-20110429-no-glver.patch | 9 ++++ games-arcade/tuxanci/tuxanci-20110429-r1.ebuild | 61 ---------------------- games-arcade/tuxanci/tuxanci-20110429-r2.ebuild | 45 ++++++++++++++++ 5 files changed, 56 insertions(+), 74 deletions(-) delete mode 100644 games-arcade/tuxanci/files/tuxanci-20110429-glu.patch create mode 100644 games-arcade/tuxanci/files/tuxanci-20110429-no-glver.patch delete mode 100644 games-arcade/tuxanci/tuxanci-20110429-r1.ebuild create mode 100644 games-arcade/tuxanci/tuxanci-20110429-r2.ebuild (limited to 'games-arcade/tuxanci') diff --git a/games-arcade/tuxanci/Manifest b/games-arcade/tuxanci/Manifest index ee0ad66799a4..edc6cf71f66b 100644 --- a/games-arcade/tuxanci/Manifest +++ b/games-arcade/tuxanci/Manifest @@ -1,4 +1,4 @@ -AUX tuxanci-20110429-glu.patch 465 BLAKE2B bf6de17b99bde96779fa064969c95e351d58cbfa215611163aee449e551de9ca951939810c6e46fd5283cead74bd035ace5814e13e240af1b6688e31e7f95bd1 SHA512 9c26f868be5f1d42b14c3f5d1ee46345c75764e041d7172e3a657d21f34a3326503cfa8e7b90715d5011be9628527194fc47a52bf8bfc4a639f6d999f2db1c50 +AUX tuxanci-20110429-no-glver.patch 282 BLAKE2B 26b4e6676c93838978894a73b4e9bc8b2e1e5f53f30dcd6a8d168a05af19b0e0b6c1cdb78d9db7fb5c761357f3b402dbff58e4e3df267dfbc51b93cd76a897b5 SHA512 b40eb238ebaab9029d548b00824fbf07685d8c029aebc24baa4361ff65fd81056d5a96766933532d330d68224b91a2c5232cca25c18bc3b20d6a5d441435ca0a DIST tuxanci-20110429.tar.xz 4283540 BLAKE2B c45aef1a6f89284dc1d41de1718342f0f7d3303d7281698291c74acf5aee262c8ed782d73f955ad3e22a88015adb077d8950e3ce69c7295a9fe97116518045e2 SHA512 72305be823981699e9ac38c090dda2baafd45bd36554eba65bd438646e0b0b8a3ab17a7516610db17e225292c39e0cdabb383193f8b07d2d31d638483feafeea -EBUILD tuxanci-20110429-r1.ebuild 1538 BLAKE2B aa64b3eb01b00ee0bcd5b4317e506f38864c60a911a1c3f41cd208fef9727101430c3f407154c6d0423bde14b64217f696767bcdbb5c2a6338596645ffc61195 SHA512 0cc51cb7825729309da40bc6fe81de2f7fdf8b0e28d403691cffd0ff922d51cfeaa1dad26d7b084b11c1ac00d2d7d135de26644ff1435ded7ebd41779169ed44 +EBUILD tuxanci-20110429-r2.ebuild 1014 BLAKE2B de6b14372cba777ef947142413d982a3301980e37a20709cbf39263a2bca693d4f51ec57e871960a561461ffdbf40fef12d869d1113a7e4fdf02dc8138db0e65 SHA512 e768f92fc95a93c390eed67fea87cca515fb4a87adcf92b2bb24f5024ba5aa76babd776eef3abc1eb118556aad23df4bcfb59cb84bd940065a93da76a46a521d MISC metadata.xml 391 BLAKE2B 9afeb2767b7924c11dc2b8407fd4f54beca1f223c2d1ebadb12a10b3a6a35e7576d63671a582197cd69e0969e676deaa924f68d381db9dc175c99dedc4b642c5 SHA512 f872f6da7bb29261230922b10e916705d073f4d780b868f25347081ffb89c96b514912b41898dc569c0b634551b925cbc18654707d40253d902ce5c74dd70414 diff --git a/games-arcade/tuxanci/files/tuxanci-20110429-glu.patch b/games-arcade/tuxanci/files/tuxanci-20110429-glu.patch deleted file mode 100644 index 4273114e41cc..000000000000 --- a/games-arcade/tuxanci/files/tuxanci-20110429-glu.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/CMakeLists.txt 2011-04-29 00:29:40.000000000 +0200 -+++ b/CMakeLists.txt 2021-02-27 00:48:05.172582259 +0100 -@@ -187,7 +187,7 @@ - pkg_check_modules(FONTCONFIG REQUIRED fontconfig) - INCLUDE_DIRECTORIES ( ${FONTCONFIG_INCLUDE_DIRS} ) - IF ( WITH_OPENGL ) -- pkg_check_modules(OPENGL REQUIRED gl>=7.5) -+ pkg_check_modules(OPENGL REQUIRED glu>=7.5) - INCLUDE_DIRECTORIES ( ${OPENGL_INCLUDE_DIRS} ) - ENDIF ( WITH_OPENGL ) - pkg_check_modules(SDL REQUIRED sdl) diff --git a/games-arcade/tuxanci/files/tuxanci-20110429-no-glver.patch b/games-arcade/tuxanci/files/tuxanci-20110429-no-glver.patch new file mode 100644 index 000000000000..210e55d11998 --- /dev/null +++ b/games-arcade/tuxanci/files/tuxanci-20110429-no-glver.patch @@ -0,0 +1,9 @@ +https://bugs.gentoo.org/715132 +https://bugs.gentoo.org/798651 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -189,3 +189,3 @@ + IF ( WITH_OPENGL ) +- pkg_check_modules(OPENGL REQUIRED gl>=7.5) ++ pkg_check_modules(OPENGL REQUIRED gl) + INCLUDE_DIRECTORIES ( ${OPENGL_INCLUDE_DIRS} ) diff --git a/games-arcade/tuxanci/tuxanci-20110429-r1.ebuild b/games-arcade/tuxanci/tuxanci-20110429-r1.ebuild deleted file mode 100644 index bbedae30502e..000000000000 --- a/games-arcade/tuxanci/tuxanci-20110429-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="First Tux shooter multi-player network game inspired by Bulanci" -HOMEPAGE="https://repo.or.cz/w/tuxanci.git" - -if [[ ${PV} = *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://repo.or.cz/tuxanci.git" -else - SRC_URI="mirror://gentoo/${P}.tar.xz" - KEYWORDS="~amd64 ~ppc64 ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="debug dedicated +ipv6 nls opengl physfs +sound" - -# >=x11-libs/cairo-1.8.8[X,svg] -RDEPEND=" - !dedicated? ( - >=media-libs/fontconfig-2.7.0 - media-libs/libsdl[X,opengl?] - >=media-libs/sdl-image-1.2.10[png] - media-libs/sdl-ttf[X] - sound? ( >=media-libs/sdl-mixer-1.2.11[vorbis] ) - ) - physfs? ( dev-games/physfs[zip] ) - !physfs? ( >=dev-libs/libzip-0.9 ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -PATCHES=( "${FILESDIR}/${P}-glu.patch" ) # bug 715132 - -src_configure() { - local mycmakeargs=( - -DENABLE_DEBUG=OFF - -DWITH_AUDIO=$(usex sound) - -DBUILD_SERVER=$(usex dedicated) - -DWITH_NLS=$(usex nls) - -DWITH_PHYSFS=$(usex physfs) - -DWITH_OPENGL=$(usex opengl) - -DENABLE_IPV6=$(usex ipv6) - -DDEVELOPER=$(usex debug) - -DCMAKE_INSTALL_ICONDIR="${EPREFIX}"/usr/pixmaps/ - -DCMAKE_INSTALL_DESKTOPDIR="${EPREFIX}"/usr/applications/ - -DCMAKE_DATA_PATH="${EPREFIX}"/usr/share/ - -DCMAKE_LOCALE_PATH="${EPREFIX}"/usr/share/locale/ - -DCMAKE_DOC_PATH="${EPREFIX}"/usr/share/doc/${PF} - -DCMAKE_CONF_PATH="${EPREFIX}"/etc - ) - cmake_src_configure -} diff --git a/games-arcade/tuxanci/tuxanci-20110429-r2.ebuild b/games-arcade/tuxanci/tuxanci-20110429-r2.ebuild new file mode 100644 index 000000000000..4428d33da87f --- /dev/null +++ b/games-arcade/tuxanci/tuxanci-20110429-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="First Tux shooter multi-player network game inspired by Bulanci" +HOMEPAGE="https://repo.or.cz/w/tuxanci.git" +SRC_URI="mirror://gentoo/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="dedicated opengl physfs" + +RDEPEND=" + !dedicated? ( + media-libs/fontconfig + media-libs/libsdl[opengl?,sound,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf + opengl? ( virtual/opengl ) + ) + physfs? ( dev-games/physfs[zip] ) + !physfs? ( dev-libs/libzip:= )" +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/gettext" + +PATCHES=( + "${FILESDIR}"/${P}-no-glver.patch +) + +src_configure() { + local mycmakeargs=( + -DBUILD_SERVER=$(usex dedicated) + -DCMAKE_CONF_PATH="${EPREFIX}"/etc + -DCMAKE_DOC_PATH="${EPREFIX}"/usr/share/doc/${PF} + -DENABLE_DEBUG=no + -DWITH_OPENGL=$(usex opengl) + -DWITH_PHYSFS=$(usex physfs) + ) + cmake_src_configure +} -- cgit v1.2.3