summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-08-05 10:58:28 -0500
committerAustin English <wizardedit@gentoo.org>2016-08-05 11:35:21 -0500
commit3e084b30bc1293aec1b777b8c89455758e863c07 (patch)
treebe6c6c9f99e807ccf8d4fc2f98c88c3ccb0a35d7 /games-kids
parentgames-kids/gmult: remove deprecated games eclass (diff)
downloadgentoo-3e084b30bc1293aec1b777b8c89455758e863c07.tar.gz
gentoo-3e084b30bc1293aec1b777b8c89455758e863c07.tar.bz2
gentoo-3e084b30bc1293aec1b777b8c89455758e863c07.zip
games-kids/lletters: remove deprecated games eclass
Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0
Diffstat (limited to 'games-kids')
-rw-r--r--games-kids/lletters/files/lletters-0.1.95-make-382.patch4
-rw-r--r--games-kids/lletters/files/lletters-0.1.95-underlink.patch4
-rw-r--r--games-kids/lletters/lletters-0.1.95-r3.ebuild49
3 files changed, 53 insertions, 4 deletions
diff --git a/games-kids/lletters/files/lletters-0.1.95-make-382.patch b/games-kids/lletters/files/lletters-0.1.95-make-382.patch
index 2a5ee9ecc4a7..103c26a1a342 100644
--- a/games-kids/lletters/files/lletters-0.1.95-make-382.patch
+++ b/games-kids/lletters/files/lletters-0.1.95-make-382.patch
@@ -1,7 +1,7 @@
http://bugs.gentoo.org/340599
---- intl/Makefile.in
-+++ intl/Makefile.in
+--- a/intl/Makefile.in
++++ b/intl/Makefile.in
@@ -202,12 +202,12 @@
# The dependency for intlh.inst is different in gettext and all other
# packages. Because we cannot you GNU make features we have to solve
diff --git a/games-kids/lletters/files/lletters-0.1.95-underlink.patch b/games-kids/lletters/files/lletters-0.1.95-underlink.patch
index a6e0a27ee4e9..1d6401379c5d 100644
--- a/games-kids/lletters/files/lletters-0.1.95-underlink.patch
+++ b/games-kids/lletters/files/lletters-0.1.95-underlink.patch
@@ -1,5 +1,5 @@
---- Makefile.in.old 2011-05-24 10:47:30.276355207 +0200
-+++ Makefile.in 2011-05-24 10:47:53.316795932 +0200
+--- a/Makefile.in 2011-05-24 10:47:30.276355207 +0200
++++ b/Makefile.in 2011-05-24 10:47:53.316795932 +0200
@@ -265,7 +265,7 @@
@SOUND_FALSE@lletters_SOURCES = $(lln_CORE)
diff --git a/games-kids/lletters/lletters-0.1.95-r3.ebuild b/games-kids/lletters/lletters-0.1.95-r3.ebuild
new file mode 100644
index 000000000000..4b4c872f92f3
--- /dev/null
+++ b/games-kids/lletters/lletters-0.1.95-r3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+PATCH_LEVEL=3
+
+DESCRIPTION="Game that helps young kids learn their letters and numbers"
+HOMEPAGE="http://lln.sourceforge.net"
+SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}+gtk2.orig.tar.gz
+ mirror://debian/pool/main/l/${PN}/${PN}_${PV}+gtk2-${PATCH_LEVEL}.diff.gz
+ mirror://sourceforge/lln/${PN}-media-0.1.9a.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls"
+
+RDEPEND="x11-libs/gtk+:2
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+PATCHES=(
+ "${WORKDIR}"/${PN}_${PV}+gtk2-${PATCH_LEVEL}.diff
+ "${FILESDIR}"/${P}-build-2.patch
+ "${FILESDIR}"/${P}-underlink.patch
+ "${FILESDIR}"/${P}-make-382.patch
+)
+
+src_prepare() {
+ default
+
+ cp -r "${WORKDIR}"/{images,sounds} . || die
+}
+
+src_configure() {
+ econf $(use_enable nls)
+}
+
+src_install () {
+ default
+ newdoc debian/changelog ChangeLog.debian
+ doicon debian/${PN}.xpm
+ make_desktop_entry ${PN} "Linux Letters and Numbers" ${PN}
+}