summaryrefslogtreecommitdiff
path: root/games-arcade/rocksndiamonds
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-19 19:49:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-19 19:49:08 +0000
commitf287ecad888abdeb38e617d0485de282cd6819db (patch)
tree874d56500040734c4dbb9e437e0d5ed80a0a1886 /games-arcade/rocksndiamonds
parent844ae757702c53a56ee57056873a8204d256d47e (diff)
gentoo auto-resync : 19:12:2022 - 19:49:08
Diffstat (limited to 'games-arcade/rocksndiamonds')
-rw-r--r--games-arcade/rocksndiamonds/Manifest2
-rw-r--r--games-arcade/rocksndiamonds/rocksndiamonds-4.3.4.0.ebuild117
2 files changed, 119 insertions, 0 deletions
diff --git a/games-arcade/rocksndiamonds/Manifest b/games-arcade/rocksndiamonds/Manifest
index 070055dd15e0..0b837cf1363b 100644
--- a/games-arcade/rocksndiamonds/Manifest
+++ b/games-arcade/rocksndiamonds/Manifest
@@ -20,10 +20,12 @@ DIST rockslevels-dx-1.0.tar.gz 211151 BLAKE2B 637a600f9197925d82e7ef344c90f04e85
DIST rockslevels-emc-1.0.tar.gz 3824268 BLAKE2B 0feadd5d9c6225c8574576281d07e14ff98fc9a33c67d3fa5083219ce39daaa1902a5ed652b5379fa4e58ee2428a8a452d66520571206143fd0fcd54f71b977a SHA512 9abad888fa00bc305444367c5ab8ffdad95eaca22613573e44d5ecd93b1a9a1cbc931497c064002d90fd3174c4661d0b009ede7746b2fe8da0a00072303a1301
DIST rockslevels-sp-1.0.tar.gz 373564 BLAKE2B 3f724ea55bbdaae80a35d6a9f5d8751a9228862fbe1ba45419343b1968510e10d3c82cc01844e35bc35561e65df3bc7e5ec2a0b807e1f56359dc7dccc16e3cb0 SHA512 2d44e9238a72846b9d4fbab90288aa3b23af4957ffe0d42d95c523fd22f3587572864b3fc0b277894d2f3f56d6eff52ea009e5b2d59aebc34163a1067662d729
DIST rocksndiamonds-4.3.2.1.tar.gz 4415020 BLAKE2B 2886891dcc32b71a61b83717941d56348ae8a330d7a5e2dfde1675ebd2c6f44ebbd365d6396d0099a9f9f7968f280036c5735499a7e9d9b94796671f37561a93 SHA512 c0f53e9664895ba5e749d417843ba8e4a4b481e7ac8729e12f2714264e24b72dc5acba5019ca2bd30064406dd8d7d6a26505d35c1e5636898862d7c8df99808f
+DIST rocksndiamonds-4.3.4.0-linux.tar.gz 4633000 BLAKE2B 465e93f6df7995b4787b70c78977c5cda9f8e6b04de33cb292b4d91a09c9461fccfe17a308f37eed8aa2b0d94409aed5f629aedc894a01aac06bcf5604a9363a SHA512 6bb7e09f495f0858298f8ff70b8296e70a11e9f7ace4d7f3ea06e176f643239d5eb27926a9c31bf9454dc1a750c4f0a48f07a7b9a5900ec79e50526adc4ce977
DIST rocksndiamonds-distributable-music.tar.bz2 4957282 BLAKE2B e00ccc1a06977289ffe79c010512b4a9a5c79d5a0fdff750e17f888f09395dd8a20ce06c5f1f7cc034d22e9651bad54beff1fa4e3dac854e77bbc57353d98bdd SHA512 dd220e4506492e66742796d0c359bce24691f5ebfba092aa2c2b52c5582ae9d5a38aa558872c738eeb7619b8ca853d3affa6b0e4af0fda5621bf7e07441ff252
DIST rocksndiamonds.png 2021 BLAKE2B 795be09e6d60aaa66dd457f6ce7dcb0069a82e395cb54578b83ad49ba70b669aa5bd52a4da34979d1e0ba95413a499c13355ce6816c4e364d9d88d1988c88060 SHA512 026abfef17bfc8621d036b83a8a4a878b1d68615e69975ea37589e8d29d864dc42dbabc5a381e579c66be1053175df02209f2c1c1feff3bd9e29db3e09c40346
DIST wf_v1-3.zip 35570 BLAKE2B eded867101b316406cdf378ce8bf36d1dbd28d38ebc9f904df85753955ec2d8f5a87a528975c58ee81b60362bcc37efa766ad87ccf1a1e8a5b062c59c6cc69a2 SHA512 b1b3b2efe20e7d74a072a6289d1af5c22fccf1b9359700269a381d38bdf2458d7d365df7db616a93512428a05f58cf872ea70fcf87080df327e0c4fc231f0470
DIST wg_v1-0.zip 821765 BLAKE2B 5bc69179e0429992a916e2287eb57bfa947e4bb08bc6e3d801f940bc73dc8fc8af93aa82a9b8a9f8535d0d22043f50414f09b9643ea9cfa081a92943b1c73273 SHA512 7e7605d258deccbe938fedc4651bdcc4b9a01478de66f793053bb4191429cf733ad317a315965597817dbaa03d5cb538a9ab36bee53cf6a2fd3457aeb06dac88
DIST ww_v1-0.zip 199805 BLAKE2B 167a36cc33f157e11850a786f511fb5eb9043eb732c514c00e13a71bdce3f63a2406aec88ca25e1510b3d7aeea0434101c878fcdbc2806f89b45c75417a931f3 SHA512 5689663e7d0da797a8a4904d69a3d37cfb09826acf55cf93b41beabf2638b13c6c666f4f40c011018cd84b6c14681061d5efcae3cc09ac86054ec23e0253f6d5
EBUILD rocksndiamonds-4.3.2.1.ebuild 3957 BLAKE2B 33935b976aee35670774f2808ccf51647d7686ac4035c3cd04532c9eca8bfe55abaf396b1619009037104c883d315b45e87ec274eafb4fd713314a934b53c935 SHA512 fae94c233ed796957e9068306d096cca56eb47cb067ed7574338c7e4a1116fc6fd7fb28d812236abb8a20f698f4a1f5763b31f6479c4e6e6fbcf42949e8760db
+EBUILD rocksndiamonds-4.3.4.0.ebuild 3969 BLAKE2B 6486c26c3d9431e4321811af969bf77bf63bc78447ce8fd1e2b2372ab29100ebdd603f0a56e8f406963ab67a316b9e2d9a4fc343e6ad413989535db3bb9e0517 SHA512 0b34edfc97fe3d9d4764d8db64ebed8e3a5ac977cfe32d776ad9fe75c7bcf13efa1df0177a16edabd174046d92b07a8a37e1326bf0871d75c6bea8b4f596248e
MISC metadata.xml 250 BLAKE2B 8d44bd4c6e7d6491273e2015e36ddac74af7b94a124fd240ff030e16430f5c85e53ab812f0e3e94bb2e6d138f39b512bbe01ff98b0081cacc21a02d648ec7643 SHA512 80ac07a3cac10ad2e72e9989a130b7d2073934fe92914a9db2af4d0e769d4bf537770f8faba0654bbd64a7e85ee38cf1f9d03b4b9cd322864b1b2bb35087d610
diff --git a/games-arcade/rocksndiamonds/rocksndiamonds-4.3.4.0.ebuild b/games-arcade/rocksndiamonds/rocksndiamonds-4.3.4.0.ebuild
new file mode 100644
index 000000000000..d7982fe0f1c9
--- /dev/null
+++ b/games-arcade/rocksndiamonds/rocksndiamonds-4.3.4.0.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit desktop flag-o-matic unpacker
+
+DESCRIPTION="A Boulderdash clone"
+HOMEPAGE="https://www.artsoft.org/rocksndiamonds/"
+# rocksndiamonds-distributable-music.tar.bz2 from Fedora
+SRC_URI="https://www.artsoft.org/RELEASES/unix/rocksndiamonds/${P}-linux.tar.gz
+ https://dev.gentoo.org/~pacho/${PN}/rocksndiamonds-distributable-music.tar.bz2
+ https://upload.wikimedia.org/wikipedia/commons/e/e2/Rocks%27n%27Diamonds.png -> ${PN}.png
+ https://www.artsoft.org/RELEASES/rocksndiamonds/levels/Andreas_Buschbeck-1.0.0.zip
+ https://www.artsoft.org/RELEASES/rocksndiamonds/levels/BD2K3-1.0.0.zip
+ https://www.artsoft.org/RELEASES/rocksndiamonds/levels/Boulder_Dash_Dream-1.0.0.zip
+ https://www.artsoft.org/RELEASES/rocksndiamonds/levels/Contributions-1.2.0.zip
+ https://www.artsoft.org/RELEASES/rocksndiamonds/levels/Emerald_Mine_Club-3.1.3.7z
+ https://www.artsoft.org/RELEASES/rocksndiamonds/levels/RS_MIX_01-needs_rnd_jue.zip
+ https://www.artsoft.org/RELEASES/rocksndiamonds/levels/RS_MIX_01-standalone.zip
+ https://www.artsoft.org/RELEASES/rocksndiamonds/levels/Snake_Bite-1.0.0.zip
+ https://www.artsoft.org/RELEASES/rocksndiamonds/levels/Sokoban-1.0.0.zip
+ https://www.artsoft.org/RELEASES/rocksndiamonds/levels/Supaplex-2.0.0.zip
+ https://www.artsoft.org/RELEASES/rocksndiamonds/levels/Zelda-1.0.0.zip
+ https://www.artsoft.org/RELEASES/rocksndiamonds/levels/ZeldaII-1.0.0.zip
+ https://www.artsoft.org/RELEASES/rocksndiamonds/levels/rnd-contrib-1.0.0.tar.gz
+ https://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-dx-1.0.tar.gz
+ https://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-emc-1.0.tar.gz
+ https://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-sp-1.0.tar.gz
+ mirror://gentoo/rnd_jue-v8.tar.bz2
+ https://www.artsoft.org/rocksndiamonds/levels/jamiecullen/zips/wg_v1-0.zip
+ https://www.artsoft.org/rocksndiamonds/levels/jamiecullen/zips/wf_v1-3.zip
+ https://www.artsoft.org/rocksndiamonds/levels/jamiecullen/zips/ese_v1-1.zip
+ https://www.artsoft.org/rocksndiamonds/levels/jamiecullen/zips/es_b_v1-2.zip
+ https://www.artsoft.org/rocksndiamonds/levels/jamiecullen/zips/ww_v1-0.zip
+"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ media-libs/libmodplug
+ media-libs/libsdl2[joystick,video]
+ media-libs/sdl2-mixer[mod,mp3,timidity]
+ media-libs/sdl2-net
+ media-libs/sdl2-image[gif]
+ media-libs/smpeg
+"
+DEPEND="${RDEPEND}"
+BDEPEND="$(unpacker_src_uri_depends)"
+
+PATCHES=(
+ # From Fedora:
+ "${FILESDIR}"/${PN}-4.3.2.0-music-info-url.patch
+ "${FILESDIR}"/${PN}-4.1.0.0-CVE-2011-4606.patch
+)
+
+src_unpack() {
+ unpack ${P}-linux.tar.gz
+ cd "${S}"
+ unpack \
+ rockslevels-emc-1.0.tar.gz \
+ rockslevels-sp-1.0.tar.gz \
+ rockslevels-dx-1.0.tar.gz
+ cd levels
+ unpacker \
+ Andreas_Buschbeck-1.0.0.zip \
+ rnd_jue-v8.tar.bz2 \
+ BD2K3-1.0.0.zip \
+ rnd-contrib-1.0.0.tar.gz \
+ Snake_Bite-1.0.0.zip \
+ Contributions-1.2.0.zip \
+ Boulder_Dash_Dream-1.0.0.zip \
+ Sokoban-1.0.0.zip \
+ Zelda-1.0.0.zip \
+ ZeldaII-1.0.0.zip \
+ Emerald_Mine_Club-3.1.3.7z \
+ RS_MIX_01-needs_rnd_jue.zip \
+ RS_MIX_01-standalone.zip \
+ Supaplex-2.0.0.zip \
+ wg_v1-0.zip \
+ wf_v1-3.zip \
+ ese_v1-1.zip \
+ es_b_v1-2.zip \
+ ww_v1-0.zip
+}
+
+src_prepare() {
+ default
+ sed -i \
+ -e 's:\$(MAKE_CMD):$(MAKE) -C $(SRC_DIR):' \
+ -e '/^MAKE/d' \
+ -e '/^CC/d' \
+ Makefile || die
+
+ sed -i \
+ -e '/^LDFLAGS/s/=/+=/' \
+ src/Makefile || die
+}
+
+src_compile() {
+ replace-cpu-flags k6 k6-1 k6-2 i586
+
+ local makeopts="BASE_PATH=/usr/share/${PN} RO_GAME_DIR=/usr/share/${PN} RW_GAME_DIR=/usr/share/${PN} EXTRA_CFLAGS=-DUSE_USERDATADIR_FOR_COMMONDATA"
+ emake -j1 clean
+ emake ${makeopts} OPTIONS="${CFLAGS}"
+}
+
+src_install() {
+ dobin rocksndiamonds
+ insinto "/usr/share/${PN}"
+ doins -r docs graphics levels music sounds
+
+ einstalldocs
+ doicon "${DISTDIR}/${PN}.png"
+ make_desktop_entry ${PN} "Rocks 'N' Diamonds" ${PN}
+}