public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-arcade/rocksndiamonds/files/, games-arcade/rocksndiamonds/
@ 2018-04-23 19:17 Pacho Ramos
  0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2018-04-23 19:17 UTC (permalink / raw
  To: gentoo-commits

commit:     5e094e1e0766d9e17a0a7a2c5903ab6e33851e2e
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 23 19:16:18 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Apr 23 19:17:23 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e094e1e

games-arcade/rocksndiamonds: Version bump

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-arcade/rocksndiamonds/Manifest               |  1 +
 .../rocksndiamonds-4.1.0.0-CVE-2011-4606.patch     | 18 +++++
 .../files/rocksndiamonds-4.1.0.0-YN.patch          | 22 ++++++
 .../rocksndiamonds-4.1.0.0-music-info-url.patch    | 71 +++++++++++++++++
 .../rocksndiamonds/rocksndiamonds-4.1.0.0.ebuild   | 91 ++++++++++++++++++++++
 5 files changed, 203 insertions(+)

diff --git a/games-arcade/rocksndiamonds/Manifest b/games-arcade/rocksndiamonds/Manifest
index cf01b38f31c..4b7ae7392b8 100644
--- a/games-arcade/rocksndiamonds/Manifest
+++ b/games-arcade/rocksndiamonds/Manifest
@@ -9,3 +9,4 @@ 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-3.3.1.2.tar.gz 2614904 BLAKE2B a231a4a1beb35c29466f58c680cd86ddffbff48974d59d32c6e2a030b24fb3e6e99b825a254963a77830e62a6e1030f86350b1b9091d08b94dbbe577a2dbf2c2 SHA512 b627e4a8e2f03dc380b5a111cc42f296b283e63b20e019f522a8a1431fe9c138eb0dc7aa0fa03dd843c3a93bcd0a90704e651f5a590cb7d4c3e3b46976125755
+DIST rocksndiamonds-4.1.0.0.tar.gz 3850621 BLAKE2B 9c85aced223b855eec0300634d2fb30513d8b2d1856d8e134594f7de1669cf64f487a87335e28f7b8abb0c13492573ac5bd3261cfc5274287e75d0ace258ab93 SHA512 4949c2e9a601c8e005b006b13b82e36f7f001321051d392bc34aa4c234c6cddfa9fae16e58d83070072cac1429e13f1fb96d2c4b2ecd35a309065ca3c1c869c2

diff --git a/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-CVE-2011-4606.patch b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-CVE-2011-4606.patch
new file mode 100644
index 00000000000..1aaa9e43dcc
--- /dev/null
+++ b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-CVE-2011-4606.patch
@@ -0,0 +1,18 @@
+diff -up rocksndiamonds-4.0.0.1/src/libgame/setup.c.CVE-2011-4606 rocksndiamonds-4.0.0.1/src/libgame/setup.c
+--- rocksndiamonds-4.0.0.1/src/libgame/setup.c.CVE-2011-4606	2017-01-12 07:53:09.497075662 -0500
++++ rocksndiamonds-4.0.0.1/src/libgame/setup.c	2017-01-12 07:58:19.319076661 -0500
+@@ -1311,11 +1311,13 @@ void sortTreeInfo(TreeInfo **node_first)
+ #define MODE_W_ALL		(S_IWUSR | S_IWGRP | S_IWOTH)
+ #define MODE_X_ALL		(S_IXUSR | S_IXGRP | S_IXOTH)
+ 
++#define MODE_R_PRIVATE		(S_IRUSR)
+ #define MODE_W_PRIVATE		(S_IWUSR)
++#define MODE_X_PRIVATE		(S_IXUSR)
+ #define MODE_W_PUBLIC_FILE	(S_IWUSR | S_IWGRP)
+ #define MODE_W_PUBLIC_DIR	(S_IWUSR | S_IWGRP | S_ISGID)
+ 
+-#define DIR_PERMS_PRIVATE	(MODE_R_ALL | MODE_X_ALL | MODE_W_PRIVATE)
++#define DIR_PERMS_PRIVATE	(MODE_R_PRIVATE | MODE_X_PRIVATE | MODE_W_PRIVATE)
+ #define DIR_PERMS_PUBLIC	(MODE_R_ALL | MODE_X_ALL | MODE_W_PUBLIC_DIR)
+ #define DIR_PERMS_PUBLIC_ALL	(MODE_R_ALL | MODE_X_ALL | MODE_W_ALL)
+ 

diff --git a/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-YN.patch b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-YN.patch
new file mode 100644
index 00000000000..70c95bd076d
--- /dev/null
+++ b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-YN.patch
@@ -0,0 +1,22 @@
+diff -up rocksndiamonds-4.0.0.1/src/tools.c.yesno rocksndiamonds-4.0.0.1/src/tools.c
+--- rocksndiamonds-4.0.0.1/src/tools.c.yesno	2017-01-12 07:47:09.921343574 -0500
++++ rocksndiamonds-4.0.0.1/src/tools.c	2017-01-12 07:51:45.059649653 -0500
+@@ -3901,6 +3901,18 @@ static int RequestHandleEvents(unsigned
+ 		result = 0;
+ 		break;
+ 
++              case KSYM_y:
++              case KSYM_Y:
++                if (req_state & REQ_ASK)
++                  result = TRUE;
++                break;
++
++              case KSYM_n:
++              case KSYM_N:
++                if (req_state & REQ_ASK)
++                  result = FALSE;
++                break;
++
+ 	      default:
+ 		HandleKeysDebug(key);
+ 		break;

diff --git a/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-music-info-url.patch b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-music-info-url.patch
new file mode 100644
index 00000000000..f913be382e9
--- /dev/null
+++ b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-music-info-url.patch
@@ -0,0 +1,71 @@
+diff -up rocksndiamonds-4.1.0.0/src/files.c.url rocksndiamonds-4.1.0.0/src/files.c
+--- rocksndiamonds-4.1.0.0/src/files.c.url	2018-04-10 15:44:08.000000000 -0400
++++ rocksndiamonds-4.1.0.0/src/files.c	2018-04-17 16:30:19.726734512 -0400
+@@ -10127,11 +10127,13 @@ static struct MusicFileInfo *get_music_f
+     { "artist_header",	&tmp_music_file_info.artist_header	},
+     { "album_header",	&tmp_music_file_info.album_header	},
+     { "year_header",	&tmp_music_file_info.year_header	},
++    { "url_header",	&tmp_music_file_info.url_header		},
+ 
+     { "title",		&tmp_music_file_info.title		},
+     { "artist",		&tmp_music_file_info.artist		},
+     { "album",		&tmp_music_file_info.album		},
+     { "year",		&tmp_music_file_info.year		},
++    { "url",		&tmp_music_file_info.url		},
+ 
+     { NULL,		NULL					},
+   };
+@@ -10247,11 +10249,13 @@ void LoadMusicInfo()
+     checked_free(music_file_info->artist_header);
+     checked_free(music_file_info->album_header);
+     checked_free(music_file_info->year_header);
++    checked_free(music_file_info->url_header);
+ 
+     checked_free(music_file_info->title);
+     checked_free(music_file_info->artist);
+     checked_free(music_file_info->album);
+     checked_free(music_file_info->year);
++    checked_free(music_file_info->url);
+ 
+     free(music_file_info);
+ 
+diff -up rocksndiamonds-4.1.0.0/src/main.h.url rocksndiamonds-4.1.0.0/src/main.h
+--- rocksndiamonds-4.1.0.0/src/main.h.url	2018-04-10 15:44:08.000000000 -0400
++++ rocksndiamonds-4.1.0.0/src/main.h	2018-04-17 16:30:19.727734490 -0400
+@@ -3463,11 +3463,13 @@ struct MusicFileInfo
+   char *artist_header;
+   char *album_header;
+   char *year_header;
++  char *url_header;
+ 
+   char *title;
+   char *artist;
+   char *album;
+   char *year;
++  char *url;
+ 
+   int music;
+ 
+diff -up rocksndiamonds-4.1.0.0/src/screens.c.url rocksndiamonds-4.1.0.0/src/screens.c
+--- rocksndiamonds-4.1.0.0/src/screens.c.url	2018-04-17 16:30:19.728734467 -0400
++++ rocksndiamonds-4.1.0.0/src/screens.c	2018-04-17 16:34:00.653803869 -0400
+@@ -3060,6 +3060,19 @@ void HandleInfoScreen_Music(int button)
+       ystart += ystep_head;
+     }
+ 
++    if (!strEqual(list->url, UNKNOWN_NAME))
++    {
++      if (!strEqual(list->url_header, UNKNOWN_NAME))
++        DrawTextSCentered(ystart, font_head, list->url_header);
++      else
++        DrawTextSCentered(ystart, font_head, "from the website");
++
++      ystart += ystep_head;
++
++      DrawTextFCentered(ystart, font_text, "%s", list->url);
++      ystart += ystep_head;
++    }
++
+     DrawTextSCentered(ybottom, FONT_TEXT_4,
+ 		      "Press any key or button for next page");
+ 

