diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-04 22:28:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-04 22:28:33 +0100 |
commit | a978c074e4272bb901fbe4a10de0a7b2af574f17 (patch) | |
tree | 8c764c1cc0576389ce22abd317bceba71ea5732d /games-action/armagetronad | |
parent | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (diff) |
gentoo resync : 04.05.2021
Diffstat (limited to 'games-action/armagetronad')
-rw-r--r-- | games-action/armagetronad/Manifest | 3 | ||||
-rw-r--r-- | games-action/armagetronad/armagetronad-0.2.9.1.0.ebuild | 63 | ||||
-rw-r--r-- | games-action/armagetronad/files/armagetronad-0.2.9.1.0-AR.patch | 10 |
3 files changed, 76 insertions, 0 deletions
diff --git a/games-action/armagetronad/Manifest b/games-action/armagetronad/Manifest index 78171f27da4b..31978d89f80c 100644 --- a/games-action/armagetronad/Manifest +++ b/games-action/armagetronad/Manifest @@ -1,4 +1,7 @@ AUX armagetronad-0.2.8.3.3-gcc6.patch 6419 BLAKE2B af8f6ec0ab77839ced171e6002279952a1aa680115bf2985c69df8b973c67f8c6516a45608737b4e473175b5682b0a03ec2c089a70b47b34ffeb8ce9318aad9c SHA512 ff56e2388b56736fddd1a4fba94914a3d327c11b25675a45f930b1ceab215cd197563194aa6485571ba5ee7c4ed6e2644da9f81f70cc686201a8efbed9149a44 +AUX armagetronad-0.2.9.1.0-AR.patch 242 BLAKE2B ac48c365a56cecfb148752949def751bb63d6bfab51e406da9c0ebcc495cd2ce5a3954f9eae7235bd4759d83b7a6eaf9d2c4038f649b321a777bbd113d790d0d SHA512 d1812fc8ca2292ad0536978cdba31f1e0806f729519767ff1a1c75b04ee49bf7fc0eed3b7c63a485600956455875dd5f270b0ecddcf021478b81a057f8746902 DIST armagetronad-0.2.8.3.3.src.tar.bz2 1857868 BLAKE2B 60a8fffe61903cb1fa4b188ae6c72ad842e5395b8a37276a6b84018e5393e1294e6ef5438fc7e029d02bfd7172eb81973781e7fbb670c3c7fbacae46d19de409 SHA512 05dd7db10efdac0e681133d07384b0e3c2edea328433f1d906e36b5f70960bf502df8d496967981b6bd67e1a119af9a5bbd71b0c824f790921deb3165165dc3f +DIST armagetronad-0.2.9.1.0.tbz 1943758 BLAKE2B ed4ecef19125d69faf402829b88288124dd364eafc836be3848727c2bfbd87ca29e18b48448dc868fb995947b2daae150c3b9f5dcf048d0d90d442f5bcf425f0 SHA512 8c2b9cba7d480dec6d7d60984327a5d45c8c87b968fb81a1e192973e6826ddb66c8d41ca82bb04d80da5c6fa2152d19dd890957dabc6cc5ce2d4dffbc45d1f65 EBUILD armagetronad-0.2.8.3.3-r1.ebuild 1322 BLAKE2B 17fac2f4eef2cf863f00dd5ef74fe97c7626eff8aa5891db4b6eebfcee6f2cf622f714eabbeece980b2d09214523ec5d0ef9239f1de3b7812e2c99b48b0b0b9c SHA512 1b3d8a2ae1ba78a13357358225d5a97de9ed9a725b347e72cc5cc5cb6c869eac1ce9a9015a450f762cf0c3cf1bc02327913ea0f1913456c6f956ffbd2b7766d1 +EBUILD armagetronad-0.2.9.1.0.ebuild 1211 BLAKE2B 073907830215a6629e8e3b991e762fe17f2c011676fcbb6669db2bf26187564bb6c6836f61e5404c8a88b40ea62d00d327f6fb2c51c17afc72b4178d579d29bd SHA512 e5d14cf2ec4899099e19415bb7510bf4e1df66307ca5a2e8639e9ac36ed140b0741641fe3681a1bd9e43edd451f0f79bc3167414ec0bfe0b800153437ffe0dde MISC metadata.xml 333 BLAKE2B 9e7f4657f3f025fbe42e09e9b64d191a79a125ad3df9ff007e1f6cbdbe40b9311ef257adac0a5861750c21c067bfe6165e80451ac211e06dd0dce542f126ca3f SHA512 ead9b44190ac80607b29eb37c771f7ce041cdde47e1e8203201d0e616ea78377312101dbf1ed6a508c64a884980506c96cf77dbd8a4d05f0a69ecd807fc40ead diff --git a/games-action/armagetronad/armagetronad-0.2.9.1.0.ebuild b/games-action/armagetronad/armagetronad-0.2.9.1.0.ebuild new file mode 100644 index 000000000000..53ba592280d8 --- /dev/null +++ b/games-action/armagetronad/armagetronad-0.2.9.1.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools desktop xdg-utils + +DESCRIPTION="Fast-paced 3D lightcycle game based on Tron" +HOMEPAGE="http://armagetronad.org/" +SRC_URI="https://launchpad.net/armagetronad/$(ver_cut 1-3)/${PV}/+download/armagetronad-${PV}.tbz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dedicated sound" + +RDEPEND=" + dev-libs/libxml2 + !dedicated? ( + media-libs/libpng:0= + media-libs/libsdl[X,opengl,video,sound?] + media-libs/sdl-image[jpeg,png] + virtual/glu + virtual/opengl + sound? ( media-libs/sdl-mixer ) + )" +DEPEND=${RDEPEND} + +PATCHES=("${FILESDIR}"/${P}-AR.patch) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # --enable-games just messes up paths + econf \ + $(use_enable dedicated) \ + $(use_enable sound music) \ + --disable-sysinstall \ + --disable-useradd \ + --disable-uninstall \ + --disable-games +} + +src_install() { + default + + # misplaced desktop-file/icons + rm -r "${ED}"/usr/share/${PN}/desktop || die + doicon -s 48 desktop/icons/48x48/armagetronad.png + make_desktop_entry ${PN} +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/games-action/armagetronad/files/armagetronad-0.2.9.1.0-AR.patch b/games-action/armagetronad/files/armagetronad-0.2.9.1.0-AR.patch new file mode 100644 index 000000000000..5f48ded3f7d6 --- /dev/null +++ b/games-action/armagetronad/files/armagetronad-0.2.9.1.0-AR.patch @@ -0,0 +1,10 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -28,6 +28,7 @@ dnl those two are apparently included in AC_CANONICAL_TARGET + dnl AC_CANONICAL_BUILD + dnl AC_CANONICAL_HOST + ++AM_PROG_AR + AC_PROG_RANLIB + AM_INIT_AUTOMAKE([subdir-objects tar-ustar]) + |