diff options
author | Tristan Heaven <tristan@gentoo.org> | 2006-11-04 04:56:55 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2006-11-04 04:56:55 +0000 |
commit | e343815f975c2caa9de366b240254aacfa41cb36 (patch) | |
tree | 400d6a491583345a4076e6ab84152653535f81de /games-puzzle/pingus | |
parent | Initial ebuild for swing-layout. Contributed by ali_bush, ty :) (diff) | |
download | historical-e343815f975c2caa9de366b240254aacfa41cb36.tar.gz historical-e343815f975c2caa9de366b240254aacfa41cb36.tar.bz2 historical-e343815f975c2caa9de366b240254aacfa41cb36.zip |
Add nls dependencies and cleanup ebuild
Package-Manager: portage-2.1.2_rc1-r3
Diffstat (limited to 'games-puzzle/pingus')
-rw-r--r-- | games-puzzle/pingus/ChangeLog | 8 | ||||
-rw-r--r-- | games-puzzle/pingus/Manifest | 30 | ||||
-rw-r--r-- | games-puzzle/pingus/files/pingus-0.6.0-build.patch | 192 | ||||
-rw-r--r-- | games-puzzle/pingus/pingus-0.6.0-r1.ebuild | 33 |
4 files changed, 234 insertions, 29 deletions
diff --git a/games-puzzle/pingus/ChangeLog b/games-puzzle/pingus/ChangeLog index d30698c46740..ecced3e3cc13 100644 --- a/games-puzzle/pingus/ChangeLog +++ b/games-puzzle/pingus/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-puzzle/pingus -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/ChangeLog,v 1.10 2005/10/08 13:56:52 blubb Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/ChangeLog,v 1.11 2006/11/04 04:56:55 nyhm Exp $ + + 04 Nov 2006; Tristan Heaven <nyhm@gentoo.org> + +files/pingus-0.6.0-build.patch, pingus-0.6.0-r1.ebuild: + Add nls dependencies and cleanup ebuild 08 Oct 2005; Simon Stelling <blubb@gentoo.org> pingus-0.6.0-r1.ebuild: remove amd64 keyword till bug #85454 is fixed diff --git a/games-puzzle/pingus/Manifest b/games-puzzle/pingus/Manifest index b0a19e24c057..0b045952e702 100644 --- a/games-puzzle/pingus/Manifest +++ b/games-puzzle/pingus/Manifest @@ -1,16 +1,23 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX pingus-0.6.0-build.patch 6379 RMD160 58b6b5560fb106e4c809ec4bd4c20908e748bb51 SHA1 d99fbff7b6751a36af4ccdc217a6355131e37d01 SHA256 02ef281096740a3e28344c4a37275a4c15148d46d68789e53a2ed2299a884dcf +MD5 2dc623c1afbed87b09b3ae4521283973 files/pingus-0.6.0-build.patch 6379 +RMD160 58b6b5560fb106e4c809ec4bd4c20908e748bb51 files/pingus-0.6.0-build.patch 6379 +SHA256 02ef281096740a3e28344c4a37275a4c15148d46d68789e53a2ed2299a884dcf files/pingus-0.6.0-build.patch 6379 AUX pingus-0.6.0-gcc.patch 4456 RMD160 83a0b8a173c949fead3183fe006db6a09fca6407 SHA1 be143a8885102d254c5dbb21f41161229b2b5787 SHA256 01429fe170612f5aee6bf414289a2b3ce02446527470f7365d3a2240c142339e MD5 50abceb94694d0b53196bf840e5e2710 files/pingus-0.6.0-gcc.patch 4456 RMD160 83a0b8a173c949fead3183fe006db6a09fca6407 files/pingus-0.6.0-gcc.patch 4456 SHA256 01429fe170612f5aee6bf414289a2b3ce02446527470f7365d3a2240c142339e files/pingus-0.6.0-gcc.patch 4456 DIST pingus-0.6.0.tar.bz2 9585580 RMD160 2f8507997f6f47b886ed861e19e7c50185d7c597 SHA1 be3970eea96163009926014535ab92a6bec136fe SHA256 b88c9e220c9b82691c1bbf07e5ad5cfe763c3617d493a37c786ae4750fd77662 -EBUILD pingus-0.6.0-r1.ebuild 1389 RMD160 03833b420211486879e16f05cfa9268dc274ee55 SHA1 b143c6a76e368a4bebb6f7bb2342d091074504ef SHA256 a1701bab9ece9a37c8e138cb0703f397e82949cbed1b6cab99fa248c13241b48 -MD5 12a7dead9941089b9bff66bddf271862 pingus-0.6.0-r1.ebuild 1389 -RMD160 03833b420211486879e16f05cfa9268dc274ee55 pingus-0.6.0-r1.ebuild 1389 -SHA256 a1701bab9ece9a37c8e138cb0703f397e82949cbed1b6cab99fa248c13241b48 pingus-0.6.0-r1.ebuild 1389 -MISC ChangeLog 2198 RMD160 027211927d50d79d8eabf85f23d931ca0e35d9e4 SHA1 5a568437022d443ca54e7427ec12d81fd30c9e41 SHA256 d99486f13cef9f00cba30ebb02c3a312b346ba0ec85f6d83fd0fd2014f6cf483 -MD5 c2c4be5c78e9deb96264e39ee9a2db5b ChangeLog 2198 -RMD160 027211927d50d79d8eabf85f23d931ca0e35d9e4 ChangeLog 2198 -SHA256 d99486f13cef9f00cba30ebb02c3a312b346ba0ec85f6d83fd0fd2014f6cf483 ChangeLog 2198 +EBUILD pingus-0.6.0-r1.ebuild 1109 RMD160 139a6c9a03e204fa55ac5e8d01fb3d7ce160f925 SHA1 e22d41ad2607d054d5d5f3441793d30169f585ab SHA256 053e89eb87daa891c00624d28855382e748ed0f512dbd9718baa8d4241611496 +MD5 5230de12362e444b847d28e8b85d211d pingus-0.6.0-r1.ebuild 1109 +RMD160 139a6c9a03e204fa55ac5e8d01fb3d7ce160f925 pingus-0.6.0-r1.ebuild 1109 +SHA256 053e89eb87daa891c00624d28855382e748ed0f512dbd9718baa8d4241611496 pingus-0.6.0-r1.ebuild 1109 +MISC ChangeLog 2347 RMD160 704272ce8fbc3f712428e5c3fde31731ef6cda52 SHA1 e74def138fe3923ca2501356e9c4841f95faa830 SHA256 534ee3cc2380728e7d0e547286d833cdb7d433808180aa82fb88956565aa46a9 +MD5 e9c4cb5b9f8abd46576b726bd0f90c35 ChangeLog 2347 +RMD160 704272ce8fbc3f712428e5c3fde31731ef6cda52 ChangeLog 2347 +SHA256 534ee3cc2380728e7d0e547286d833cdb7d433808180aa82fb88956565aa46a9 ChangeLog 2347 MISC metadata.xml 1036 RMD160 ccb350bc7dae29efd8711bd3b1b8636360e45805 SHA1 361bd933c8c672f4bd625bd5263a112d66a19592 SHA256 0a0a3a34e8835dd9d091dec06a62b46d7193737768e5db7e044ae446c1551720 MD5 50092257aca8ddefb4100a44fc77d564 metadata.xml 1036 RMD160 ccb350bc7dae29efd8711bd3b1b8636360e45805 metadata.xml 1036 @@ -18,3 +25,10 @@ SHA256 0a0a3a34e8835dd9d091dec06a62b46d7193737768e5db7e044ae446c1551720 metadata MD5 5b98019e45a71b901576cc86ebc00591 files/digest-pingus-0.6.0-r1 244 RMD160 934de73b5c3a4ec6b899cdba8595fb5d5cb84e49 files/digest-pingus-0.6.0-r1 244 SHA256 ca7bebf4ea5790fcd13eb3298d63cffd23fdfcb45f92a5391898a1944d83b672 files/digest-pingus-0.6.0-r1 244 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFTB2edz7hIScOURERApL8AJ49rPqJGY5r+U0jj5IvHl0f4CKBowCdGOYU +i3QSf9CUclxSUZkvzOFXx3g= +=08HT +-----END PGP SIGNATURE----- diff --git a/games-puzzle/pingus/files/pingus-0.6.0-build.patch b/games-puzzle/pingus/files/pingus-0.6.0-build.patch new file mode 100644 index 000000000000..232b6634887a --- /dev/null +++ b/games-puzzle/pingus/files/pingus-0.6.0-build.patch @@ -0,0 +1,192 @@ +--- configure.ac ++++ configure.ac +@@ -64,6 +64,8 @@ + dnl -- Static Libaries -- + AC_PROG_RANLIB + ++CPPFLAGS="$CPPFLAGS `clanlib0.6-config --cflags`" ++LIBS="$LIBS `clanlib0.6-config --libs`" + AC_CHECK_HEADER(ClanLib/core.h,, [echo "Please get ClanLib from http://www.clanlib.org"; exit]) + + dnl FIXME: we don't need pthread, but some system might need it to succeed at the final link +@@ -274,11 +276,11 @@ + AC_CHECK_FUNCS(select strdup) + + dnl Checking for the install prefix and then use it to define PINGUS_DATADIR +-PINGUS_EXPAND_DIR(pingus_datadir, "$datadir/games/$PACKAGE") ++PINGUS_EXPAND_DIR(pingus_datadir, "$datadir/$PACKAGE") + AC_DEFINE_UNQUOTED(PINGUS_DATADIR, "$pingus_datadir", [Location of Pingus data files]) + + dnl -- Define the localedir, needed for gettext -- +-PINGUS_EXPAND_DIR(localedir, "$datadir/locale") ++PINGUS_EXPAND_DIR(localedir, "/usr/share/locale") + AC_DEFINE_UNQUOTED(LOCALEDIR, "$localedir", [Location of gettext files]) + + # po/Makefile.in intl/Makefile <- this must be in one line, if its not +--- data/controller/Makefile.am ++++ data/controller/Makefile.am +@@ -15,7 +15,7 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +-pkgdatadir = $(datadir)/games/@PACKAGE@/controller ++pkgdatadir = $(datadir)/@PACKAGE@/controller + EXTRA_DIST = default.xml gamepad.xml + pkgdata_DATA = $(EXTRA_DIST) + +--- data/data/Makefile.am ++++ data/data/Makefile.am +@@ -15,7 +15,7 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +-pkgdatadir = $(datadir)/games/@PACKAGE@/data ++pkgdatadir = $(datadir)/@PACKAGE@/data + + EXTRA_DIST = \ + pingus.scr \ +--- data/demos/Makefile.am ++++ data/demos/Makefile.am +@@ -15,7 +15,7 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +-pkgdatadir = $(datadir)/games/@PACKAGE@/demos ++pkgdatadir = $(datadir)/@PACKAGE@/demos + + pkgdata_DATA = level1.pde + +--- data/images/Makefile.am ++++ data/images/Makefile.am +@@ -15,7 +15,7 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +-pkgdatadir = $(datadir)/games/@PACKAGE@/images ++pkgdatadir = $(datadir)/@PACKAGE@/images + + nobase_pkgdata_DATA = backgrounds/large_star.png \ + backgrounds/middle_star.png \ +--- data/levels/Makefile.am ++++ data/levels/Makefile.am +@@ -18,7 +18,7 @@ + # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + ## Override automake so that "make install" puts these in proper place: +-pkgdatadir = $(datadir)/games/@PACKAGE@/levels ++pkgdatadir = $(datadir)/@PACKAGE@/levels + + nobase_pkgdata_DATA = \ + $(wildcard tutorial/*.xml) \ +--- data/Makefile.am ++++ data/Makefile.am +@@ -18,9 +18,8 @@ + SUBDIRS = controller images levels demos data music sounds worldmaps themes prefabs + + # Tweaking the `datadir' to install the files in the correct location +-pkgdatadir = $(datadir)/games/@PACKAGE@ ++pkgdatadir = $(datadir)/@PACKAGE@ + + EXTRA_DIST = README +-pkgdata_DATA = $(EXTRA_DIST) + + # EOF # +--- data/music/Makefile.am ++++ data/music/Makefile.am +@@ -15,7 +15,7 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +-pkgdatadir = $(datadir)/games/@PACKAGE@/music ++pkgdatadir = $(datadir)/@PACKAGE@/music + EXTRA_DIST = gd-giirm.s3m pingus-5.it rough_journey.it \ + gd-ite.it pingus-1.it pingus-6.it success_1.it \ + README gd-matth.it pingus-2.it pingus-7.it success_2.it \ +@@ -23,4 +23,4 @@ + gd-cancn.it goin_march.it pingus-4.it pingus-9.it + pkgdata_DATA = $(EXTRA_DIST) + +-# EOF # +\ No newline at end of file ++# EOF # +--- data/prefabs/Makefile.am ++++ data/prefabs/Makefile.am +@@ -16,7 +16,7 @@ + # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + ## Override automake so that "make install" puts these in proper place: +-pkgdatadir = $(datadir)/games/@PACKAGE@/prefabs ++pkgdatadir = $(datadir)/@PACKAGE@/prefabs + + EXTRA_DIST = water.xml snow-entrance.xml + pkgdata_DATA = $(EXTRA_DIST) +--- data/sounds/Makefile.am ++++ data/sounds/Makefile.am +@@ -15,9 +15,9 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +-pkgdatadir = $(datadir)/games/@PACKAGE@/sounds ++pkgdatadir = $(datadir)/@PACKAGE@/sounds + EXTRA_DIST = chink.wav goodidea.wav plop.wav splash.wav ting.wav \ + digger.wav ohno.wav plop2.wav tick.wav yipee.wav + pkgdata_DATA = $(EXTRA_DIST) + +-# EOF # +\ No newline at end of file ++# EOF # +--- data/themes/Makefile.am ++++ data/themes/Makefile.am +@@ -18,9 +18,9 @@ + # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + # Tweaking the `datadir' to install the files in the correct location +-pkgdatadir = $(datadir)/games/@PACKAGE@/themes ++pkgdatadir = $(datadir)/@PACKAGE@/themes + + EXTRA_DIST = $(wildcard *.xml) + pkgdata_DATA = $(EXTRA_DIST) + +-# EOF # +\ No newline at end of file ++# EOF # +--- data/worldmaps/Makefile.am ++++ data/worldmaps/Makefile.am +@@ -16,9 +16,9 @@ + # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + # Tweaking the `datadir' to install the files in the correct location +-pkgdatadir = $(datadir)/games/@PACKAGE@/worldmaps ++pkgdatadir = $(datadir)/@PACKAGE@/worldmaps + + EXTRA_DIST = volcano.xml pacman.xml tutorial.xml + pkgdata_DATA = $(EXTRA_DIST) + +-# EOF # +\ No newline at end of file ++# EOF # +--- po/Makefile.in.in ++++ po/Makefile.in.in +@@ -21,7 +21,7 @@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + datadir = @datadir@ +-localedir = $(datadir)/locale ++localedir = /usr/share/locale + gettextsrcdir = $(datadir)/gettext/po + + INSTALL = @INSTALL@ +--- src/Makefile.am ++++ src/Makefile.am +@@ -17,10 +17,9 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +-bindir=$(prefix)/games + + # The next lines are for gettext +-localedir = $(datadir)/locale ++localedir = /usr/share/locale + # DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ + # INCLUDES = -I$(srcdir) -I.. -I$(top_srcdir)/lib -I../intl -I$(top_srcdir)/intl + diff --git a/games-puzzle/pingus/pingus-0.6.0-r1.ebuild b/games-puzzle/pingus/pingus-0.6.0-r1.ebuild index df154a3a639f..68e14e21bf1c 100644 --- a/games-puzzle/pingus/pingus-0.6.0-r1.ebuild +++ b/games-puzzle/pingus/pingus-0.6.0-r1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/pingus-0.6.0-r1.ebuild,v 1.16 2006/01/20 08:26:17 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/pingus-0.6.0-r1.ebuild,v 1.17 2006/11/04 04:56:55 nyhm Exp $ -inherit eutils flag-o-matic games +WANT_AUTOCONF=latest +WANT_AUTOMAKE=latest +inherit autotools eutils flag-o-matic games DESCRIPTION="free Lemmings clone" HOMEPAGE="http://pingus.seul.org/" @@ -13,24 +15,24 @@ SLOT="0" KEYWORDS="-amd64 x86" IUSE="nls opengl" -DEPEND=">=media-libs/hermes-1.3.2-r2 +RDEPEND="media-libs/hermes =dev-games/clanlib-0.6.5* - >=dev-libs/libxml2-2.5.6" + dev-libs/libxml2 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-gcc.patch #28281 #63773 - autoconf || die "failed to update configure file in order to respect CFLAGS/LDFLAGS" + epatch "${FILESDIR}"/${P}-build.patch + AT_M4DIR=m4 eautoreconf } src_compile() { - append-flags $(clanlib0.6-config --cflags) - append-ldflags $(clanlib0.6-config --libs) replace-flags -Os -O2 egamesconf \ - --with-bindir="${GAMES_BINDIR}" \ - --with-datadir="${GAMES_DATADIR_BASE}" \ $(use_enable nls) \ $(use_with opengl clanGL) \ || die @@ -38,15 +40,8 @@ src_compile() { } src_install() { - make DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS NEWS README TODO - # pos install process ... FIXME - mv "${D}/usr/games/games" "${D}/usr/games/bin" - cd "${D}/usr/share/games" - use nls && mv locale ../ - mv games/pingus . - rm -rf games - # end pos install process - make_desktop_entry pingus "Pingus" + make_desktop_entry pingus Pingus prepgamesdirs } |