diff options
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/pasang-emas/ChangeLog | 8 | ||||
-rw-r--r-- | games-board/pasang-emas/files/pasang-emas-3.0.0-build.patch | 37 | ||||
-rw-r--r-- | games-board/pasang-emas/pasang-emas-3.0.0.ebuild | 55 |
3 files changed, 99 insertions, 1 deletions
diff --git a/games-board/pasang-emas/ChangeLog b/games-board/pasang-emas/ChangeLog index 8da89f1917e9..6d96cdcc87b5 100644 --- a/games-board/pasang-emas/ChangeLog +++ b/games-board/pasang-emas/ChangeLog @@ -1,6 +1,12 @@ # 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.1 2010/06/06 07:30:50 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/pasang-emas/ChangeLog,v 1.2 2010/07/07 18:22:05 mr_bones_ Exp $ + +*pasang-emas-3.0.0 (07 Jul 2010) + + 07 Jul 2010; Michael Sterrett <mr_bones_@gentoo.org> + +pasang-emas-3.0.0.ebuild, +files/pasang-emas-3.0.0-build.patch: + version bump *pasang-emas-2.1.0 (06 Jun 2010) 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 new file mode 100644 index 000000000000..503eb20d99bb --- /dev/null +++ b/games-board/pasang-emas/files/pasang-emas-3.0.0-build.patch @@ -0,0 +1,37 @@ +--- 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 +@@ -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 2010-05-04 13:12:45.000000000 +0600 ++++ pasang-emas-2.1.0/data/Makefile.in 2010-05-20 16:19:12.000000000 +0600 +@@ -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 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 +@@ -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.0.0.ebuild b/games-board/pasang-emas/pasang-emas-3.0.0.ebuild new file mode 100644 index 000000000000..6471c26e3dc5 --- /dev/null +++ b/games-board/pasang-emas/pasang-emas-3.0.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2010 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.0.0.ebuild,v 1.1 2010/07/07 18:22:05 mr_bones_ Exp $ + +EAPI=2 +inherit games + +DESCRIPTION="A traditional game of Brunei" +HOMEPAGE="http://pasang-emas.sourceforge.net/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="extras nls" + +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 )" + +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 +} |