diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-04-21 02:23:58 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-04-21 02:23:58 +0000 |
commit | d396d1dd533706df8572393df319881ccf9d7177 (patch) | |
tree | e3f11a5abeb9ab90ba50fc77a745b34aee95ef12 /games-puzzle | |
parent | python 3 porting and remove old version (diff) | |
download | historical-d396d1dd533706df8572393df319881ccf9d7177.tar.gz historical-d396d1dd533706df8572393df319881ccf9d7177.tar.bz2 historical-d396d1dd533706df8572393df319881ccf9d7177.zip |
version bump
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/tanglet/ChangeLog | 8 | ||||
-rw-r--r-- | games-puzzle/tanglet/files/tanglet-1.1.0-datadir.patch | 23 | ||||
-rw-r--r-- | games-puzzle/tanglet/tanglet-1.1.0.ebuild | 52 |
3 files changed, 82 insertions, 1 deletions
diff --git a/games-puzzle/tanglet/ChangeLog b/games-puzzle/tanglet/ChangeLog index 36710d654408..b414207f23c8 100644 --- a/games-puzzle/tanglet/ChangeLog +++ b/games-puzzle/tanglet/ChangeLog @@ -1,6 +1,12 @@ # 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.4 2010/02/28 09:46:09 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tanglet/ChangeLog,v 1.5 2010/04/21 02:23:58 mr_bones_ Exp $ + +*tanglet-1.1.0 (21 Apr 2010) + + 21 Apr 2010; Michael Sterrett <mr_bones_@gentoo.org> + +tanglet-1.1.0.ebuild, +files/tanglet-1.1.0-datadir.patch: + version bump 28 Feb 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> tanglet-1.0.1.ebuild: x86 stable wrt bug #305669 diff --git a/games-puzzle/tanglet/files/tanglet-1.1.0-datadir.patch b/games-puzzle/tanglet/files/tanglet-1.1.0-datadir.patch new file mode 100644 index 000000000000..7f94934d0493 --- /dev/null +++ b/games-puzzle/tanglet/files/tanglet-1.1.0-datadir.patch @@ -0,0 +1,23 @@ +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 +@@ -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/"); +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 +@@ -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.1.0.ebuild b/games-puzzle/tanglet/tanglet-1.1.0.ebuild new file mode 100644 index 000000000000..7c7e6060976e --- /dev/null +++ b/games-puzzle/tanglet/tanglet-1.1.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tanglet/tanglet-1.1.0.ebuild,v 1.1 2010/04/21 02:23:58 mr_bones_ Exp $ + +EAPI=2 +inherit eutils gnome2-utils qt4 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="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 + prepgamesdirs +} + +pkg_preinst() { + gnome2_icon_savelist + games_pkg_preinst +} + +pkg_postinst() { + gnome2_icon_cache_update + games_pkg_postinst +} + +pkg_postrm() { + gnome2_icon_cache_update +} |