summaryrefslogtreecommitdiff
path: root/games-rpg/freedroid
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-rpg/freedroid
reinit the tree, so we can have metadata
Diffstat (limited to 'games-rpg/freedroid')
-rw-r--r--games-rpg/freedroid/Manifest7
-rw-r--r--games-rpg/freedroid/files/freedroid-1.0.2-format.patch29
-rw-r--r--games-rpg/freedroid/freedroid-1.0.2-r1.ebuild36
-rw-r--r--games-rpg/freedroid/freedroid-1.0.2.ebuild36
-rw-r--r--games-rpg/freedroid/metadata.xml11
5 files changed, 119 insertions, 0 deletions
diff --git a/games-rpg/freedroid/Manifest b/games-rpg/freedroid/Manifest
new file mode 100644
index 000000000000..569946e21d97
--- /dev/null
+++ b/games-rpg/freedroid/Manifest
@@ -0,0 +1,7 @@
+AUX freedroid-1.0.2-format.patch 762 SHA256 eb8f2b1e378826f0535a30bb64a5d6b1de6778773ffbb35dd165dc4420921eb1 SHA512 cc2a49a22bfd8e574ee466ef837e1c4a32e7529a6275c0abab507e46291c63abbf641975fc08297f63b4a6204c4436a18b053231aeaed0ee40ed86b01217cf47 WHIRLPOOL 6a15899b407a910bf359be260367896c29acec76b49c4c66f44de8524aa9d5ecdd8179949f8e9a15309e051565ca2e1cba7a1fc20a7499f700be05f777b4b979
+DIST freedroid-1.0.2.tar.gz 4819173 SHA256 0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3 SHA512 cfafa4af86a2007fcf761b51e6c7dcc6dc40f4513057413901fede41b7a436b9c8cf7c3e5c29130e5410fab640ffbdc8100043a442555e862acffe9f33086be1 WHIRLPOOL fc44018e71586ca294796771e263b8f7064db0619b534f4cd8407b1e2c7ddbb8b510090e4fc62f940387efa721231423e5b4e8a3caf958de9a2ee176c4d13010
+EBUILD freedroid-1.0.2-r1.ebuild 841 SHA256 77de8255c12de1558563e4069024da22035cd008f713415e09850d9b9ae698aa SHA512 43ca7bdbdde0e3284d3e76bc7af73002675b1d5d73be26c562c3322ce7a1464f0a04ff3b3bbb577a530e82c613e276bed99a0d1df79dc66d9a8e7ee90c54eb6b WHIRLPOOL f78b4798f34246e48183835938d6e51dc2649781cf8083166005bc5383f7b0e37f3bc8a7b671a49a8e14f944929124be97a9f0347221c4ac5776279a857531c9
+EBUILD freedroid-1.0.2.ebuild 870 SHA256 38c5d30d384dda3ffca05a2551c59011cb49c9a5ef9f62b10cd8881e6aaf5abe SHA512 b8c226b563a2d77e847fdac16d029fb3f82687e30f3efb9e419f4db208d8bf64a889569cffda52a7dc6e295eccc05283f3393bb0c8e180f45288cde1866485b3 WHIRLPOOL 2fcf2484cc3e1b670497bc5587c9082ae30c0e3c62fb386e35241b3477f2179900780e4ec8f614dfff59c14eff460d05e91c4932668132c09fdcb0994fda6bd4
+MISC ChangeLog 3198 SHA256 009e3bc741952cd45b371988fa51f52f9ddacf0fb3a4ad3a8b3269c86fa7585a SHA512 edc2bc26da9d9151f73ddf3d8562fd3b43b25b063223dbef4eef3499a1d497547dc645fbc53216fb9617afac15256b4d0d794f907a019f767ec8b0dab67a38f5 WHIRLPOOL 00e15da5debbe9ff32e7cacab136a8f24fc7ead61f742c52439a4afe3dee6760d1e1addbb8c10ad591b95ba722fd926810c77465805b1ec06dc2d803fd35d12e
+MISC ChangeLog-2015 1532 SHA256 bf6f674e54d0e339147bf21c82e27ebc7cf802e463e5ba47af12fbfeb1614abf SHA512 6f361a6f59ae7d3da31435f18dd3ab870ac7e2c252326e6ddaf199e616feff3a6e390841674ce432d76cfe2ddf1881bc7ef5c223c769b12112a75d3a9cae74cf WHIRLPOOL 150baf587829e42743902ced8ade24595d580f8ecb37e05067f739a2ce20d6838a728d9196f8fcae2d959630b96fd4242e0eae891d98308f0218b331684d4e28
+MISC metadata.xml 332 SHA256 2dc0142f567a577393c977ad1b9375ffaa6f2ab8799efeb0dd6cc9a037a3c539 SHA512 4fe0371b423de98a48fb21ec25d0fc34e393ce7c2f497e815c2f991f65507b2762b1cb68c87742bd2f3714a063828d8764ea2a815e33cba086b102d5ad672932 WHIRLPOOL dc478f46d2185c158234993ab740f3be1356fb37aa6ea8a20e5d58c3ce59b754539adf72dd59f1e56567d83c0c8fc8e8779e1ae1d83f9dd5c793621b05cabdb8
diff --git a/games-rpg/freedroid/files/freedroid-1.0.2-format.patch b/games-rpg/freedroid/files/freedroid-1.0.2-format.patch
new file mode 100644
index 000000000000..4dbf96bda3f0
--- /dev/null
+++ b/games-rpg/freedroid/files/freedroid-1.0.2-format.patch
@@ -0,0 +1,29 @@
+--- a/src/init.c 2015-10-24 17:37:24.431514375 +0200
++++ b/src/init.c 2015-10-24 17:37:43.057157826 +0200
+@@ -554,13 +554,13 @@
+ * following gnu-coding standards for command line interfaces */
+ case 'v':
+ printf ("\n%s %s \n", PACKAGE, VERSION);
+- printf (copyright);
++ printf ("%s", copyright);
+ exit (0);
+ break;
+
+ case 'h':
+ case '?':
+- printf (usage_string);
++ printf ("%s", usage_string);
+ exit (0);
+ break;
+
+--- a/src/misc.c 2015-10-24 17:37:54.368941282 +0200
++++ b/src/misc.c 2015-10-24 17:38:10.202638172 +0200
+@@ -889,7 +889,7 @@
+ if (db_level <= debug_level)
+ {
+ vsnprintf (buffer, 5000, fmt, args);
+- fprintf (stderr, buffer);
++ fprintf (stderr, "%s", buffer);
+ fflush (stderr);
+ }
+
diff --git a/games-rpg/freedroid/freedroid-1.0.2-r1.ebuild b/games-rpg/freedroid/freedroid-1.0.2-r1.ebuild
new file mode 100644
index 000000000000..e6eb377ac6db
--- /dev/null
+++ b/games-rpg/freedroid/freedroid-1.0.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="Freedroid - a Paradroid clone"
+HOMEPAGE="http://freedroid.sourceforge.net/"
+SRC_URI="mirror://sourceforge/freedroid/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ virtual/jpeg:0
+ media-libs/libpng:0
+ media-libs/libsdl[joystick,sound,video]
+ media-libs/libvorbis
+ media-libs/sdl-image[jpeg,png]
+ media-libs/sdl-mixer[mod,vorbis]
+ sys-libs/zlib"
+RDEPEND=${DEPEND}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-format.patch
+)
+
+src_install() {
+ default
+ find "${D}" -name "Makefile*" -exec rm -f '{}' + || die
+ rm -rf "${D}/usr/share/${PN}/"{freedroid.6,mac-osx} || die
+ newicon graphics/paraicon.bmp ${PN}.bmp
+ make_desktop_entry freedroid Freedroid /usr/share/pixmaps/${PN}.bmp
+}
diff --git a/games-rpg/freedroid/freedroid-1.0.2.ebuild b/games-rpg/freedroid/freedroid-1.0.2.ebuild
new file mode 100644
index 000000000000..689d07965419
--- /dev/null
+++ b/games-rpg/freedroid/freedroid-1.0.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="Freedroid - a Paradroid clone"
+HOMEPAGE="http://freedroid.sourceforge.net/"
+SRC_URI="mirror://sourceforge/freedroid/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[joystick,sound,video]
+ virtual/jpeg:0
+ sys-libs/zlib
+ media-libs/libpng:0
+ media-libs/sdl-image[jpeg,png]
+ media-libs/sdl-mixer[mod,vorbis]
+ media-libs/libvorbis"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-format.patch
+}
+
+src_install() {
+ default
+ find "${D}" -name "Makefile*" -exec rm -f '{}' +
+ rm -rf "${D}${GAMES_DATADIR}/${PN}/"{freedroid.6,mac-osx} || die
+ newicon graphics/paraicon.bmp ${PN}.bmp
+ make_desktop_entry freedroid Freedroid /usr/share/pixmaps/${PN}.bmp
+ prepgamesdirs
+}
diff --git a/games-rpg/freedroid/metadata.xml b/games-rpg/freedroid/metadata.xml
new file mode 100644
index 000000000000..ca95edad2177
--- /dev/null
+++ b/games-rpg/freedroid/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">freedroid</remote-id>
+ </upstream>
+</pkgmetadata>