diff options
Diffstat (limited to 'games-arcade/apricots')
-rw-r--r-- | games-arcade/apricots/Manifest | 5 | ||||
-rw-r--r-- | games-arcade/apricots/apricots-0.2.8.ebuild (renamed from games-arcade/apricots/apricots-0.2.7.ebuild) | 14 | ||||
-rw-r--r-- | games-arcade/apricots/files/apricots-0.2.7-sign-undef.patch | 10 |
3 files changed, 7 insertions, 22 deletions
diff --git a/games-arcade/apricots/Manifest b/games-arcade/apricots/Manifest index fc50c407ee71..5a1ff1a680bb 100644 --- a/games-arcade/apricots/Manifest +++ b/games-arcade/apricots/Manifest @@ -1,5 +1,4 @@ -AUX apricots-0.2.7-sign-undef.patch 317 BLAKE2B 6da5e699faed3e21f31eb037e7bfb132d0ab06a6959cd17a9f604e649be4d0dd72ebb862ed3874f04d591ab984ebb19dda5d75e169e2534ce8f0e697abd30960 SHA512 b3f2f2b401a6ab54feb0cf5d004908b3da7b5a27df6028bba170c80fabb3f43a0e655fad180690b3ce01666b939d1928d2778fe5dd83d4c54b85b197159daab6 -DIST apricots-0.2.7.tar.gz 388024 BLAKE2B 5d16cb2637580ae728aa4f1b3911801effa6c79faabf7f3a1c026de8d91aaa582c8063ae33152c44fc9878ae0f7126fdb6ab0363b562e90c7359bcfe6ac78391 SHA512 7f97759402703962f660cdf609f50bb9a4465cc727d3fd17751eb5863b0b9131d9014eab50632c1638130f7e4223c89c45c12cecbc9fe2639943def2ce80ae25 +DIST apricots-0.2.8.tar.gz 407430 BLAKE2B 7ae24c5d068ef528ee5352088ffea6f747b01e418e94e93b87795f6ccda5101ebf27cfb7d7c51f1e076cec71c39fce5f06ff16644d924a03df7bd5c24f4e56aa SHA512 4d08ba96087ef811bc30a70ce3963c1c0633fd7fcb2d628d0986f2a35eb89284e78be26a3cccc133cb0beaaeb7923630aeba81b02ad752dcd46d31bcb1165322 DIST apricots.png 1965 BLAKE2B 164e06ec9856273077636b347cac555cc49f5f38faffeea6f43b9032edee9dfebedce24470f70b185707ee2e467d861164a9c90c370ada5ff89d5c4854b99e7c SHA512 5d637707d7cfa775e5f3d3416a51abbbb39369cf0bfd9be871295ca3079530c25b893076c2cb6a6621586d67860920e079cb4f491d2c67ff13ce80e56a2cf4e5 -EBUILD apricots-0.2.7.ebuild 901 BLAKE2B cf5f20aff3f188dd71146b26ab8fcc21ff708228baaca4d9c9d9dbe517dd6a6ec1420906cdbdaedfc41e4ac6d3fe5ca9d2a077f2943c356e8eee46808ff8f60c SHA512 3910879391097204685a7baff93815aa9d3625b23d3dbf77d14578b63c0b083f0f91e801c6caa6dcf663a4f755bd0c5fb34155431fa86e78506663800e6433e4 +EBUILD apricots-0.2.8.ebuild 797 BLAKE2B fc589a8ba347f1f97ad2d63c98bbfff59c90c51aed19ab79a03d52ce8e58749038c919ea7f1797685229ecee2d4091df6cccfaff2d8153e99f1514876822a670 SHA512 dfe211bb39fff012b778b07f90376385eb262d329eed5295ec0f06edec3cd4a29945b7a66a532e48ae93f1da045b21ff65d186834ed30129b97c3b222df8f338 MISC metadata.xml 337 BLAKE2B 014f0069164d36765b42a9673ee35aaa3b4a945f9daa5d8fa392a6a661f0b3d2ab8f154da50bc56a557e789626c42e37f3b0ca9e688ca060d473aabf530f972e SHA512 652ade1e3b2a8fb19531e6c51eee0541de579a70f3979eee57b2535d79f63b1ebc681f856576dfbe8d12614c102b2126cd2a76539bcf5c6009157f7896624197 diff --git a/games-arcade/apricots/apricots-0.2.7.ebuild b/games-arcade/apricots/apricots-0.2.8.ebuild index b7c7ed818813..45e9e5f3c36b 100644 --- a/games-arcade/apricots/apricots-0.2.7.ebuild +++ b/games-arcade/apricots/apricots-0.2.8.ebuild @@ -1,9 +1,9 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit desktop +inherit desktop xdg DESCRIPTION="Fly a plane around and bomb/shoot the enemy (port of Planegame from Amiga)" HOMEPAGE="https://github.com/moggers87/apricots" @@ -18,23 +18,19 @@ KEYWORDS="~amd64 ~x86" RESTRICT="test" # this is only static analysis / linter tests RDEPEND=" + media-libs/alure media-libs/freealut media-libs/libsdl2[sound,video] media-libs/openal" DEPEND="${RDEPEND}" -PATCHES=( - "${FILESDIR}"/${P}-sign-undef.patch -) - src_install() { - emake DESTDIR="${D}" datadir="${ED}/usr/share" install + default einstalldocs insinto /etc doins ${PN}/${PN}.cfg - rm "${ED}"/usr/share/${PN}/apricots.cfg - doicon "${DISTDIR}"/${PN}.png + doicon -s 128 "${DISTDIR}"/${PN}.png make_desktop_entry ${PN} ${PN^} } diff --git a/games-arcade/apricots/files/apricots-0.2.7-sign-undef.patch b/games-arcade/apricots/files/apricots-0.2.7-sign-undef.patch deleted file mode 100644 index c1904ea9f8be..000000000000 --- a/games-arcade/apricots/files/apricots-0.2.7-sign-undef.patch +++ /dev/null @@ -1,10 +0,0 @@ -Undefined reference to sign() when using -O1 or above. ---- a/apricots/all.cpp -+++ b/apricots/all.cpp -@@ -19,5 +19,5 @@ - // Sign function - --inline int sign(int n) { return (0 < n) - (n < 0); } -+int sign(int n) { return (0 < n) - (n < 0); } - - // Error message for switch statements that shouldn't ever get to default |