summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-12-02 16:21:43 +0000
committerPacho Ramos <pacho@gentoo.org>2014-12-02 16:21:43 +0000
commitb48040ee66ae42bc42c15f545ac628ae37cbf086 (patch)
treecc41e0411d681aa9860f91d8d185060eee3c5e16 /games-puzzle
parentUpdate cflags patch for live ebuild (bug #482994). (diff)
downloadgentoo-2-b48040ee66ae42bc42c15f545ac628ae37cbf086.tar.gz
gentoo-2-b48040ee66ae42bc42c15f545ac628ae37cbf086.tar.bz2
gentoo-2-b48040ee66ae42bc42c15f545ac628ae37cbf086.zip
Bump to eapi5, use only gnome2.eclass
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/gtetrinet/ChangeLog9
-rw-r--r--games-puzzle/gtetrinet/gtetrinet-0.7.11-r2.ebuild54
2 files changed, 61 insertions, 2 deletions
diff --git a/games-puzzle/gtetrinet/ChangeLog b/games-puzzle/gtetrinet/ChangeLog
index 8515b793a4f1..d43f920ef7f7 100644
--- a/games-puzzle/gtetrinet/ChangeLog
+++ b/games-puzzle/gtetrinet/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-puzzle/gtetrinet
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gtetrinet/ChangeLog,v 1.27 2012/11/30 20:05:06 hasufell Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gtetrinet/ChangeLog,v 1.28 2014/12/02 16:21:43 pacho Exp $
+
+*gtetrinet-0.7.11-r2 (02 Dec 2014)
+
+ 02 Dec 2014; Pacho Ramos <pacho@gentoo.org> +gtetrinet-0.7.11-r2.ebuild:
+ Bump to eapi5, use only gnome2.eclass
30 Nov 2012; Julian Ospald <hasufell@gentoo.org> gtetrinet-0.7.11-r1.ebuild,
+files/gtetrinet-0.7.11-desktopfile.patch:
diff --git a/games-puzzle/gtetrinet/gtetrinet-0.7.11-r2.ebuild b/games-puzzle/gtetrinet/gtetrinet-0.7.11-r2.ebuild
new file mode 100644
index 000000000000..4f5166606d19
--- /dev/null
+++ b/games-puzzle/gtetrinet/gtetrinet-0.7.11-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gtetrinet/gtetrinet-0.7.11-r2.ebuild,v 1.1 2014/12/02 16:21:43 pacho Exp $
+
+EAPI=5
+GCONF_DEBUG="yes"
+GNOME_TARBALL_SUFFIX="bz2"
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="Tetrinet Clone for GNOME"
+HOMEPAGE="http://gtetrinet.sourceforge.net/"
+SRC_URI="${SRC_URI}
+ mirror://gentoo/gtetrinet-gentoo-theme-0.1.tbz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="nls ipv6"
+
+RDEPEND="
+ dev-libs/libxml2
+ media-libs/libcanberra
+ >=gnome-base/gconf-2
+ >=gnome-base/libgnome-2
+ >=gnome-base/libgnomeui-2
+ nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-{noesd,desktopfile}.patch
+ sed -i \
+ -e "/^pkgdatadir =/s:=.*:= ${GAMES_DATADIR}/${PN}:" \
+ src/Makefile.in themes/*/Makefile.in || die
+ sed -i \
+ -e '/^gamesdir/s:=.*:=@bindir@:' \
+ src/Makefile.am || die
+ eautoreconf
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable ipv6)
+}
+
+src_install() {
+ gnome2_src_install
+ mv "${WORKDIR}"/gentoo "${D}/${GAMES_DATADIR}"/${PN}/themes/
+}