diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-06-06 07:30:50 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-06-06 07:30:50 +0000 |
commit | 41b3182285096d17127f4ab5e37cf80c70b97d14 (patch) | |
tree | 50a2d70f1fe369d755d636db419bbfc1538e46c2 /games-board/pasang-emas | |
parent | New package, ebuild written by me (diff) | |
download | historical-41b3182285096d17127f4ab5e37cf80c70b97d14.tar.gz historical-41b3182285096d17127f4ab5e37cf80c70b97d14.tar.bz2 historical-41b3182285096d17127f4ab5e37cf80c70b97d14.zip |
initial commit - ebuild and patch submitted by kirin yuri via bug #314767
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-board/pasang-emas')
-rw-r--r-- | games-board/pasang-emas/ChangeLog | 11 | ||||
-rw-r--r-- | games-board/pasang-emas/Manifest | 7 | ||||
-rw-r--r-- | games-board/pasang-emas/files/pasang-emas-2.1.0-build.patch | 37 | ||||
-rw-r--r-- | games-board/pasang-emas/metadata.xml | 8 | ||||
-rw-r--r-- | games-board/pasang-emas/pasang-emas-2.1.0.ebuild | 50 |
5 files changed, 113 insertions, 0 deletions
diff --git a/games-board/pasang-emas/ChangeLog b/games-board/pasang-emas/ChangeLog new file mode 100644 index 000000000000..8da89f1917e9 --- /dev/null +++ b/games-board/pasang-emas/ChangeLog @@ -0,0 +1,11 @@ +# 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 $ + +*pasang-emas-2.1.0 (06 Jun 2010) + + 06 Jun 2010; Michael Sterrett <mr_bones_@gentoo.org> + +pasang-emas-2.1.0.ebuild, +files/pasang-emas-2.1.0-build.patch, + +metadata.xml: + initial commit - ebuild and patch submitted by kirin yuri via bug #314767 + diff --git a/games-board/pasang-emas/Manifest b/games-board/pasang-emas/Manifest new file mode 100644 index 000000000000..8294e01ed3b2 --- /dev/null +++ b/games-board/pasang-emas/Manifest @@ -0,0 +1,7 @@ +AUX pasang-emas-2.1.0-build.patch 1459 RMD160 a296ce70dc77e57c62862b625658bba4b6278a72 SHA1 e4693fa14e8a3824ca9214431f57ce575dc60d23 SHA256 756b23155848d4379585dbe8f175966a21e72d60da59cca0714680a13b5a99bd +DIST pasang-emas-2.1.0.tar.bz2 2972605 RMD160 08dfa33e0c7bb9d9c067d6a0513988c2a139ffae SHA1 efac4662a3cdd61030bdbde01db8c496b32b6179 SHA256 5869fcb7561aad97e9b1336ceca81e54ba1b6c5cd465b9e0b18ae75268d56594 +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-2.1.0.ebuild 1278 RMD160 282d2e730b1b8b3768a26d4a85af2f791b037f2e SHA1 0e368db21fad855b9ef578588ee3712b43868023 SHA256 097136ab2834a40af32f36eded222c41551ed37d808f8a8d3be2e184738d86f8 +MISC ChangeLog 472 RMD160 8345befbe24563356f9f46183a5d7763c17c09b7 SHA1 4d5f14a69ae2d7170f4c9a718e231688f49c1275 SHA256 08a365e63db2a957b18d363f3ef31e314fc7a25517f2b8b83f63f08cf8502c3c +MISC metadata.xml 234 RMD160 194c3f93cf00b97ec53d18b7ef335cf931579a53 SHA1 e6755e99be50baf94ebba39e3b6d38d2673fd559 SHA256 04b3639a4094b031d0ce94d78d8e47f87b8673845e0604911b53d85db3127799 diff --git a/games-board/pasang-emas/files/pasang-emas-2.1.0-build.patch b/games-board/pasang-emas/files/pasang-emas-2.1.0-build.patch new file mode 100644 index 000000000000..503eb20d99bb --- /dev/null +++ b/games-board/pasang-emas/files/pasang-emas-2.1.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/metadata.xml b/games-board/pasang-emas/metadata.xml new file mode 100644 index 000000000000..2b47b9a8dac5 --- /dev/null +++ b/games-board/pasang-emas/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <use> + <flag name="extras">Install some extra themes</flag> + </use> +</pkgmetadata> diff --git a/games-board/pasang-emas/pasang-emas-2.1.0.ebuild b/games-board/pasang-emas/pasang-emas-2.1.0.ebuild new file mode 100644 index 000000000000..66717c1309c0 --- /dev/null +++ b/games-board/pasang-emas/pasang-emas-2.1.0.ebuild @@ -0,0 +1,50 @@ +# 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-2.1.0.ebuild,v 1.1 2010/06/06 07:30:50 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 +} + +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 +} |