summaryrefslogtreecommitdiff
path: root/games-puzzle/tanglet
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
commit7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (patch)
treebac2a67fb24ac0836147fe370d30e1610ae1845d /games-puzzle/tanglet
parent2f8db31405fac68eea6f7257d58529243815033b (diff)
gentoo resync : 02.05.2018
Diffstat (limited to 'games-puzzle/tanglet')
-rw-r--r--games-puzzle/tanglet/Manifest4
-rw-r--r--games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch8
-rw-r--r--games-puzzle/tanglet/tanglet-1.3.1-r1.ebuild (renamed from games-puzzle/tanglet/tanglet-1.3.1.ebuild)35
3 files changed, 24 insertions, 23 deletions
diff --git a/games-puzzle/tanglet/Manifest b/games-puzzle/tanglet/Manifest
index 0d8e652ab352..83dfaba47e5c 100644
--- a/games-puzzle/tanglet/Manifest
+++ b/games-puzzle/tanglet/Manifest
@@ -1,4 +1,4 @@
-AUX tanglet-1.3.1-datadir.patch 732 BLAKE2B 503f991ff27057e3f90e385cdb5339b0231bdfbd8c09b44714f466b16e1f35346b4a1cc04907f2befc903b7fa295ad6f079cdfb2bca0fc31b31c49d6d434c6cc SHA512 35442f4b9bfe344c7168048ccd7d0742319b6ab3078d9df13fe66455d45b31a5bb01f7e4ad05b4ba25c83046bfe1428f6a2271231130c433ceac1b18fd405414
+AUX tanglet-1.3.1-datadir.patch 740 BLAKE2B 11c12dea2efd4f03afb433931965267bd81e2cdeaadde51a6cf48cdefe1bf5899a87867becfdc2a4e210243363688a3d2bd4c470aaf07a789cd510ed6aabe703 SHA512 2dd7bf5c75624379e270bf51681adb68c1573eacc134265c36c9370bfa18c6463c9fbd155f4cfbb7e6ddf1621c9b57ce34a71a6ec3286c55adeb33da2b0851e0
DIST tanglet-1.3.1-src.tar.bz2 8461603 BLAKE2B 86542f6248b58dc7f72be8264ded94376d746827865b3633640a24055452a4c4d677bf3f6aab8eb6736ce1cf92b8a8b6963637418118861dad296bb4ccac5b2a SHA512 b939ca45f26baf8e7e32da8775e673707472e5cd07d344642eeb15986ff99319e0ab1bacf78e2ea49f004ec67a6d081a91c939cf7c75228a195654d429235625
-EBUILD tanglet-1.3.1.ebuild 1355 BLAKE2B b44d5450e63144394aaa48cba81a9f78c169a7a75da0d152fa864842cfd4b4e1b847608abe5abaee4982eef1006edbb406582734a6faf0d4c7109979a78a46b1 SHA512 37ec6c8bcbf789f32a62eef3db041fde244fa9a8075271b70c74700e97a969416b0e69f6d9fae285df39687e09caa0db928e25417c5e80a47efa59e96b9361d4
+EBUILD tanglet-1.3.1-r1.ebuild 1270 BLAKE2B b5015194fbe34b4c91d30f306746d0cb83a755cb2afb27258c4bf6d97ef256a4720ba7608d64f5707efa9b646010db0bb4efa0ce6d0f40851632cec231c9ba66 SHA512 02147ab848c47fda50cc81b0ecbdf32d7ca4b59322feecc13d8b937b35cfcdffe7a9819b9f3e7347e32bb4e394839c49c435048c29012ce17ac050c7423b3964
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch b/games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch
index 6e5b46d7c7e0..18b56ca6c1a3 100644
--- a/games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch
+++ b/games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch
@@ -1,5 +1,5 @@
---- src/locale_dialog.cpp.old
-+++ src/locale_dialog.cpp
+--- a/src/locale_dialog.cpp.old
++++ b/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
-+++ src/main.cpp
+--- a/src/main.cpp.old
++++ b/src/main.cpp
@@ -46,7 +46,7 @@
QString path = app.applicationDirPath();
QStringList paths;
diff --git a/games-puzzle/tanglet/tanglet-1.3.1.ebuild b/games-puzzle/tanglet/tanglet-1.3.1-r1.ebuild
index b640740df693..f599addb09f1 100644
--- a/games-puzzle/tanglet/tanglet-1.3.1.ebuild
+++ b/games-puzzle/tanglet/tanglet-1.3.1-r1.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
LANGS="cs de es en fr he hu it nl ro tr uk"
LANGSLONG="es_CL"
-inherit eutils gnome2-utils qmake-utils games
+
+inherit desktop gnome2-utils qmake-utils
DESCRIPTION="A single player word finding game based on Boggle"
HOMEPAGE="https://gottcode.org/tanglet/"
@@ -15,16 +16,19 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="sys-libs/zlib
+RDEPEND="
+ sys-libs/zlib
dev-qt/qtcore:5
dev-qt/qtwidgets:5
- dev-qt/qtgui:5"
-RDEPEND=${DEPEND}
+ dev-qt/qtgui:5
+"
+DEPEND="${RDEPEND}"
src_prepare() {
- epatch "${FILESDIR}"/${P}-datadir.patch
+ default
+ eapply "${FILESDIR}"/${P}-datadir.patch
sed -i \
- -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
+ -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \
src/locale_dialog.cpp \
src/main.cpp || die
}
@@ -34,11 +38,12 @@ src_configure() {
}
src_install() {
- dogamesbin ${PN}
- insinto "${GAMES_DATADIR}"/${PN}
+ dobin ${PN}
+ insinto /usr/share/${PN}
doins -r data
- #translations
- insinto "${GAMES_DATADIR}"/${PN}/translations/
+
+ # Translations
+ insinto /usr/share/${PN}/translations/
for lang in ${LINGUAS};do
for x in ${LANGS};do
if [[ ${lang} == ${x} ]];then
@@ -50,21 +55,17 @@ src_install() {
insinto /usr/share/icons
doins -r icons/hicolor
- dodoc ChangeLog CREDITS NEWS
-
+ einstalldocs
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() {