diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-puzzle/ltris | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-puzzle/ltris')
-rw-r--r-- | games-puzzle/ltris/Manifest | 1 | ||||
-rw-r--r-- | games-puzzle/ltris/files/ltris-1.0.19-gentoo.patch | 51 | ||||
-rw-r--r-- | games-puzzle/ltris/ltris-1.0.19.ebuild | 38 | ||||
-rw-r--r-- | games-puzzle/ltris/metadata.xml | 8 |
4 files changed, 98 insertions, 0 deletions
diff --git a/games-puzzle/ltris/Manifest b/games-puzzle/ltris/Manifest new file mode 100644 index 00000000000..25085605da8 --- /dev/null +++ b/games-puzzle/ltris/Manifest @@ -0,0 +1 @@ +DIST ltris-1.0.19.tar.gz 883543 SHA256 8f6a9e7719d22004aee153db29ffd9ca41c7a6cd87fc791591994eecc2e625a1 SHA512 ab43b3d8f04ab40016be5b5c414f8679bee4f5f344ef9cab52c3628d48017458b84b0fbc0bcaecdfab43853a1ef628ee1cabf3a1373ea108650d4e76015881c5 WHIRLPOOL 9f9b12b5374a686affdf0243cad0220332150655202835f4a254a6febfcd3aab76d8f2331f832e8e891d4616f55190bb0b77f713dfe7ec96cf4df6a56084c003 diff --git a/games-puzzle/ltris/files/ltris-1.0.19-gentoo.patch b/games-puzzle/ltris/files/ltris-1.0.19-gentoo.patch new file mode 100644 index 00000000000..82acee7d33b --- /dev/null +++ b/games-puzzle/ltris/files/ltris-1.0.19-gentoo.patch @@ -0,0 +1,51 @@ +diff -ru ltris-1.0.15.orig/Makefile.am ltris-1.0.15/Makefile.am +--- ltris-1.0.15.orig/Makefile.am 2010-09-20 13:26:05.000000000 -0400 ++++ ltris-1.0.15/Makefile.am 2010-09-21 02:01:52.680858712 -0400 +@@ -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.po_full po/pt.po_full \ +-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.15.orig/configure.in ltris-1.0.15/configure.in +--- ltris-1.0.15.orig/configure.in 2010-09-20 13:23:17.000000000 -0400 ++++ ltris-1.0.15/configure.in 2010-09-21 02:02:22.418843746 -0400 +@@ -55,7 +55,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.15.orig/po/Makefile.in.in ltris-1.0.15/po/Makefile.in.in +--- ltris-1.0.15.orig/po/Makefile.in.in 2005-10-04 14:41:03.000000000 -0400 ++++ ltris-1.0.15/po/Makefile.in.in 2010-09-21 02:02:40.464207966 -0400 +@@ -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.19.ebuild b/games-puzzle/ltris/ltris-1.0.19.ebuild new file mode 100644 index 00000000000..8cf203d4f4f --- /dev/null +++ b/games-puzzle/ltris/ltris-1.0.19.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils games + +DESCRIPTION="very polished Tetris clone" +HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LTris" +SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc 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 + mv configure.in configure.ac || die + AT_M4DIR=m4 eautoreconf +} + +src_configure() { + egamesconf $(use_enable nls) +} + +src_install() { + default + newicon icons/ltris48.xpm ${PN}.xpm + make_desktop_entry ltris LTris + prepgamesdirs +} diff --git a/games-puzzle/ltris/metadata.xml b/games-puzzle/ltris/metadata.xml new file mode 100644 index 00000000000..0f9429dd0de --- /dev/null +++ b/games-puzzle/ltris/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> + <upstream> + <remote-id type="sourceforge">lgames</remote-id> + </upstream> +</pkgmetadata> |