summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-board/pasang-emas/ChangeLog11
-rw-r--r--games-board/pasang-emas/Manifest17
-rw-r--r--games-board/pasang-emas/files/pasang-emas-3.0.0-build.patch12
-rw-r--r--games-board/pasang-emas/files/pasang-emas-3.1.0-build.patch37
-rw-r--r--games-board/pasang-emas/pasang-emas-3.1.0.ebuild54
5 files changed, 111 insertions, 20 deletions
diff --git a/games-board/pasang-emas/ChangeLog b/games-board/pasang-emas/ChangeLog
index 1f3dc026ef06..74be55a64518 100644
--- a/games-board/pasang-emas/ChangeLog
+++ b/games-board/pasang-emas/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-board/pasang-emas
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/pasang-emas/ChangeLog,v 1.4 2010/08/12 14:14:16 hwoarang Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/pasang-emas/ChangeLog,v 1.5 2011/12/05 17:32:17 mr_bones_ Exp $
+
+*pasang-emas-3.1.0 (05 Dec 2011)
+
+ 05 Dec 2011; Michael Sterrett <mr_bones_@gentoo.org>
+ files/pasang-emas-3.0.0-build.patch, +pasang-emas-3.1.0.ebuild,
+ +files/pasang-emas-3.1.0-build.patch:
+ version bump (bug #393237)
12 Aug 2010; Markos Chandras <hwoarang@gentoo.org>
pasang-emas-3.0.0.ebuild:
diff --git a/games-board/pasang-emas/Manifest b/games-board/pasang-emas/Manifest
index 17844e168baf..41320e9bbaca 100644
--- a/games-board/pasang-emas/Manifest
+++ b/games-board/pasang-emas/Manifest
@@ -1,17 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX pasang-emas-3.0.0-build.patch 1459 RMD160 a296ce70dc77e57c62862b625658bba4b6278a72 SHA1 e4693fa14e8a3824ca9214431f57ce575dc60d23 SHA256 756b23155848d4379585dbe8f175966a21e72d60da59cca0714680a13b5a99bd
+AUX pasang-emas-3.0.0-build.patch 1243 RMD160 71789e2eeb4eb1e6d5c93ac9d6a2c0f7a45bd230 SHA1 f70784038bbd9a35c757cc8308d6795ccf841654 SHA256 5b2142388bc70ab88eb5f0884c4eede001eeecd39db849ff1f4d6b7373b015be
+AUX pasang-emas-3.1.0-build.patch 1243 RMD160 71789e2eeb4eb1e6d5c93ac9d6a2c0f7a45bd230 SHA1 f70784038bbd9a35c757cc8308d6795ccf841654 SHA256 5b2142388bc70ab88eb5f0884c4eede001eeecd39db849ff1f4d6b7373b015be
DIST pasang-emas-3.0.0.tar.bz2 2984954 RMD160 2f9ac6acdd56f239491091e65b6b1b361b9caed6 SHA1 e33c1149a3477b7604db9c1dfb50065f2ad4acb8 SHA256 f2f4f07a2cee099e8204a3721405d6af59c18d23c6ff0792fe9eb244a08b04b9
+DIST pasang-emas-3.1.0.tar.bz2 3030528 RMD160 fb58023b466e7c991d0e8fe4477feb6bcba0ae75 SHA1 36c03b9224937f575dcfaf136372a3de532aa5b0 SHA256 a36b63adb496dbe343adac2063164fa1377e2295b0bc78f3dd293f8d946acfe5
DIST pasang-emas-themes-1.0.tar.bz2 1190560 RMD160 739f3c1b8dd0268c4d5c57eb426d6b64831dbd91 SHA1 cbf95e6548a77d34c699ce203eef1aa1407072ee SHA256 5be65e641a81109794300b1dda4f78dcbf7287747aaa5b2a0fcadfe2991affe9
DIST pet-marble.tar.bz2 631999 RMD160 7cf392378babaa5f4c08d49b7f04b3849f8449c1 SHA1 b17aa2d027823c88370f6a6616db37f05b8f2960 SHA256 221cd4d4030e12d5e51c2f17f26f38ed81aafcad3bbafb07c85f4ebd88f393ce
EBUILD pasang-emas-3.0.0.ebuild 1374 RMD160 e991bd645cc6ef40d37f6235095e54e4b43c1566 SHA1 35a33a144dc26d75f51e77c140fe39777dcbb5af SHA256 110a928045c369efdb54cfd3b0e62f9785259f19f203812cbdfcbe017a31d8b8
-MISC ChangeLog 872 RMD160 a0094cf74fba23877c996cdce439a5f2f0e43cd8 SHA1 02ac581a154e58932f6d9dd481885e13b2859291 SHA256 0fe395760269fddd0440ce45b7709e26854a2de699bdacf71f07819cfc4e2a59
+EBUILD pasang-emas-3.1.0.ebuild 1381 RMD160 25017456cbbc3d6b030aabfa8f74e989e4cd4ea5 SHA1 2f8595b41b6ce7911dc2a93022a82574649bc724 SHA256 f34e9d10fba2e730f61ca44d9c5e543d0736320e3fc63100e52f8d250278a152
+MISC ChangeLog 1098 RMD160 e36eaeac1ffa90d38a9be445b1ff336a4c421b84 SHA1 5e13b16c0b88754580c7830137cf867db571e56b SHA256 bbde3d042114340685757d7034cabf1f2141a8d76d992d1a230e3ee4750d6372
MISC metadata.xml 234 RMD160 194c3f93cf00b97ec53d18b7ef335cf931579a53 SHA1 e6755e99be50baf94ebba39e3b6d38d2673fd559 SHA256 04b3639a4094b031d0ce94d78d8e47f87b8673845e0604911b53d85db3127799
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
-
-iEYEARECAAYFAkyBLrsACgkQdz7hIScOURHJrwCgj3Nx4kTnf9tTWZWA0a7uw9KL
-UJ8AoI3rjdXFQvh7JmYJety4tje/US/b
-=8lFw
------END PGP SIGNATURE-----
diff --git a/games-board/pasang-emas/files/pasang-emas-3.0.0-build.patch b/games-board/pasang-emas/files/pasang-emas-3.0.0-build.patch
index 503eb20d99bb..f3c16f76ad19 100644
--- a/games-board/pasang-emas/files/pasang-emas-3.0.0-build.patch
+++ b/games-board/pasang-emas/files/pasang-emas-3.0.0-build.patch
@@ -1,5 +1,5 @@
---- pasang-emas-2.1.0-orig/src/Makefile.in 2010-05-04 13:12:45.000000000 +0600
-+++ pasang-emas-2.1.0/src/Makefile.in 2010-05-20 15:48:56.000000000 +0600
+--- pasang-emas-2.1.0-orig/src/Makefile.in
++++ pasang-emas-2.1.0/src/Makefile.in
@@ -196,7 +196,7 @@
INCLUDES = $(DEPS_CFLAGS) \
--include ../config.h \
@@ -9,8 +9,8 @@
-DDATADIR=\"$(datadir)\" \
-DTHEME_ROOT_DIR=\"$(datadir)/$(PACKAGE_TARNAME)/themes\" \
-DUSER_THEME_ROOT_DIR=\".$(PACKAGE_TARNAME)/themes\" \
---- pasang-emas-2.1.0-orig/data/Makefile.in 2010-05-04 13:12:45.000000000 +0600
-+++ pasang-emas-2.1.0/data/Makefile.in 2010-05-20 16:19:12.000000000 +0600
+--- pasang-emas-2.1.0-orig/data/Makefile.in
++++ pasang-emas-2.1.0/data/Makefile.in
@@ -229,10 +229,10 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
@@ -24,8 +24,8 @@
appicon_DATA = \
pasang-emas.png \
pasang-emas-flash.png
---- pasang-emas-2.1.0-orig/po/Makefile.in.in 2010-04-22 08:00:31.000000000 +0600
-+++ pasang-emas-2.1.0/po/Makefile.in.in 2010-06-03 14:31:18.000000000 +0600
+--- pasang-emas-2.1.0-orig/po/Makefile.in.in
++++ pasang-emas-2.1.0/po/Makefile.in.in
@@ -34,7 +34,7 @@
datarootdir = @datarootdir@
libdir = @libdir@
diff --git a/games-board/pasang-emas/files/pasang-emas-3.1.0-build.patch b/games-board/pasang-emas/files/pasang-emas-3.1.0-build.patch
new file mode 100644
index 000000000000..f3c16f76ad19
--- /dev/null
+++ b/games-board/pasang-emas/files/pasang-emas-3.1.0-build.patch
@@ -0,0 +1,37 @@
+--- pasang-emas-2.1.0-orig/src/Makefile.in
++++ pasang-emas-2.1.0/src/Makefile.in
+@@ -196,7 +196,7 @@
+ INCLUDES = $(DEPS_CFLAGS) \
+ --include ../config.h \
+ -DLOCALEDIR=\"$(localedir)\" \
+- -DPIXMAPSDIR=\"$(datadir)/pixmaps\" \
++ -DPIXMAPSDIR=\"/usr/share/pixmaps\" \
+ -DDATADIR=\"$(datadir)\" \
+ -DTHEME_ROOT_DIR=\"$(datadir)/$(PACKAGE_TARNAME)/themes\" \
+ -DUSER_THEME_ROOT_DIR=\".$(PACKAGE_TARNAME)/themes\" \
+--- pasang-emas-2.1.0-orig/data/Makefile.in
++++ pasang-emas-2.1.0/data/Makefile.in
+@@ -229,10 +229,10 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ SUBDIRS = kayu
+-desktopdir = $(datadir)/applications
++desktopdir = /usr/share/applications
+ desktop_in_files = pasang-emas.desktop.in
+ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+-appicondir = $(datadir)/pixmaps
++appicondir = /usr/share/pixmaps
+ appicon_DATA = \
+ pasang-emas.png \
+ pasang-emas-flash.png
+--- pasang-emas-2.1.0-orig/po/Makefile.in.in
++++ pasang-emas-2.1.0/po/Makefile.in.in
+@@ -34,7 +34,7 @@
+ datarootdir = @datarootdir@
+ libdir = @libdir@
+ DATADIRNAME = @DATADIRNAME@
+-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
++itlocaledir = /usr/share/locale
+ subdir = po
+ install_sh = @install_sh@
+ # Automake >= 1.8 provides @mkdir_p@.
diff --git a/games-board/pasang-emas/pasang-emas-3.1.0.ebuild b/games-board/pasang-emas/pasang-emas-3.1.0.ebuild
new file mode 100644
index 000000000000..945fb575abff
--- /dev/null
+++ b/games-board/pasang-emas/pasang-emas-3.1.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/pasang-emas/pasang-emas-3.1.0.ebuild,v 1.1 2011/12/05 17:32:16 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils games
+
+DESCRIPTION="A traditional game of Brunei"
+HOMEPAGE="http://pasang-emas.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+ extras? ( mirror://sourceforge/${PN}/pasang-emas-themes-1.0.tar.bz2
+ mirror://sourceforge/${PN}/pet-marble.tar.bz2 )"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="extras nls"
+
+RDEPEND="app-text/gnome-doc-utils
+ >=x11-libs/gtk+-2.18.2:2
+ virtual/libintl
+ app-text/scrollkeeper"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+ sed -i \
+ -e '/Encoding/d' \
+ -e '/Icon/s:\.png::' \
+ data/pasang-emas.desktop.in \
+ || die
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --localedir=/usr/share/locale \
+ --with-omf-dir=/usr/share/omf \
+ --with-help-dir=/usr/share/gnome/help \
+ $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ if use extras; then
+ insinto "${GAMES_DATADIR}/${PN}"/themes
+ doins -r \
+ "${WORKDIR}"/marble \
+ "${WORKDIR}"/pasang-emas-themes-1.0/{conteng,kaca} || die
+ fi
+ use nls || rm -rf "${D}"usr/share/locale
+ prepgamesdirs
+}