diff options
Diffstat (limited to 'games-puzzle/ltris')
-rw-r--r-- | games-puzzle/ltris/ChangeLog | 8 | ||||
-rw-r--r-- | games-puzzle/ltris/Manifest | 5 | ||||
-rw-r--r-- | games-puzzle/ltris/files/ltris-1.0.14-gentoo.patch | 51 | ||||
-rw-r--r-- | games-puzzle/ltris/ltris-1.0.14.ebuild | 40 |
4 files changed, 102 insertions, 2 deletions
diff --git a/games-puzzle/ltris/ChangeLog b/games-puzzle/ltris/ChangeLog index 4ff66e12d18d..61361627f7f9 100644 --- a/games-puzzle/ltris/ChangeLog +++ b/games-puzzle/ltris/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-puzzle/ltris # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ltris/ChangeLog,v 1.28 2009/12/30 13:14:55 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ltris/ChangeLog,v 1.29 2009/12/30 18:25:42 mr_bones_ Exp $ + +*ltris-1.0.14 (30 Dec 2009) + + 30 Dec 2009; Michael Sterrett <mr_bones_@gentoo.org> +ltris-1.0.14.ebuild, + +files/ltris-1.0.14-gentoo.patch: + version bump 30 Dec 2009; Raúl Porcel <armin76@gentoo.org> ltris-1.0.13.ebuild: sparc stable wrt #296121 diff --git a/games-puzzle/ltris/Manifest b/games-puzzle/ltris/Manifest index 58429dfb92d1..98cd61cbc560 100644 --- a/games-puzzle/ltris/Manifest +++ b/games-puzzle/ltris/Manifest @@ -1,6 +1,9 @@ +AUX ltris-1.0.14-gentoo.patch 1769 RMD160 c2a1a5434a5a2bcf555a48851410c7d85aa46077 SHA1 18fc2d592ffa68430b87316fc9b8338be68c7eea SHA256 5c2226170d84f5e41d8c12d3b2a61f1467ad31238e658ecbe98291e7ea99be85 DIST ltris-1.0.12.tar.gz 825500 RMD160 017791be9d4e2dfc5a6b497e816b3482d22141c3 SHA1 bc0b389b520053f97c6415b4d430f55784073c1b SHA256 84c1b63ca884d68b57a836b218340d63d0ba56ac7548d8f254657bef5fddef21 DIST ltris-1.0.13.tar.gz 845739 RMD160 5dbfda329093b6fabbed19eb75da7d898b2d59e2 SHA1 aeb49678c781abb4233e226d5a5b27b1e19d8da2 SHA256 b7d3f93bef1efe907780896c0db3408949cf03c6f797308dbf326ed9223681ba +DIST ltris-1.0.14.tar.gz 850749 RMD160 1b0840102b8c757563bd7876a04436e4c1b197dd SHA1 031262093c99376c3c7349798f099c1e7ea0867f SHA256 d6816aa70f55c73e0de2ccb81281a92aa063d3a90b362810002db010f4e3b3b2 EBUILD ltris-1.0.12.ebuild 1246 RMD160 286a7c8e18d7357583e79bb395dd8f19d206b09b SHA1 91f2bb7074fceef1438928c7dbc958bf6261f9c6 SHA256 3e4ba92a50e2861ba24304f522250a44eba50e16e0b88fc0bc0e1c0b0125c63d EBUILD ltris-1.0.13.ebuild 1153 RMD160 42f781b99bc67201df0759092b067bcaf92ee4e2 SHA1 d436826357e9bf1be4b632d4248130dd8d3264ce SHA256 2e4877b024c53733fe2bff2a50ab5e201bad72af1060b26c9d548097b1dcbc2d -MISC ChangeLog 3682 RMD160 ad929b00a922b103b3d8c91697e867f2d6305943 SHA1 41b160eae78b505e35bf7c80cdf09a86ce20d52c SHA256 e951de8c509e1f50d4349e835229d8c9868cb82dff06242588ca58e0177b0f70 +EBUILD ltris-1.0.14.ebuild 973 RMD160 471e6cf1848dc3f0b24223f5102558a719b49c52 SHA1 284c3a59f4b2f257229bbc2fe466742e69fe7446 SHA256 186d6cc3a1f93c16185559c7a43b2e37294882afa8836f3846ebf94c441f446c +MISC ChangeLog 3842 RMD160 3900147eb780927eda640f03c1366719f3041c2c SHA1 20da2d8debdb1b473a1dc24aa7d6aa46b6f37d6d SHA256 b443f1a9c6b03a85f1e2647cdb34759a0098c934e5fd28de34ff3937d4c1b88e MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-puzzle/ltris/files/ltris-1.0.14-gentoo.patch b/games-puzzle/ltris/files/ltris-1.0.14-gentoo.patch new file mode 100644 index 000000000000..95deb50b032a --- /dev/null +++ b/games-puzzle/ltris/files/ltris-1.0.14-gentoo.patch @@ -0,0 +1,51 @@ +diff -ru ltris-1.0.14.orig/Makefile.am ltris-1.0.14/Makefile.am +--- ltris-1.0.14.orig/Makefile.am 2009-12-24 09:52:45.000000000 -0500 ++++ ltris-1.0.14/Makefile.am 2009-12-30 12:58:42.929781504 -0500 +@@ -1,21 +1,9 @@ +-SUBDIRS = intl m4 po src icons ++SUBDIRS = intl m4 po src + + EXTRA_DIST = config.rpath AUTHORS COPYING ChangeLog INSTALL \ + README TODO touchall ABOUT-NLS po/tr_full.po po/pt_full.po \ +-po/nonascii.pl ltris32.gif ltris48.gif ltris.desktop.in +- +-desktopdir = $(datadir)/applications +-desktop_DATA = ltris.desktop +-icondir = $(datadir)/icons +-icon_DATA = ltris48.gif ++po/nonascii.pl + + AUTOMAKE_OPTIONS = foreign + +-# We can't use static desktop file because of icon location. Is this +-# the right way to handle it? At least it works... as long as $datadir +-# does not contain plus signs. :-) +-ltris.desktop: +- @sed -e "s+Icon=+Icon=$(datadir)/icons/ltris48.gif+" \ +- < ltris.desktop.in > ltris.desktop +- + ACLOCAL_AMFLAGS = -I m4 +diff -ru ltris-1.0.14.orig/configure.in ltris-1.0.14/configure.in +--- ltris-1.0.14.orig/configure.in 2009-12-24 13:28:12.000000000 -0500 ++++ ltris-1.0.14/configure.in 2009-12-30 12:57:18.461780277 -0500 +@@ -53,7 +53,7 @@ + AC_SUBST(buf_flag) + + dnl set localedir +-localedir=$datadir/locale ++localedir=/usr/share/locale + locdir_flag="-DLOCALEDIR=\\\"$localedir\\\"" + + dnl installation path +diff -ru ltris-1.0.14.orig/po/Makefile.in.in ltris-1.0.14/po/Makefile.in.in +--- ltris-1.0.14.orig/po/Makefile.in.in 2005-10-04 14:41:03.000000000 -0400 ++++ ltris-1.0.14/po/Makefile.in.in 2009-12-30 12:57:00.192041633 -0500 +@@ -23,7 +23,7 @@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + datadir = @datadir@ +-localedir = $(datadir)/locale ++localedir = /usr/share/locale + gettextsrcdir = $(datadir)/gettext/po + + INSTALL = @INSTALL@ diff --git a/games-puzzle/ltris/ltris-1.0.14.ebuild b/games-puzzle/ltris/ltris-1.0.14.ebuild new file mode 100644 index 000000000000..6140b41adf2f --- /dev/null +++ b/games-puzzle/ltris/ltris-1.0.14.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ltris/ltris-1.0.14.ebuild,v 1.1 2009/12/30 18:25:42 mr_bones_ Exp $ + +EAPI=2 +inherit autotools eutils games + +DESCRIPTION="very polished Tetris clone" +HOMEPAGE="http://lgames.sourceforge.net/" +SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="nls" + +RDEPEND="media-libs/libsdl[video] + media-libs/sdl-mixer + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + AT_M4DIR=m4 eautoreconf +} + +src_configure() { + egamesconf \ + --disable-dependency-tracking \ + $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog README TODO + newicon icons/ltris48.xpm ${PN}.xpm + make_desktop_entry ltris LTris + prepgamesdirs +} |