summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2016-01-08 02:48:58 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2016-01-08 02:48:58 -0500
commitb5e0cc7174118153c883d1a6d7ff4653906c200d (patch)
treee7ff84bc8f584757842306bfd0fe67b859e85851 /games-board/gtkatlantic
parentgames-server/monopd: version bump; drop ppc due to missing dep (diff)
downloadgentoo-b5e0cc7174118153c883d1a6d7ff4653906c200d.tar.gz
gentoo-b5e0cc7174118153c883d1a6d7ff4653906c200d.tar.bz2
gentoo-b5e0cc7174118153c883d1a6d7ff4653906c200d.zip
games-board/gtkatlantic: version bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-board/gtkatlantic')
-rw-r--r--games-board/gtkatlantic/Manifest1
-rw-r--r--games-board/gtkatlantic/files/gtkatlantic-0.6.1-warnings.patch10
-rw-r--r--games-board/gtkatlantic/gtkatlantic-0.6.1.ebuild53
3 files changed, 64 insertions, 0 deletions
diff --git a/games-board/gtkatlantic/Manifest b/games-board/gtkatlantic/Manifest
index d4cb556f3240..fac6ad66a9ff 100644
--- a/games-board/gtkatlantic/Manifest
+++ b/games-board/gtkatlantic/Manifest
@@ -1 +1,2 @@
DIST gtkatlantic-0.5.0.tar.bz2 782124 SHA256 065f649e37144a545936546c8655c5d66558415c259c4838c101ab1c733e0d86 SHA512 5aa332af2f17612caae0e396614ddfecbb1df4ad1f2c15a402efea5e96fde72cb0aefa87e690234382b82d03904e7235536434e455827b838a988c13eaa78bfe WHIRLPOOL 48e0e44ecedb02686414b1fdbfbf355b7e214c31edc1db70f90657489b19fb65d5a984c5814f31aab045e3c0837e3978e105a330510a42704c05995a1b3a1556
+DIST gtkatlantic-0.6.1.tar.bz2 505701 SHA256 ab57fca9c45854752b4da77b749328884ddc975e9636ae6c73cc191f1d7eb331 SHA512 8388cbdd4c73d56eacb18a645bdd2d1f6e1fa8d21be972eaba1c4d6af6d0681a2a54909a82d6846ddd785b46b0ad99193e5afea528c5662956ff89a1e6e366df WHIRLPOOL 909331b930c540131bebcc7f1fd25ec36fa75f934ac23e21581c099aea61a78282ac5a9533b6a8622b4a76e482c023c54261bb98a5b563fa9563a3a4c5314d29
diff --git a/games-board/gtkatlantic/files/gtkatlantic-0.6.1-warnings.patch b/games-board/gtkatlantic/files/gtkatlantic-0.6.1-warnings.patch
new file mode 100644
index 000000000000..a924505dbea5
--- /dev/null
+++ b/games-board/gtkatlantic/files/gtkatlantic-0.6.1-warnings.patch
@@ -0,0 +1,10 @@
+--- src/readpng.c.orig
++++ src/readpng.c
+@@ -23,6 +23,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <glib.h>
+
+ #include <png.h>
diff --git a/games-board/gtkatlantic/gtkatlantic-0.6.1.ebuild b/games-board/gtkatlantic/gtkatlantic-0.6.1.ebuild
new file mode 100644
index 000000000000..f82ca9fc0eb1
--- /dev/null
+++ b/games-board/gtkatlantic/gtkatlantic-0.6.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils gnome2-utils games
+
+DESCRIPTION="Monopoly-like game that works with the monopd server"
+HOMEPAGE="http://gtkatlantic.gradator.net/"
+SRC_URI="http://download.tuxfamily.org/gtkatlantic/downloads/v0.6/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:3
+ dev-libs/libxml2
+ media-libs/libpng:0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i -e 's:$(datadir):/usr/share:' {,data/}Makefile.am || die
+ sed -i -e 's/configure.in/configure.ac/' configure.in || die
+ mv configure.{in,ac} || die
+ epatch "${FILESDIR}"/${P}-warnings.patch
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --with-icons-path=/usr/share/icons/hicolor
+}
+
+src_install() {
+ default
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}