diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-12-22 01:19:06 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-12-22 01:19:06 +0000 |
commit | 8aac70daca8fd48db7c6666b5b13e032c2bbf388 (patch) | |
tree | 276b946cf3d7b529ccbb7685679302c77dae2846 /games-puzzle | |
parent | Version bump. (diff) | |
download | gentoo-2-8aac70daca8fd48db7c6666b5b13e032c2bbf388.tar.gz gentoo-2-8aac70daca8fd48db7c6666b5b13e032c2bbf388.tar.bz2 gentoo-2-8aac70daca8fd48db7c6666b5b13e032c2bbf388.zip |
version bump with patch from Michael (kensington) (bug #395583)
(Portage version: 2.1.10.41/cvs/Linux i686)
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/tanglet/ChangeLog | 11 | ||||
-rw-r--r-- | games-puzzle/tanglet/files/tanglet-1.1.0-datadir.patch | 10 | ||||
-rw-r--r-- | games-puzzle/tanglet/files/tanglet-1.2.0-datadir.patch | 21 | ||||
-rw-r--r-- | games-puzzle/tanglet/tanglet-1.2.0.ebuild | 54 |
4 files changed, 88 insertions, 8 deletions
diff --git a/games-puzzle/tanglet/ChangeLog b/games-puzzle/tanglet/ChangeLog index b358dc1684af..7790372e835b 100644 --- a/games-puzzle/tanglet/ChangeLog +++ b/games-puzzle/tanglet/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-puzzle/tanglet -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tanglet/ChangeLog,v 1.8 2010/06/01 07:55:25 phajdan.jr Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tanglet/ChangeLog,v 1.9 2011/12/22 01:19:06 mr_bones_ Exp $ + +*tanglet-1.2.0 (22 Dec 2011) + + 22 Dec 2011; Michael Sterrett <mr_bones_@gentoo.org> + files/tanglet-1.1.0-datadir.patch, +tanglet-1.2.0.ebuild, + +files/tanglet-1.2.0-datadir.patch: + version bump with patch from Michael (kensington) (bug #395583) 01 Jun 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> tanglet-1.1.0.ebuild: x86 stable wrt bug #320821 diff --git a/games-puzzle/tanglet/files/tanglet-1.1.0-datadir.patch b/games-puzzle/tanglet/files/tanglet-1.1.0-datadir.patch index 7f94934d0493..af9dedc24918 100644 --- a/games-puzzle/tanglet/files/tanglet-1.1.0-datadir.patch +++ b/games-puzzle/tanglet/files/tanglet-1.1.0-datadir.patch @@ -1,6 +1,5 @@ -diff -ru tanglet-1.0.1.orig/src/main.cpp tanglet-1.0.1/src/main.cpp ---- tanglet-1.0.1.orig/src/main.cpp 2010-01-11 20:23:45.000000000 -0500 -+++ tanglet-1.0.1/src/main.cpp 2010-02-27 13:54:16.915177582 -0500 +--- tanglet-1.0.1.orig/src/main.cpp ++++ tanglet-1.0.1/src/main.cpp @@ -36,6 +36,7 @@ QString path = app.applicationDirPath(); @@ -9,9 +8,8 @@ diff -ru tanglet-1.0.1.orig/src/main.cpp tanglet-1.0.1/src/main.cpp paths.append(path + "/data/"); paths.append(path + "/../share/tanglet/data/"); paths.append(path + "/../Resources/"); -diff -ru tanglet-1.0.1.orig/tanglet.pro tanglet-1.0.1/tanglet.pro ---- tanglet-1.0.1.orig/tanglet.pro 2010-01-11 18:25:54.000000000 -0500 -+++ tanglet-1.0.1/tanglet.pro 2010-02-27 13:53:13.104184583 -0500 +--- tanglet-1.0.1.orig/tanglet.pro ++++ tanglet-1.0.1/tanglet.pro @@ -48,7 +48,7 @@ unix:!macx { diff --git a/games-puzzle/tanglet/files/tanglet-1.2.0-datadir.patch b/games-puzzle/tanglet/files/tanglet-1.2.0-datadir.patch new file mode 100644 index 000000000000..af9dedc24918 --- /dev/null +++ b/games-puzzle/tanglet/files/tanglet-1.2.0-datadir.patch @@ -0,0 +1,21 @@ +--- tanglet-1.0.1.orig/src/main.cpp ++++ tanglet-1.0.1/src/main.cpp +@@ -36,6 +36,7 @@ + + QString path = app.applicationDirPath(); + QStringList paths; ++ paths.append("GENTOO_DIR"); + paths.append(path + "/data/"); + paths.append(path + "/../share/tanglet/data/"); + paths.append(path + "/../Resources/"); +--- tanglet-1.0.1.orig/tanglet.pro ++++ tanglet-1.0.1/tanglet.pro +@@ -48,7 +48,7 @@ + + unix:!macx { + isEmpty(PREFIX) { +- PREFIX = /usr/local ++ PREFIX = /usr + } + + target.path = $$PREFIX/bin/ diff --git a/games-puzzle/tanglet/tanglet-1.2.0.ebuild b/games-puzzle/tanglet/tanglet-1.2.0.ebuild new file mode 100644 index 000000000000..ac76ad24e8ea --- /dev/null +++ b/games-puzzle/tanglet/tanglet-1.2.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tanglet/tanglet-1.2.0.ebuild,v 1.1 2011/12/22 01:19:06 mr_bones_ Exp $ + +EAPI=2 +inherit eutils gnome2-utils qt4-r2 games + +DESCRIPTION="A single player word finding game based on Boggle" +HOMEPAGE="http://gottcode.org/tanglet/" +SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="sys-libs/zlib + x11-libs/qt-core:4 + x11-libs/qt-gui:4" + +src_prepare() { + epatch "${FILESDIR}"/${P}-datadir.patch + sed -i \ + -e "/target.path/s:\$\$PREFIX/bin:${GAMES_BINDIR}:" \ + -e "/data_/s:\$\$PREFIX/share:${GAMES_DATADIR}:g" \ + tanglet.pro || die + sed -i \ + -e "s:GENTOO_DIR:${GAMES_DATADIR}/${PN}/data:g" \ + src/main.cpp || die +} + +src_configure() { + eqmake4 +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die + dodoc ChangeLog CREDITS + prepgamesdirs +} + +pkg_preinst() { + gnome2_icon_savelist + games_pkg_preinst +} + +pkg_postinst() { + gnome2_icon_cache_update + games_pkg_postinst +} + +pkg_postrm() { + gnome2_icon_cache_update +} |