summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-01-18 06:38:34 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-01-18 06:38:34 +0000
commit85ad20d470d2f42d5468ad5de891e81ef3b7ec37 (patch)
treec8280f52dfec8a299951128708c601674579c255 /games-board/gtkatlantic
parentsilence repoman, just 2012 to 2013, bikeshed (diff)
downloadgentoo-2-85ad20d470d2f42d5468ad5de891e81ef3b7ec37.tar.gz
gentoo-2-85ad20d470d2f42d5468ad5de891e81ef3b7ec37.tar.bz2
gentoo-2-85ad20d470d2f42d5468ad5de891e81ef3b7ec37.zip
version bump (bug #452316)
(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-board/gtkatlantic')
-rw-r--r--games-board/gtkatlantic/ChangeLog11
-rw-r--r--games-board/gtkatlantic/files/gtkatlantic-0.4.3-compile.patch30
-rw-r--r--games-board/gtkatlantic/gtkatlantic-0.4.3.ebuild55
3 files changed, 94 insertions, 2 deletions
diff --git a/games-board/gtkatlantic/ChangeLog b/games-board/gtkatlantic/ChangeLog
index 945353d8f5b7..0bb2b7eaa2cb 100644
--- a/games-board/gtkatlantic/ChangeLog
+++ b/games-board/gtkatlantic/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-board/gtkatlantic
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gtkatlantic/ChangeLog,v 1.17 2012/05/04 04:30:10 jdhore Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/gtkatlantic/ChangeLog,v 1.18 2013/01/18 06:38:34 mr_bones_ Exp $
+
+*gtkatlantic-0.4.3 (18 Jan 2013)
+
+ 18 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/gtkatlantic-0.4.3-compile.patch, +gtkatlantic-0.4.3.ebuild,
+ files/gtkatlantic-0.4.2-libpng14.patch:
+ version bump (bug #452316)
04 May 2012; Jeff Horelick <jdhore@gentoo.org> gtkatlantic-0.4.2.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
diff --git a/games-board/gtkatlantic/files/gtkatlantic-0.4.3-compile.patch b/games-board/gtkatlantic/files/gtkatlantic-0.4.3-compile.patch
new file mode 100644
index 000000000000..06e03b04271c
--- /dev/null
+++ b/games-board/gtkatlantic/files/gtkatlantic-0.4.3-compile.patch
@@ -0,0 +1,30 @@
+--- gtkatlantic-0.4.3.orig/configure.in
++++ gtkatlantic-0.4.3/configure.in
+@@ -48,15 +48,7 @@
+ dnl fi
+
+ dnl Set PACKAGE_DATA_DIR in config.h.
+-if test "x${datarootdir}" = 'x${prefix}/share'; then
+- if test "x${prefix}" = "xNONE"; then
+- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${ac_default_prefix}/share/${PACKAGE}", [Path where data will be installed])
+- else
+- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${prefix}/share/${PACKAGE}", [Path where data will be installed])
+- fi
+-else
+- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}/${PACKAGE}", [Path where data will be installed])
+-fi
++AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}/${PACKAGE}", [Path where data will be installed])
+
+ dnl Set PACKAGE SOURCE DIR in config.h.
+ packagesrcdir=`cd $srcdir && pwd`
+@@ -67,10 +59,6 @@
+ # CFLAGS="-g"; \
+ # fi
+
+-if test "x$GCC" = "xyes"; then \
+- CFLAGS="-Wall -Werror -ggdb"; \
+-fi
+-
+ AC_OUTPUT([
+ Makefile
+ src/Makefile
diff --git a/games-board/gtkatlantic/gtkatlantic-0.4.3.ebuild b/games-board/gtkatlantic/gtkatlantic-0.4.3.ebuild
new file mode 100644
index 000000000000..ce84c1d5d25c
--- /dev/null
+++ b/games-board/gtkatlantic/gtkatlantic-0.4.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/gtkatlantic/gtkatlantic-0.4.3.ebuild,v 1.1 2013/01/18 06:38:34 mr_bones_ Exp $
+
+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://gtkatlantic.gradator.net/downloads/v0.4/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ dev-libs/libxml2
+ media-libs/libpng:0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ # quiet gtk deprecation warnings
+ sed -i \
+ -e 's/g_strncasecmp/g_ascii_strncasecmp/' \
+ -e 's/g_strup/g_ascii_strup/' \
+ src/{load.c,xmlparse.c} || die
+ epatch "${FILESDIR}"/${P}-compile.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README
+ newicon data/icon32x32.xpm ${PN}.xpm
+ newicon -s 16 data/icon16x16.xpm ${PN}.xpm
+ newicon -s 32 data/icon32x32.xpm ${PN}.xpm
+ make_desktop_entry ${PN} GtkAtlantic
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}