diff --git a/games-arcade/rocksndiamonds/rocksndiamonds-4.1.0.0.ebuild b/games-arcade/rocksndiamonds/rocksndiamonds-4.1.0.0.ebuild
new file mode 100644
index 00000000000..f6f2cdcddcf
--- /dev/null
+++ b/games-arcade/rocksndiamonds/rocksndiamonds-4.1.0.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop flag-o-matic
+
+DESCRIPTION="A Boulderdash clone"
+HOMEPAGE="http://www.artsoft.org/rocksndiamonds/"
+SRC_URI="http://www.artsoft.org/RELEASES/unix/rocksndiamonds/${P}.tar.gz
+	http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Contributions-1.2.0.zip
+	http://www.artsoft.org/RELEASES/rocksndiamonds/levels/BD2K3-1.0.0.zip
+	http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Boulder_Dash_Dream-1.0.0.zip
+	http://www.artsoft.org/RELEASES/rocksndiamonds/levels/rnd-contrib-1.0.0.tar.gz
+	http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Snake_Bite-1.0.0.zip
+	http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Sokoban-1.0.0.zip
+	http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-emc-1.0.tar.gz
+	http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-sp-1.0.tar.gz
+	http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-dx-1.0.tar.gz
+	mirror://gentoo/rnd_jue-v8.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	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}
+	app-arch/unzip
+"
+
+PATCHES=(
+	# From Fedora:
+	"${FILESDIR}"/${PN}-4.1.0.0-YN.patch
+	"${FILESDIR}"/${PN}-4.1.0.0-music-info-url.patch
+	"${FILESDIR}"/${PN}-4.1.0.0-CVE-2011-4606.patch
+)
+
+src_unpack() {
+	unpack ${P}.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
+	unpack \
+		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
+}
+
+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="RO_GAME_DIR=/usr/share/${PN} RW_GAME_DIR=/usr/share/${PN}"
+	emake -j1 clean
+	emake ${makeopts} OPTIONS="${CFLAGS}" sdl2
+}
+
+src_install() {
+	dobin rocksndiamonds
+	insinto "/usr/share/${PN}"
+	doins -r docs graphics levels music sounds
+
+	einstalldocs
+	newicon graphics/gfx_classic/RocksIcon32x32.png ${PN}.png
+	make_desktop_entry rocksndiamonds "Rocks 'N' Diamonds" /usr/share/pixmaps/${PN}.png
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/rocksndiamonds/files/, games-arcade/rocksndiamonds/
@ 2020-06-07 14:43 Pacho Ramos
  0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2020-06-07 14:43 UTC (permalink / raw
  To: gentoo-commits

commit:     8ff58a977e7386ec577d9f071a19532509f54766
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  7 14:43:33 2020 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jun  7 14:43:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff58a97

games-arcade/rocksndiamonds: Bump to 4.1.4.1

Closes: https://bugs.gentoo.org/697902
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 games-arcade/rocksndiamonds/Manifest               |   7 ++
 .../files/rocksndiamonds-4.1.4.1-gcc10.patch       |  21 +++++
 .../rocksndiamonds/rocksndiamonds-4.1.4.1.ebuild   | 103 +++++++++++++++++++++
 3 files changed, 131 insertions(+)

diff --git a/games-arcade/rocksndiamonds/Manifest b/games-arcade/rocksndiamonds/Manifest
index e43385063a1..986c5800f4c 100644
--- a/games-arcade/rocksndiamonds/Manifest
+++ b/games-arcade/rocksndiamonds/Manifest
@@ -1,11 +1,18 @@
 DIST BD2K3-1.0.0.zip 4715324 BLAKE2B 72e25038c41a7a1c29a896459db97954d18731d6980f5096c28ebddb09c0b6d7bdb68a8c56f17d26c71085e4ae883d2ceaad8e95b5525cbf532d18f32ecdd638 SHA512 80f172584d2077a3ade0749790802ef9cecde75283d6b889e7d2fedf9b55fd1fd7f1f1fd5596b17d5b2a542172699a929ea626086e77d28fde11487440c43622
 DIST Boulder_Dash_Dream-1.0.0.zip 10923437 BLAKE2B 976156c763281b993550a08361c5b6279a471e24568205c0369cc3f57d99e97db84d914a560c909b30fe92b8c8c10931cf6a8a8de4da181edac410a770d922b7 SHA512 f2765f52653b4f9d6c4a6548076281f6749d08c2dfd220345bdc0058b94d51c49ef81acdc87ff71bc1b3f337f3cc6a1d08b9e5a02d6aaeaeac5d894f97ba3d8e
 DIST Contributions-1.2.0.zip 9499312 BLAKE2B a90a84d230ab1032819bc3821871eb027ed83a8e289b01692f80185c42d50429ca8c6928b72b1ae5ea102ba2a0d25cd25391dc53b0cdb37ef4504233292dc2da SHA512 463e629bd4f592e24a82d20f1f249cea9e266a7c370bb5b079add8daa125d1af69a69746b696dd92f89b90e50972c6b2ba007aab87beed4cd980c0c7bdb81920
+DIST Emerald_Mine_Club-2.1.1.7z 20992125 BLAKE2B deb8e60058ead5e6b8df2c58f5c88da5fc9c1282a7f4a4c85c8e35f3f5c25fefe552d6440401093403cf2b0967c7a39cd1ec9c5926fa780aa6b224ed6bfe7804 SHA512 b45ca6c9163c28b0d000d783cd8a66fccd23a8c4ad2c7200366c6900fc31284d50a55171a12272d8bf117f135fb68810ac3f28e8708b9e47a98dbf0f53dd3d21
+DIST RS_MIX_01-needs_rnd_jue.zip 288339 BLAKE2B 08d08e934af95543d2027805d91f5c8b2806c2da74a8cdfed61afe26be5696a832cbac7e7aae30a314a2414b7d5a82b53b8556f7098c6570a54a26d751785347 SHA512 546fc50d089493a41f01895f16a7e96e664a472d61b1f92ebc391006c10142b493a55854d892019b0ff19fe318b4b67f78c137d7e1466c5fa4d49fbb521d7a48
 DIST Snake_Bite-1.0.0.zip 6506066 BLAKE2B 852f7815939100f78d6a7ce27df565277f6467cc63c069f77d4e067f0144df092c3b6e73a64d0a9743033d90b20d390761046b253c188fd65873f7b28bf8b451 SHA512 82131cb68c9654cb49ddbb46b0c15f13ce98af4f3b2a46e1cc4f2980eea45a707297c74787f365996321f39a9f7656a9492c3d437e3da0d71a295447c868960e
 DIST Sokoban-1.0.0.zip 295339 BLAKE2B e263e311e58dcc21d11dd10b0fa7af0f871405d932c2e1ea6d580ec58098c6a498202b516cbd3d2f1dd795521b419de61c8c9a195f4b2ea781a35ac645cd9c59 SHA512 b63be5b00c4c0b153bb6fc45fde556c26cd49fa672b279cce2f61b572d9c056d5e10a565530bdf539024d75ffdd38efe68310e98b8f810d9c5dfc17b24ec376b
+DIST Supaplex-2.0.0.zip 13023727 BLAKE2B 0ea4077d66af893e5f42d8857138e4c926c02d6f75642b5a316c4e606d4c3dfb0655c71530a4becfcc6c536727b908122d413fe37cd8f3b094b629f27f31a3d9 SHA512 75641f603499bce062b74657ac1718b7009eed1159504088807ed77600f07b76775d986859e03e2e1bc0693c58850ed94711e1def74eb73a8c92fcc517de5886
+DIST Zelda-1.0.0.zip 2175860 BLAKE2B 8c44e67a0e04a992675c1f14acd07c2537873adc1f38f495dd6b12f45eb67962164664a24128ba3abfd602f59eedf9407be8a45800a5aa2e5086473a9b1b403d SHA512 930235aa784cb8304af811144c1c33cd92f5cfda1e744ea04836e9d817223c09dfcd7be6d4d66a050bd50474f7c3e5547f69c166124df288e596f486eeeb426e
+DIST ZeldaII-1.0.0.zip 11542241 BLAKE2B abe6a8407148478e3ea8a4a9561ffef2a7e193419b65877aeb5844700d6a15d83387140195567029f356a4ead331eff6c6575d074fa522b099f6810519111287 SHA512 9e7fb213251e790b2415745c5a4de671902439abff0d90b8cbb9cfaf90b01b7bb124f8c95360516f93100ccec66d2cddbcefb7a05dfb395b74854568c74c186e
 DIST rnd-contrib-1.0.0.tar.gz 3389242 BLAKE2B bcdc926a7164788c8c640bf1aced57fbe9d71d99332751d2c4e30460427cb09a30ee3e45f2e6b6a1d83cce9bdf4c92ab187a2385a57bdc2a893735bd19c64b9b SHA512 8bd82f9c34e6e2d2b7ea22fc5899e72a64587469bfb1336d0d33e6ee2bcd04b3b6adca958861b0e29e18e8dac74651c642126511cacb247072e367783a5c6a08
 DIST rnd_jue-v8.tar.bz2 17244645 BLAKE2B 92d0cf646296b065c9ebe54d8d5ecb831eeb49748e47b6d2f019c2fd359d1e6ef5d3cd0472f1247e5c41b6b5aa7154b9e3baae000defc83b24470163a9dfc416 SHA512 cbff4cd16c812d77fe8446da4016d8f75dfa8675298a745062ff53a7783a39a59cffd886fedf1097023e72e111f10ddd56f280a109058a1a8ee069d664d2c59c
 DIST rockslevels-dx-1.0.tar.gz 211151 BLAKE2B 637a600f9197925d82e7ef344c90f04e8508c6b114fd07ad00977d91a856ff85dc29207e5f22c659382ee0759f8607e9dc8ad0c0de3826d57b74d494320b57ad SHA512 2e1bc4484a76bf638e8ce285972b20b6377e0483abb2475e2343d48de1f84ee102f430049d685b89bc1087e0f20b9b6e29370f8e6cae66b480d3650be9991f44
 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.1.0.0.tar.gz 3850621 BLAKE2B 9c85aced223b855eec0300634d2fb30513d8b2d1856d8e134594f7de1669cf64f487a87335e28f7b8abb0c13492573ac5bd3261cfc5274287e75d0ace258ab93 SHA512 4949c2e9a601c8e005b006b13b82e36f7f001321051d392bc34aa4c234c6cddfa9fae16e58d83070072cac1429e13f1fb96d2c4b2ecd35a309065ca3c1c869c2
+DIST rocksndiamonds-4.1.4.1.tar.gz 3982860 BLAKE2B c19baf38f77c9b9eaaf7c57e9b43d4862a0ff677d99753d6520b9e4746f6340d7f3a2cf8d3e6b692230bf49289cc2aef29d7a846d2d1e0ad162e55f6433634a2 SHA512 eb66dd0fcc162c522384b1c2fb7b380a6a460a4078dd0ffb5f16a63c3faa4a502d9a9a6e3505becd8ab4c188c0eb5edd32db45412c881ab90d6a9d05e5ed6d4b
+DIST rocksndiamonds.png 2021 BLAKE2B 795be09e6d60aaa66dd457f6ce7dcb0069a82e395cb54578b83ad49ba70b669aa5bd52a4da34979d1e0ba95413a499c13355ce6816c4e364d9d88d1988c88060 SHA512 026abfef17bfc8621d036b83a8a4a878b1d68615e69975ea37589e8d29d864dc42dbabc5a381e579c66be1053175df02209f2c1c1feff3bd9e29db3e09c40346

diff --git a/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.4.1-gcc10.patch b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.4.1-gcc10.patch
new file mode 100644
index 00000000000..08edb4236e3
--- /dev/null
+++ b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.4.1-gcc10.patch
@@ -0,0 +1,21 @@
+diff -up rocksndiamonds-4.1.4.1/src/main.c.gcc10 rocksndiamonds-4.1.4.1/src/main.c
+--- rocksndiamonds-4.1.4.1/src/main.c.gcc10	2019-05-20 15:24:46.000000000 -0400
++++ rocksndiamonds-4.1.4.1/src/main.c	2020-01-31 05:56:37.154931291 -0500
+@@ -67,7 +67,7 @@ short			ExplodeDelay[MAX_LEV_FIELDX][MAX
+ int			RunnerVisit[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
+ int			PlayerVisit[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
+ 
+-int			GfxFrame[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
++// int			GfxFrame[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
+ int 			GfxRandom[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
+ int 			GfxElement[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
+ int			GfxAction[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
+@@ -132,7 +132,7 @@ struct LevelInfo	level, level_template;
+ struct PlayerInfo	stored_player[MAX_PLAYERS], *local_player = NULL;
+ struct HiScore		highscore[MAX_SCORE_ENTRIES];
+ struct TapeInfo		tape;
+-struct SetupInfo	setup;
++// struct SetupInfo	setup;
+ struct GameInfo		game;
+ struct GlobalInfo	global;
+ struct BorderInfo	border;

diff --git a/games-arcade/rocksndiamonds/rocksndiamonds-4.1.4.1.ebuild b/games-arcade/rocksndiamonds/rocksndiamonds-4.1.4.1.ebuild
new file mode 100644
index 00000000000..33c5d476c83
--- /dev/null
+++ b/games-arcade/rocksndiamonds/rocksndiamonds-4.1.4.1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop flag-o-matic
+
+DESCRIPTION="A Boulderdash clone"
+HOMEPAGE="https://www.artsoft.org/rocksndiamonds/"
+SRC_URI="https://www.artsoft.org/RELEASES/unix/rocksndiamonds/${P}.tar.gz
+	https://upload.wikimedia.org/wikipedia/commons/e/e2/Rocks%27n%27Diamonds.png -> ${PN}.png
+	https://www.artsoft.org/RELEASES/rocksndiamonds/levels/Contributions-1.2.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/rnd-contrib-1.0.0.tar.gz
+	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/unix/rocksndiamonds/levels/rockslevels-emc-1.0.tar.gz
+	https://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-sp-1.0.tar.gz
+	https://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-dx-1.0.tar.gz
+	mirror://gentoo/rnd_jue-v8.tar.bz2
+	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/Emerald_Mine_Club-2.1.1.7z
+	https://www.artsoft.org/RELEASES/rocksndiamonds/levels/RS_MIX_01-needs_rnd_jue.zip
+	https://www.artsoft.org/RELEASES/rocksndiamonds/levels/Supaplex-2.0.0.zip
+"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+	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}
+	app-arch/unzip
+"
+
+PATCHES=(
+	# From Fedora:
+	"${FILESDIR}"/${PN}-4.1.0.0-YN.patch
+	"${FILESDIR}"/${PN}-4.1.0.0-music-info-url.patch
+	"${FILESDIR}"/${PN}-4.1.0.0-CVE-2011-4606.patch
+	"${FILESDIR}"/${PN}-4.1.4.1-gcc10.patch
+)
+
+src_unpack() {
+	unpack ${P}.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
+	unpack \
+		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-2.1.1.7z \
+		RS_MIX_01-needs_rnd_jue.zip \
+		Supaplex-2.0.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="RO_GAME_DIR=/usr/share/${PN} RW_GAME_DIR=/usr/share/${PN}"
+	emake -j1 clean
+	emake ${makeopts} OPTIONS="${CFLAGS}" sdl2
+}
+
+src_install() {
+	dobin rocksndiamonds
+	insinto "/usr/share/${PN}"
+	doins -r docs graphics levels music sounds
+
+	einstalldocs
+	doicon "${DISTDIR}/${PN}.png"
+	make_desktop_entry rocksndiamonds "Rocks 'N' Diamonds" /usr/share/pixmaps/${PN}.png
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-arcade/rocksndiamonds/files/, games-arcade/rocksndiamonds/
@ 2024-12-24 10:41 Pacho Ramos
  0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2024-12-24 10:41 UTC (permalink / raw
  To: gentoo-commits

commit:     bf446f642ce3b94b224b7d281c7c350f37317e71
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 24 10:41:25 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Dec 24 10:41:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf446f64

games-arcade/rocksndiamonds: drop 4.3.6.0

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 games-arcade/rocksndiamonds/Manifest               |   1 -
 .../rocksndiamonds-4.3.2.0-music-info-url.patch    |  71 -------------
 .../rocksndiamonds/rocksndiamonds-4.3.6.0.ebuild   | 117 ---------------------
 3 files changed, 189 deletions(-)

diff --git a/games-arcade/rocksndiamonds/Manifest b/games-arcade/rocksndiamonds/Manifest
index 67c4049e07dc..f5417d17475a 100644
--- a/games-arcade/rocksndiamonds/Manifest
+++ b/games-arcade/rocksndiamonds/Manifest
@@ -17,7 +17,6 @@ DIST rnd_jue-v8.tar.bz2 17244645 BLAKE2B 92d0cf646296b065c9ebe54d8d5ecb831eeb497
 DIST rockslevels-dx-1.0.tar.gz 211151 BLAKE2B 637a600f9197925d82e7ef344c90f04e8508c6b114fd07ad00977d91a856ff85dc29207e5f22c659382ee0759f8607e9dc8ad0c0de3826d57b74d494320b57ad SHA512 2e1bc4484a76bf638e8ce285972b20b6377e0483abb2475e2343d48de1f84ee102f430049d685b89bc1087e0f20b9b6e29370f8e6cae66b480d3650be9991f44
 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.6.0-linux.tar.gz 4655278 BLAKE2B 29f6976119f2af3f3807f783d199e5ef3a34d1799718d66ff166420838c9352a559ec156d767e2731ca3c6b387f4254f6640938a1ba560444e79186a4878adf0 SHA512 db74d74b89b9ab307d2979eb11e8192a74bd3ef4edb0987c59ce839410a01322a0c0384c009603a370443ce6ce96e3d5e0a82b14002bad62a4a965bd40aefeac
 DIST rocksndiamonds-4.3.8.2-linux.tar.gz 4666115 BLAKE2B 7c25db6a41544b53fc3f2b16ec3ab77c5407c5d5c6fecf5f69d2a853b7142a2d5e444df37a526b8400c6fdc93b96680073d38aaa9e5adfcc783841263740a12c SHA512 3a722d55ce157d52b287ae833941dbd5b5ee45eb6ab277fdcd9e4838426cd27736b8a5c0a17b64d60a2f84d72b02fd7b983b6cc763bd9ea84be62e64fbdde8e9
 DIST rocksndiamonds-4.4.0.0-linux.tar.gz 5314473 BLAKE2B 561deda75d608142cb143a4a7041a599d28f21614fbe2fc14ebb0e62e6da9aece680dcbe7346f3a5d35a0d9a550a425a6d32be3f76a91703ce1930eed53af0b8 SHA512 06e5f89863b7e0ee8b3d7f8831c2dfacd39adcb1de0c7f7c7946c33bd49556e73f7f5af47a7e9d88fb96f2d551296ffc4323e72e2ab1af6cfc10ed15e21664b7
 DIST rocksndiamonds-distributable-music.tar.bz2 4957282 BLAKE2B e00ccc1a06977289ffe79c010512b4a9a5c79d5a0fdff750e17f888f09395dd8a20ce06c5f1f7cc034d22e9651bad54beff1fa4e3dac854e77bbc57353d98bdd SHA512 dd220e4506492e66742796d0c359bce24691f5ebfba092aa2c2b52c5582ae9d5a38aa558872c738eeb7619b8ca853d3affa6b0e4af0fda5621bf7e07441ff252

diff --git a/games-arcade/rocksndiamonds/files/rocksndiamonds-4.3.2.0-music-info-url.patch b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.3.2.0-music-info-url.patch
deleted file mode 100644
index 6dc46277a1b2..000000000000
--- a/games-arcade/rocksndiamonds/files/rocksndiamonds-4.3.2.0-music-info-url.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-diff -up rocksndiamonds-4.3.2.0/src/files.c.url rocksndiamonds-4.3.2.0/src/files.c
---- rocksndiamonds-4.3.2.0/src/files.c.url	2022-04-16 19:22:44.000000000 -0400
-+++ rocksndiamonds-4.3.2.0/src/files.c	2022-04-26 10:32:33.995238563 -0400
-@@ -12674,11 +12674,13 @@ static struct MusicFileInfo *get_music_f
-     { "artist_header",	&tmp_music_file_info.artist_header	},
-     { "album_header",	&tmp_music_file_info.album_header	},
-     { "year_header",	&tmp_music_file_info.year_header	},
-+    { "url_header",	&tmp_music_file_info.url_header		},
- 
-     { "title",		&tmp_music_file_info.title		},
-     { "artist",		&tmp_music_file_info.artist		},
-     { "album",		&tmp_music_file_info.album		},
-     { "year",		&tmp_music_file_info.year		},
-+    { "url",		&tmp_music_file_info.url		},
- 
-     { NULL,		NULL					},
-   };
-@@ -12794,11 +12796,13 @@ void LoadMusicInfo(void)
-     checked_free(music_file_info->artist_header);
-     checked_free(music_file_info->album_header);
-     checked_free(music_file_info->year_header);
-+    checked_free(music_file_info->url_header);
- 
-     checked_free(music_file_info->title);
-     checked_free(music_file_info->artist);
-     checked_free(music_file_info->album);
-     checked_free(music_file_info->year);
-+    checked_free(music_file_info->url);
- 
-     free(music_file_info);
- 
-diff -up rocksndiamonds-4.3.2.0/src/main.h.url rocksndiamonds-4.3.2.0/src/main.h
---- rocksndiamonds-4.3.2.0/src/main.h.url	2022-04-16 19:22:44.000000000 -0400
-+++ rocksndiamonds-4.3.2.0/src/main.h	2022-04-26 10:32:33.995238563 -0400
-@@ -3710,11 +3710,13 @@ struct MusicFileInfo
-   char *artist_header;
-   char *album_header;
-   char *year_header;
-+  char *url_header;
- 
-   char *title;
-   char *artist;
-   char *album;
-   char *year;
-+  char *url;
- 
-   int music;
- 
-diff -up rocksndiamonds-4.3.2.0/src/screens.c.url rocksndiamonds-4.3.2.0/src/screens.c
---- rocksndiamonds-4.3.2.0/src/screens.c.url	2022-04-26 10:32:33.996238568 -0400
-+++ rocksndiamonds-4.3.2.0/src/screens.c	2022-04-26 10:34:29.617828672 -0400
-@@ -3392,6 +3392,19 @@ void HandleInfoScreen_Music(int dx, int
-       ystart += ystep_head;
-     }
- 
-+    if (!strEqual(list->url, UNKNOWN_NAME))
-+    {
-+      if (!strEqual(list->url_header, UNKNOWN_NAME))
-+        DrawTextSCentered(ystart, font_head, list->url_header);
-+      else
-+        DrawTextSCentered(ystart, font_head, "from the website");
-+
-+      ystart += ystep_head;
-+
-+      DrawTextFCentered(ystart, font_text, "%s", list->url);
-+      ystart += ystep_head;
-+    }
-+
-     DrawTextSCentered(ybottom, font_foot, TEXT_NEXT_PAGE);
- 
-     if (button != MB_MENU_INITIALIZE)

diff --git a/games-arcade/rocksndiamonds/rocksndiamonds-4.3.6.0.ebuild b/games-arcade/rocksndiamonds/rocksndiamonds-4.3.6.0.ebuild
deleted file mode 100644
index b5c59ce9daab..000000000000
--- a/games-arcade/rocksndiamonds/rocksndiamonds-4.3.6.0.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2023 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}
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-12-24 10:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-23 19:17 [gentoo-commits] repo/gentoo:master commit in: games-arcade/rocksndiamonds/files/, games-arcade/rocksndiamonds/ Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2020-06-07 14:43 Pacho Ramos
2024-12-24 10:41 Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox