summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-02-11 05:25:07 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-02-11 05:25:07 +0000
commit06fac57367dfdf3daff1eb2058a76f8a4862691b (patch)
tree9e61352c62690a59abb7b7406d12c006c26cd9ca /games-puzzle
parentEAPI=5 (diff)
downloadgentoo-2-06fac57367dfdf3daff1eb2058a76f8a4862691b.tar.gz
gentoo-2-06fac57367dfdf3daff1eb2058a76f8a4862691b.tar.bz2
gentoo-2-06fac57367dfdf3daff1eb2058a76f8a4862691b.zip
version bump
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/tanglet/ChangeLog12
-rw-r--r--games-puzzle/tanglet/files/tanglet-1.2.2-datadir.patch8
-rw-r--r--games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch22
-rw-r--r--games-puzzle/tanglet/tanglet-1.2.2.ebuild4
-rw-r--r--games-puzzle/tanglet/tanglet-1.3.1.ebuild72
5 files changed, 110 insertions, 8 deletions
diff --git a/games-puzzle/tanglet/ChangeLog b/games-puzzle/tanglet/ChangeLog
index 7d3fcbc9d5bc..dc77148b7a7c 100644
--- a/games-puzzle/tanglet/ChangeLog
+++ b/games-puzzle/tanglet/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for games-puzzle/tanglet
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tanglet/ChangeLog,v 1.19 2014/08/28 06:07:44 mr_bones_ Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tanglet/ChangeLog,v 1.20 2015/02/11 05:25:07 mr_bones_ Exp $
+
+*tanglet-1.3.1 (11 Feb 2015)
+
+ 11 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/tanglet-1.3.1-datadir.patch, +tanglet-1.3.1.ebuild,
+ files/tanglet-1.2.1-datadir.patch, files/tanglet-1.2.2-datadir.patch,
+ tanglet-1.2.2.ebuild:
+ version bump
28 Aug 2014; Michael Sterrett <mr_bones_@gentoo.org> tanglet-1.2.2.ebuild:
tidy
diff --git a/games-puzzle/tanglet/files/tanglet-1.2.2-datadir.patch b/games-puzzle/tanglet/files/tanglet-1.2.2-datadir.patch
index 6be399c0129f..6e5b46d7c7e0 100644
--- a/games-puzzle/tanglet/files/tanglet-1.2.2-datadir.patch
+++ b/games-puzzle/tanglet/files/tanglet-1.2.2-datadir.patch
@@ -1,5 +1,5 @@
---- src/locale_dialog.cpp.old 2014-05-19 21:33:44.077819074 +0200
-+++ src/locale_dialog.cpp 2014-05-19 21:33:52.893650196 +0200
+--- src/locale_dialog.cpp.old
++++ src/locale_dialog.cpp
@@ -85,7 +85,7 @@
if (paths.isEmpty()) {
QString appdir = QCoreApplication::applicationDirPath();
@@ -9,8 +9,8 @@
paths.append(appdir + "/../Resources");
}
foreach (const QString& path, paths) {
---- src/main.cpp.old 2014-05-19 21:41:15.550293079 +0200
-+++ src/main.cpp 2014-05-19 21:42:15.560162477 +0200
+--- src/main.cpp.old
++++ src/main.cpp
@@ -46,7 +46,7 @@
QString path = app.applicationDirPath();
QStringList paths;
diff --git a/games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch b/games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch
new file mode 100644
index 000000000000..6e5b46d7c7e0
--- /dev/null
+++ b/games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch
@@ -0,0 +1,22 @@
+--- src/locale_dialog.cpp.old
++++ src/locale_dialog.cpp
+@@ -85,7 +85,7 @@
+ if (paths.isEmpty()) {
+ QString appdir = QCoreApplication::applicationDirPath();
+ paths.append(appdir);
+- paths.append(appdir + "/../share/" + QCoreApplication::applicationName().toLower());
++ paths.append("@GENTOO_DATADIR@");
+ paths.append(appdir + "/../Resources");
+ }
+ foreach (const QString& path, paths) {
+--- src/main.cpp.old
++++ src/main.cpp
+@@ -46,7 +46,7 @@
+ QString path = app.applicationDirPath();
+ QStringList paths;
+ paths.append(path + "/data/");
+- paths.append(path + "/../share/tanglet/data/");
++ paths.append("@GENTOO_DATADIR@/data/");
+ paths.append(path + "/../Resources/data/");
+ QDir::setSearchPaths("tanglet", paths);
+
diff --git a/games-puzzle/tanglet/tanglet-1.2.2.ebuild b/games-puzzle/tanglet/tanglet-1.2.2.ebuild
index 4fff47515d17..da562e9269ea 100644
--- a/games-puzzle/tanglet/tanglet-1.2.2.ebuild
+++ b/games-puzzle/tanglet/tanglet-1.2.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tanglet/tanglet-1.2.2.ebuild,v 1.2 2014/08/28 06:07:44 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tanglet/tanglet-1.2.2.ebuild,v 1.3 2015/02/11 05:25:07 mr_bones_ Exp $
EAPI=5
LANGS="cs de es en fr he hu it nl ro tr uk"
diff --git a/games-puzzle/tanglet/tanglet-1.3.1.ebuild b/games-puzzle/tanglet/tanglet-1.3.1.ebuild
new file mode 100644
index 000000000000..67a657324ff3
--- /dev/null
+++ b/games-puzzle/tanglet/tanglet-1.3.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/tanglet/tanglet-1.3.1.ebuild,v 1.1 2015/02/11 05:25:07 mr_bones_ Exp $
+
+EAPI=5
+LANGS="cs de es en fr he hu it nl ro tr uk"
+LANGSLONG="es_CL"
+inherit eutils gnome2-utils qmake-utils 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
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-datadir.patch
+ sed -i \
+ -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
+ src/locale_dialog.cpp \
+ src/main.cpp || die
+}
+
+src_configure() {
+ eqmake5 tanglet.pro
+}
+
+src_install() {
+ dogamesbin ${PN}
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r data
+ #translations
+ insinto "${GAMES_DATADIR}"/${PN}/translations/
+ for lang in ${LINGUAS};do
+ for x in ${LANGS};do
+ if [[ ${lang} == ${x} ]];then
+ doins translations/${PN}_${x}.qm
+ fi
+ done
+ done
+
+ insinto /usr/share/icons
+ doins -r icons/hicolor
+
+ dodoc ChangeLog CREDITS NEWS
+
+ doicon icons/${PN}.xpm
+ domenu icons/${PN}.desktop
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+ games_pkg_preinst
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ games_pkg_postinst
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}