summaryrefslogtreecommitdiff
path: root/games-rpg/freedroid
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-rpg/freedroid
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-rpg/freedroid')
-rw-r--r--games-rpg/freedroid/Manifest4
-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/metadata.xml11
4 files changed, 80 insertions, 0 deletions
diff --git a/games-rpg/freedroid/Manifest b/games-rpg/freedroid/Manifest
new file mode 100644
index 000000000000..505b0ebe770c
--- /dev/null
+++ b/games-rpg/freedroid/Manifest
@@ -0,0 +1,4 @@
+AUX freedroid-1.0.2-format.patch 762 BLAKE2B ec8021ac592995cfa5bfde3e134e432b67d74980c9bbdf733ad9938ce9d11e665e2e21695400cc7ff333d65561420917e6e8c15bd807fdb887524c67c3d9d242 SHA512 cc2a49a22bfd8e574ee466ef837e1c4a32e7529a6275c0abab507e46291c63abbf641975fc08297f63b4a6204c4436a18b053231aeaed0ee40ed86b01217cf47
+DIST freedroid-1.0.2.tar.gz 4819173 BLAKE2B 9548cc350010eff47ca13b8b4fd6b1082f16e1fe41bad5c2359aecd7834ef22b27adc90d1d33564edc63a592ffa6934224a0ee16784cf736b98fcb56d287229a SHA512 cfafa4af86a2007fcf761b51e6c7dcc6dc40f4513057413901fede41b7a436b9c8cf7c3e5c29130e5410fab640ffbdc8100043a442555e862acffe9f33086be1
+EBUILD freedroid-1.0.2-r1.ebuild 841 BLAKE2B f7e5c35d2aed93408c84fe25345ee88e02ff155163ed378f25de4334f546efc437749004f20cfb732bddfaf8077d4785e6c335d15ebf4afbf14da5bbc06bc848 SHA512 43ca7bdbdde0e3284d3e76bc7af73002675b1d5d73be26c562c3322ce7a1464f0a04ff3b3bbb577a530e82c613e276bed99a0d1df79dc66d9a8e7ee90c54eb6b
+MISC metadata.xml 332 BLAKE2B ef2f4517b0f8c02b4e6703dc065c71280ad5b06e03293977118662f2a754ec15d4a1c18980ae945018e7315bf387a49f100e7b5a48d3391f9bd8f617d8f8f3a7 SHA512 4fe0371b423de98a48fb21ec25d0fc34e393ce7c2f497e815c2f991f65507b2762b1cb68c87742bd2f3714a063828d8764ea2a815e33cba086b102d5ad672932
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/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>