summaryrefslogtreecommitdiff
path: root/games-puzzle/tong
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-18 00:01:42 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-18 00:01:42 +0100
commit075fd1f8cabc5879c6eb42127fb84c3058677fde (patch)
tree8b761e85416656264e041b1954427a58894b3333 /games-puzzle/tong
parent6c9dc10e04cd513437e046ccca0e51a3d6d4dc7c (diff)
gentoo auto-resync : 18:05:2024 - 00:01:41
Diffstat (limited to 'games-puzzle/tong')
-rw-r--r--games-puzzle/tong/Manifest2
-rw-r--r--games-puzzle/tong/tong-1.2-r2.ebuild (renamed from games-puzzle/tong/tong-1.2-r1.ebuild)24
2 files changed, 14 insertions, 12 deletions
diff --git a/games-puzzle/tong/Manifest b/games-puzzle/tong/Manifest
index 1fb9af433949..8cdccc95df8a 100644
--- a/games-puzzle/tong/Manifest
+++ b/games-puzzle/tong/Manifest
@@ -2,5 +2,5 @@ AUX tong-1.2-datadir.patch 1109 BLAKE2B dfc55c8bf75942e047440ec25fb6c9d51bbaa13f
AUX tong-1.2-fps.patch 557 BLAKE2B 5123aab67c2552c5e0b2ba4a2ad9082b24fa6276056c22c9fe97de6f1aa725c119a85cea79ea6d9e7ebb6c13e18610dd804c776000ddf3396d22e4a07af7c902 SHA512 a29b875ad777dc912c4080d339e5e00f8087322f4e0995631eb30180d2c409b9ede0d7ac6e6aab5a194fca0ca6e405685310e5b898fefd75d74e469129242c8b
AUX tong-1.2-makefile.patch 901 BLAKE2B 7619c3b3155c1c56f239a2c529affbd3f1e1a8a5cf738a5235f1b928a065cc1aaacc5a09000a48b55f299e6130aad707e3399d2fe22937dd44de71efea1f9bab SHA512 1e15918cbb9fa98e174e2853be5c99ff369667035371cda95756b30ea246a640be22d308f86052a355f58596b676843dbb546caf8dd1aac9a66aad4cb1f7b34a
DIST tong-1.2.tar.gz 88028070 BLAKE2B b82b5c012f5d12953a6e84dfe38921cff2f0e244c2a9ad9ef606b5ee41c2f455dbb288ddb477f4eb96471ed3dd4cb4de2a8cea9155942c51f850d263fb22ee71 SHA512 0544f489141bba37985f1ef3c316208e3e6dacdea8f8b79f37997a9489ff5c1710fd1426e02489f8adb33bf9a1511bb9a0250122fa2054ef4a6ef203c8881261
-EBUILD tong-1.2-r1.ebuild 1011 BLAKE2B e65ec73abd842e978831156ee44cd89fc74944f2ea2dbcc2aa0894856fbcbee2f0191544c8076fb02abb7b2daa5e7cd2f2da8e5674b6b301eb98e0a4db4e0e9b SHA512 002557b55e0e4e46feedba17eee0746300d7c0ce28b7de0c13a78f292cbf662ea7517df08e0418689d9ccf2339f1cb2d940719d1c65c123fbe6dcdea07c81c0f
+EBUILD tong-1.2-r2.ebuild 1000 BLAKE2B 0b42f523ac91d0b63143f324e0966d60ac6edf13644563f5d9dd160de0483ab26697b12d869113d3f3b658655fb4f2f2a5a89d45fed8741225ac0f206e32505c SHA512 b65c0bddd37fc87ab8bd191e8db131b20fbe5c8d91c9ba6304e51aaa180550abdc20e401922e7c6c1cddce6d3d7d93da85ad8cf1583a2d72ad73466ede7b86fb
MISC metadata.xml 250 BLAKE2B 8d44bd4c6e7d6491273e2015e36ddac74af7b94a124fd240ff030e16430f5c85e53ab812f0e3e94bb2e6d138f39b512bbe01ff98b0081cacc21a02d648ec7643 SHA512 80ac07a3cac10ad2e72e9989a130b7d2073934fe92914a9db2af4d0e769d4bf537770f8faba0654bbd64a7e85ee38cf1f9d03b4b9cd322864b1b2bb35087d610
diff --git a/games-puzzle/tong/tong-1.2-r1.ebuild b/games-puzzle/tong/tong-1.2-r2.ebuild
index a16067fc57ba..615c89826b27 100644
--- a/games-puzzle/tong/tong-1.2-r1.ebuild
+++ b/games-puzzle/tong/tong-1.2-r2.ebuild
@@ -1,31 +1,33 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
+
inherit desktop
DESCRIPTION="Tetris and Pong in the same place at the same time"
-HOMEPAGE="http://www.nongnu.org/tong/"
-SRC_URI="http://www.nongnu.org/tong/${P}.tar.gz"
+HOMEPAGE="https://www.nongnu.org/tong/"
+SRC_URI="https://www.nongnu.org/tong/${P}.tar.gz"
+S="${WORKDIR}/${PN}"
-LICENSE="GPL-2"
+LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
DEPEND="media-libs/libsdl[sound,joystick,video]
media-libs/sdl-image[png]
media-libs/sdl-mixer[vorbis]"
RDEPEND="${DEPEND}"
-S="${WORKDIR}/${PN}"
+PATCHES=(
+ "${FILESDIR}/${P}-makefile.patch"
+ "${FILESDIR}/${P}-fps.patch"
+ "${FILESDIR}/${P}-datadir.patch"
+)
src_prepare() {
default
- eapply \
- "${FILESDIR}/${P}-makefile.patch" \
- "${FILESDIR}/${P}-fps.patch" \
- "${FILESDIR}/${P}-datadir.patch"
+
sed -i \
-e "s:\"media/:\"/usr/share/${PN}/media/:" \
media.cpp option.cpp option.h pong.cpp tetris.cpp text.cpp \