summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-12-05 17:32:18 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-12-05 17:32:18 +0000
commit4a5a5da837d4eb76501f4d192452a6449c671379 (patch)
treee2c24795166aeb2245e3deb77ad2cf93c2b94151 /games-board
parentVersion bump. (diff)
downloadgentoo-2-4a5a5da837d4eb76501f4d192452a6449c671379.tar.gz
gentoo-2-4a5a5da837d4eb76501f4d192452a6449c671379.tar.bz2
gentoo-2-4a5a5da837d4eb76501f4d192452a6449c671379.zip
version bump (bug #393237)
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/pasang-emas/ChangeLog11
-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
4 files changed, 106 insertions, 8 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/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
+}