summaryrefslogtreecommitdiff
path: root/games-puzzle
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/Manifest.gzbin17757 -> 17778 bytes
-rw-r--r--games-puzzle/connectagram/Manifest6
-rw-r--r--games-puzzle/connectagram/connectagram-1.2.8.ebuild (renamed from games-puzzle/connectagram/connectagram-1.2.1-r1.ebuild)18
-rw-r--r--games-puzzle/connectagram/files/connectagram-1.2.8-gentoo.patch (renamed from games-puzzle/connectagram/files/connectagram-1.2.1-gentoo.patch)26
-rw-r--r--games-puzzle/cutemaze/Manifest4
-rw-r--r--games-puzzle/cutemaze/cutemaze-1.2.3.ebuild (renamed from games-puzzle/cutemaze/cutemaze-1.2.0.ebuild)3
-rw-r--r--games-puzzle/gottet/Manifest4
-rw-r--r--games-puzzle/gottet/gottet-1.1.6.ebuild (renamed from games-puzzle/gottet/gottet-1.1.3.ebuild)2
-rw-r--r--games-puzzle/hexalate/Manifest4
-rw-r--r--games-puzzle/hexalate/hexalate-1.1.3.ebuild (renamed from games-puzzle/hexalate/hexalate-1.1.0.ebuild)2
-rw-r--r--games-puzzle/tanglet/Manifest6
-rw-r--r--games-puzzle/tanglet/files/tanglet-1.5.2-gentoo.patch (renamed from games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch)19
-rw-r--r--games-puzzle/tanglet/tanglet-1.3.1-r1.ebuild73
-rw-r--r--games-puzzle/tanglet/tanglet-1.5.2.ebuild48
-rw-r--r--games-puzzle/world-of-goo/Manifest2
-rw-r--r--games-puzzle/world-of-goo/world-of-goo-1.41-r2.ebuild (renamed from games-puzzle/world-of-goo/world-of-goo-1.41-r1.ebuild)27
16 files changed, 114 insertions, 130 deletions
diff --git a/games-puzzle/Manifest.gz b/games-puzzle/Manifest.gz
index aa7bbe5b2a39..fc7e2ae8167f 100644
--- a/games-puzzle/Manifest.gz
+++ b/games-puzzle/Manifest.gz
Binary files differ
diff --git a/games-puzzle/connectagram/Manifest b/games-puzzle/connectagram/Manifest
index ae456e550f7c..926cb20cc477 100644
--- a/games-puzzle/connectagram/Manifest
+++ b/games-puzzle/connectagram/Manifest
@@ -1,4 +1,4 @@
-AUX connectagram-1.2.1-gentoo.patch 2551 BLAKE2B f10e4f38d6b3e35a9b564c4139e80d22ccbe9faf3ad1a631f8c9b7633bc1145b56788d4cd1159fe6562cf78fa6d9288fd359f18d88b1b98d585b4f38c7ec1599 SHA512 a95856c1f76670d1ea1e86a34f8d05ed7621479d6268068df46c7b3882dff633e7a8236f01c9ad3215d0f6e89a5702d2ece106be3db971431b129752be272804
-DIST connectagram-1.2.1-src.tar.bz2 1632426 BLAKE2B 8b3f6a42e074dd2698dd29cf74520a1aff972cd9376fcbaf42852daf71e963ef9e9a5b2cc393b8a1b36367a2d9fc2140cb2aedbecf5efdff787d8e43ebaab267 SHA512 0266af5680e7f76d517f60934afc6115c1118832fef237803b1b3d8c0fb785e5c312d585b099f24f4c476f124ca9722868a159dc4d1a9a8a695e9cdfa4f9c1c6
-EBUILD connectagram-1.2.1-r1.ebuild 933 BLAKE2B 22baf28d3d8baf3d7e1da72bd87960143a1b3fb29a77b4f74706e9c903d7c3d7a6350d37363298ba315d328c2f44b031e0c3a72935d120b1cdcbda3eed209faa SHA512 3449296162e5e4c29599064c544ef23123ce803aaecd59081e0ffa355c90d724594592abf97e7e9620e73c2565f1f396cc5907a1470bfcb4ddb73a09d838d33a
+AUX connectagram-1.2.8-gentoo.patch 2479 BLAKE2B 128389ff604e5a7a623e5893d3366ff9f4b7e58f05b49e1435a70c546d754718d0640451fb79a56e1b5a12893445040a020aa09cbd876b31e1dc8042afde0250 SHA512 d45be3e0734c3f2832cbdf56aaf722df5e4fe37ebf9a1d44001463d2bbb0f90de762a55898699343ad99e999c751e7f041f0bb7cefa679a95f56454c6140571c
+DIST connectagram-1.2.8-src.tar.bz2 1760028 BLAKE2B db29251339abaa8ecbda69afff55366a2cc94ae9515bdc3750b9d328b7f5445613ee2da4c308008fb5ad09e20435cb294f97c5e9a23124a4330004cde11bd6c5 SHA512 f48fe0320745919f9532a0bb25799b05272dc30b9acba20e559d1df7ce15570eb37a29a2f746af94077f56306c45e2ee32d49f27585b6e4385477aeb795f4ed8
+EBUILD connectagram-1.2.8.ebuild 910 BLAKE2B 6975e489cb78a8994783b57bd43419eac6c1d00e55e6875aeca89103a28d24b7133289344ebd6b0172adbdbfaf7a1339747e56d026673ba2366b2da48feda22b SHA512 b868f018cea2ddeb980b5950669792a2972d749c614cc2f87f1daf3339af529c0de28b451004022e234001ec92d118566b624305e362ccc5b7c54a1dd69bb093
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-puzzle/connectagram/connectagram-1.2.1-r1.ebuild b/games-puzzle/connectagram/connectagram-1.2.8.ebuild
index 2ea5d017d259..8405ae6061d8 100644
--- a/games-puzzle/connectagram/connectagram-1.2.1-r1.ebuild
+++ b/games-puzzle/connectagram/connectagram-1.2.8.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
+
inherit gnome2-utils qmake-utils
DESCRIPTION="A word unscrambling game"
@@ -14,18 +15,19 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
- >=dev-qt/qtcore-5.2:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
- >=dev-qt/qtgui-5.2:5
"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_prepare() {
default
-
- eapply "${FILESDIR}"/${P}-gentoo.patch
-
sed -i \
-e "s#@GAMES_BINDIR@#/usr/bin#" \
-e "s#@GAMES_DATADIR@#/usr/share#" \
@@ -41,10 +43,6 @@ src_install() {
einstalldocs
}
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
pkg_postinst() {
gnome2_icon_cache_update
}
diff --git a/games-puzzle/connectagram/files/connectagram-1.2.1-gentoo.patch b/games-puzzle/connectagram/files/connectagram-1.2.8-gentoo.patch
index b02dfef46792..7bb74baeee82 100644
--- a/games-puzzle/connectagram/files/connectagram-1.2.1-gentoo.patch
+++ b/games-puzzle/connectagram/files/connectagram-1.2.8-gentoo.patch
@@ -1,6 +1,6 @@
---- connectagram-1.2.1.orig/connectagram.pro
-+++ connectagram-1.2.1/connectagram.pro
-@@ -74,16 +74,16 @@
+--- a/connectagram.pro 2018-07-11 19:19:33.058534696 +0200
++++ b/connectagram.pro 2018-07-11 19:20:30.536282297 +0200
+@@ -90,16 +90,16 @@
RESOURCES += icons/icon.qrc
isEmpty(PREFIX) {
@@ -21,17 +21,17 @@
pixmap.files = icons/connectagram.xpm
pixmap.path = $$PREFIX/share/pixmaps/
-@@ -98,7 +98,7 @@
- appdata.path = $$PREFIX/share/appdata/
+@@ -114,7 +114,7 @@
+ appdata.path = $$PREFIX/share/metainfo/
- qm.files = translations/*.qm
+ qm.files = $$replace(TRANSLATIONS, .ts, .qm)
- qm.path = $$PREFIX/share/connectagram/translations
+ qm.path = @GAMES_DATADIR@/connectagram/translations
+ qm.CONFIG += no_check_exist
man.files = doc/connectagram.6
- man.path = $$PREFIX/share/man/man6
---- connectagram-1.2.1.orig/src/locale_dialog.cpp
-+++ connectagram-1.2.1/src/locale_dialog.cpp
+--- a/src/locale_dialog.cpp
++++ b/src/locale_dialog.cpp
@@ -88,6 +88,7 @@
paths.append(appdir);
paths.append(appdir + "/../share/" + QCoreApplication::applicationName().toLower());
@@ -40,8 +40,8 @@
}
for (const QString& path : paths) {
if (QFile::exists(path + "/translations/")) {
---- connectagram-1.2.1.orig/src/new_game_dialog.cpp
-+++ connectagram-1.2.1/src/new_game_dialog.cpp
+--- a/src/new_game_dialog.cpp
++++ b/src/new_game_dialog.cpp
@@ -48,7 +48,7 @@
m_wordlist = new WordList(this);
m_wordlist->setLanguage(WordList::defaultLanguage());
@@ -51,8 +51,8 @@
for (const QString& language : languages) {
m_languages_box->addItem(LocaleDialog::languageName(language), language);
}
---- connectagram-1.2.1.orig/src/wordlist.cpp
-+++ connectagram-1.2.1/src/wordlist.cpp
+--- a/src/wordlist.cpp
++++ b/src/wordlist.cpp
@@ -91,9 +91,9 @@
QString WordList::defaultLanguage() {
diff --git a/games-puzzle/cutemaze/Manifest b/games-puzzle/cutemaze/Manifest
index 997822ea7a7f..335d3f89df84 100644
--- a/games-puzzle/cutemaze/Manifest
+++ b/games-puzzle/cutemaze/Manifest
@@ -1,3 +1,3 @@
-DIST cutemaze-1.2.0-src.tar.bz2 800890 BLAKE2B 5865810bd974c1f2938c45f09d4d9e3b060932d7f4619b422e1d11f1bf6798b5846078cdc1efd4b104adf4203d9e301aca11f60ccbe3ba469f0c60c7a344d7cd SHA512 1628f0be74730260fc31898bcc42bd55515046e9ac6a22bb90cdfa1d728f829920bbe6e2360f3daa418ab789efe36891c1c95e399d636ecc4411969bb09f0a89
-EBUILD cutemaze-1.2.0.ebuild 695 BLAKE2B fa432ffe1d91dea5115a2501a4c569af10e8d14cf44a887d1738865e023c99f50e1ea0b78f7f8701cecb380d74d569497625e3e2ab1a90525cbdd4b9a720d079 SHA512 30b8eba77e91bfcc50adca8c4079ba15c501520a45ea2d6916bad0c201f3dde947054a9a287f280c69666c491e2a78910609acfbc4fedf3f2e130059131805c8
+DIST cutemaze-1.2.3-src.tar.bz2 938593 BLAKE2B 004a793ce12cae345f00eb5a018d69d13b2c99d24424938da5a00420fe3c25403ea02fb04603cb662c87c170cc6d8b6daf36228e2ac002c3e4692ee01caafcf3 SHA512 d864cc8e61047948272e9b910c7b90d393ac974ce1ca63475c7d308cfc3c96d771edd87f3a5a93803a777dcddf6049feacc2f373d21529187a83de03aa5f08ea
+EBUILD cutemaze-1.2.3.ebuild 696 BLAKE2B b4a3b0198a3d0fed185a479de37d98ad675acfaef866a91bae622b3141b3e315a0c7922fea20ff901e15952219235f74121a89b0de52939090c70aca200eb2d6 SHA512 01c5115193cded98542e3f1d4f7fc60aab5a16f3760c68ca19086da28d37a88defc929e56243c238bd05c7e1b5d748405d17f61a8dbe25d6ebf111c54892c07b
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-puzzle/cutemaze/cutemaze-1.2.0.ebuild b/games-puzzle/cutemaze/cutemaze-1.2.3.ebuild
index 668129d73bab..0f3981c5b115 100644
--- a/games-puzzle/cutemaze/cutemaze-1.2.0.ebuild
+++ b/games-puzzle/cutemaze/cutemaze-1.2.3.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
+
inherit gnome2-utils qmake-utils
DESCRIPTION="A simple, top-down game in which mazes are randomly generated"
diff --git a/games-puzzle/gottet/Manifest b/games-puzzle/gottet/Manifest
index 3f92abefd11c..8fe7778f6950 100644
--- a/games-puzzle/gottet/Manifest
+++ b/games-puzzle/gottet/Manifest
@@ -1,3 +1,3 @@
-DIST gottet-1.1.3-src.tar.bz2 395302 BLAKE2B 0e7193b09a8c42fc27d3c867b728f84d304109484b31a57c5175f936f6541bec0ef02c64558bd0754462fcf53e2d734e89ac2c3ebfa42719a9630ee82da3f575 SHA512 9fc468ca16a37eee29d2c172e8e98501c85dc20bee4e9daac2704a0eedb691d8df24905f2696a9331628bf9c91692da0fbbf86e3f80b6d65d4100aed2e4007a6
-EBUILD gottet-1.1.3.ebuild 644 BLAKE2B 2b769ccd389a779680db0f9b278ab32d2e67a51b64100b17678bdbfb377d66d309d258fdb4f9a4952193a7ec7cde75ae1d81887229b8832b7966a5fd0a992bfa SHA512 c71ff8b7a68fe47e50134ce78fb4b7d1a8af217255ca732062b4e1519be66a7090d6794f2d3dd88d34af853c7c4978f2e7d14e3055815b4ca5844ca9832b2934
+DIST gottet-1.1.6-src.tar.bz2 527181 BLAKE2B 1cd090c81c6b4c629b3cf08c8c96a73b3aed18a86a70a1d837d866d0354e8adecfd438cdfc93a821991f9ab919263f2db7e542e13f2503abe16d4b311ea03c95 SHA512 6e004d96ccd11169c19ce5234691db35af34ff050139ae7fee3949f0a36170a1ec906f83ba2a1f2f15fc3538adb08da8c8b744fbfb3202dfc59ebfeea7136f0d
+EBUILD gottet-1.1.6.ebuild 644 BLAKE2B e1fbd0e68fec61bcaeb954ef4db063cd6269a0afe7ec6798e5b9d793c6dd6ba2601494563a4788713edc042e8b9473c82292383236d80a6811d60648ca22704d SHA512 8924ce580c1b7c3a5ede9dc29b5efd6434baff443b679aee4292032968aaa7bbdd3f9a2978c80df6cf98c4c2e9e93d12f610a02cb9c11dc7f2b188ab90f5f532
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-puzzle/gottet/gottet-1.1.3.ebuild b/games-puzzle/gottet/gottet-1.1.6.ebuild
index 0d7f78f4b41d..0d95a54b6a90 100644
--- a/games-puzzle/gottet/gottet-1.1.3.ebuild
+++ b/games-puzzle/gottet/gottet-1.1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
diff --git a/games-puzzle/hexalate/Manifest b/games-puzzle/hexalate/Manifest
index 15d6f43905d9..7d9c433b5fd0 100644
--- a/games-puzzle/hexalate/Manifest
+++ b/games-puzzle/hexalate/Manifest
@@ -1,3 +1,3 @@
-DIST hexalate-1.1.0-src.tar.bz2 662438 BLAKE2B 6902b27db72224e684ff4e98fcc0b8810ab5984bf85c894601035592a478716e9959860af593e977d349ab1f9514f1b7ed4851e7c0c06addbb05c3805344f31d SHA512 2f8775c9cb85ff78fb84109f78079013fa172a6b37b309e1cac033be4eb1c248a005a2e899eb785fbe1f89fd87a2035dae3e7016a26af6f3e82a7174dc010a64
-EBUILD hexalate-1.1.0.ebuild 640 BLAKE2B fa15d8a32bdb3425e97ce0c812635f3b01b3605fc3a46cd2594b97998eec482537b98f3aabcb52a4763ba80e0eeed47210129a44d236a8d6054a9b4da994fe50 SHA512 939df479bda5548a1d668bdfd85b810f5204599149de74366ab71c34f4fbd2eb0372c3ac71b6f4c02dfdf045bd501abcea2575e04cb5e9f9cb1a2062729b1340
+DIST hexalate-1.1.3-src.tar.bz2 798580 BLAKE2B 685a5fb106b9e4e33d63651059bc63b155c4b1afc1426506f8535b93c54bda1cbf8705244790fe130fe92e82bb6b7d9710c3aa8f245f0d578ddf09fa1e51551d SHA512 037dec9bb7b9dbc3cf3659e765c6e333dbbd0a94426e0b79c20695cf402cffb141c28c9ece4405281617dace7510b982180475c129648a871036be226e868bd6
+EBUILD hexalate-1.1.3.ebuild 640 BLAKE2B c2ff441c608e2880001395edf798962bae05bc3ba734358241e110722d573ee0dcfaf4b08da2c52e048501ed59efaca63e7fc4e13976ff4936c99f3dc46ebcc3 SHA512 29fc44d328d67558d0731cc7970abf0251b6a04433ade8a87e22cd430bd4d33d86da3d0aab001b85b1ae38fbb79a4dbc0ac59017cf670f3fbde7dc329b7242f7
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-puzzle/hexalate/hexalate-1.1.0.ebuild b/games-puzzle/hexalate/hexalate-1.1.3.ebuild
index 60757fbc4815..23dec27a0760 100644
--- a/games-puzzle/hexalate/hexalate-1.1.0.ebuild
+++ b/games-puzzle/hexalate/hexalate-1.1.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
diff --git a/games-puzzle/tanglet/Manifest b/games-puzzle/tanglet/Manifest
index 83dfaba47e5c..15886c8da228 100644
--- a/games-puzzle/tanglet/Manifest
+++ b/games-puzzle/tanglet/Manifest
@@ -1,4 +1,4 @@
-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-r1.ebuild 1270 BLAKE2B b5015194fbe34b4c91d30f306746d0cb83a755cb2afb27258c4bf6d97ef256a4720ba7608d64f5707efa9b646010db0bb4efa0ce6d0f40851632cec231c9ba66 SHA512 02147ab848c47fda50cc81b0ecbdf32d7ca4b59322feecc13d8b937b35cfcdffe7a9819b9f3e7347e32bb4e394839c49c435048c29012ce17ac050c7423b3964
+AUX tanglet-1.5.2-gentoo.patch 981 BLAKE2B a581aca772c797e31ad7bd85adf1fd1f12d2e768c9bee87139871f100eb8d4a77bfe343d86b1d29840a67338bdf5b003ff427acc6653abcd2fa4b182b8a362c4 SHA512 541d1feaf1b12acdf8ff477bf3e165d6ea6fa615eca8def32b092925dfb8902759ce29b3fe6f76d761688d298b3b452c71815e94e2cd71a9b07e6641f05386e6
+DIST tanglet-1.5.2-src.tar.bz2 8646616 BLAKE2B 0a38690069550e27a302f28e7db3753eaf67af7add730d8069ec4df001a431843e204603475146d56049cdf40c0be20d8ef83ea9f47b27cf82cc232e4fecef35 SHA512 a97b9fe3c9c80a843c4696766d15edcab48369bd905e893c2975bfb9faf91d4a58a3c440d242be91f5838aacdf1526022b5ce8c463adfd8b0bb62e008be460ee
+EBUILD tanglet-1.5.2.ebuild 876 BLAKE2B 0d3134ed3ee30c442b361d1b264c1172ef0e4ebba7b9abae289bcb9ae60a0794d2869ec53dcced262e317a2f0b28d70380896cee56170090b87254a1ccb9f8bd SHA512 75dd82c10284077788f1fe4dd01b9669f51c56dfe719cac263c24c8855e52782f10d402204a7e3966fdaf18ef0d1aace1f46c24c5ac900e0a6fdb71686d07ef9
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.5.2-gentoo.patch
index 18b56ca6c1a3..8409f2cc48cf 100644
--- a/games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch
+++ b/games-puzzle/tanglet/files/tanglet-1.5.2-gentoo.patch
@@ -1,22 +1,33 @@
---- a/src/locale_dialog.cpp.old
+--- a/src/src.pro 2018-05-29 13:11:55.000000000 +0200
++++ b/src/src.pro 2018-07-11 20:02:51.415773874 +0200
+@@ -99,7 +99,7 @@
+ RESOURCES += ../icons/icon.qrc
+
+ isEmpty(PREFIX) {
+- PREFIX = /usr/local
++ PREFIX = /usr
+ }
+ isEmpty(BINDIR) {
+ BINDIR = bin
+--- a/src/locale_dialog.cpp
+++ b/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("/usr/share");
paths.append(appdir + "/../Resources");
}
foreach (const QString& path, paths) {
---- a/src/main.cpp.old
+--- a/src/main.cpp
+++ b/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("/usr/share/data/");
paths.append(path + "/../Resources/data/");
QDir::setSearchPaths("tanglet", paths);
diff --git a/games-puzzle/tanglet/tanglet-1.3.1-r1.ebuild b/games-puzzle/tanglet/tanglet-1.3.1-r1.ebuild
deleted file mode 100644
index f599addb09f1..000000000000
--- a/games-puzzle/tanglet/tanglet-1.3.1-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-LANGS="cs de es en fr he hu it nl ro tr uk"
-LANGSLONG="es_CL"
-
-inherit desktop gnome2-utils qmake-utils
-
-DESCRIPTION="A single player word finding game based on Boggle"
-HOMEPAGE="https://gottcode.org/tanglet/"
-SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- sys-libs/zlib
- dev-qt/qtcore:5
- dev-qt/qtwidgets:5
- dev-qt/qtgui:5
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- default
- eapply "${FILESDIR}"/${P}-datadir.patch
- sed -i \
- -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \
- src/locale_dialog.cpp \
- src/main.cpp || die
-}
-
-src_configure() {
- eqmake5 tanglet.pro
-}
-
-src_install() {
- dobin ${PN}
- insinto /usr/share/${PN}
- doins -r data
-
- # Translations
- insinto /usr/share/${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
-
- einstalldocs
- doicon icons/${PN}.xpm
- domenu icons/${PN}.desktop
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/games-puzzle/tanglet/tanglet-1.5.2.ebuild b/games-puzzle/tanglet/tanglet-1.5.2.ebuild
new file mode 100644
index 000000000000..2595d233626d
--- /dev/null
+++ b/games-puzzle/tanglet/tanglet-1.5.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop gnome2-utils qmake-utils xdg-utils
+
+DESCRIPTION="A single player word finding game based on Boggle"
+HOMEPAGE="https://gottcode.org/tanglet/"
+SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ sys-libs/zlib:=
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
+src_configure() {
+ eqmake5 tanglet.pro
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
diff --git a/games-puzzle/world-of-goo/Manifest b/games-puzzle/world-of-goo/Manifest
index 193d153ab3ea..9e80b891e04d 100644
--- a/games-puzzle/world-of-goo/Manifest
+++ b/games-puzzle/world-of-goo/Manifest
@@ -1,3 +1,3 @@
DIST WorldOfGooSetup.1.41.tar.gz 66428181 BLAKE2B 476c05f0b3f78fa952728b9f7b5b95942e7f3e57dde4842144ccaa28c9ad2d2c264b1a2277ba5a1f3edf25cb812c72a0380b0d26b2bc99dd9a77116badcf5477 SHA512 278dfb983cf9cf4de87f13d94f5e75b3830af07523e2ddc7a443d5afb6fead130ed50440357554986b5b0d99c17651f77ae11298f51f9f1072ebd40287cad396
-EBUILD world-of-goo-1.41-r1.ebuild 1435 BLAKE2B b292ac0388cdc845c13775448f093c9f15339f12017dbc364d21f9c6c65eb4588f3fdc5a85116a2051c2a934edec28f5632756f2369cbc195005181aece5887b SHA512 56212dbeac141cc805bae061f6f62e43b7d3770bbe4a9a53c73bb80b8f43b06b193680bc3b5a1e576b7574d5e64852db38a69e1080269e7dea09b003189f4f86
+EBUILD world-of-goo-1.41-r2.ebuild 1472 BLAKE2B 4464e577d888be78e0fdabc8a9026724ad3f249bb2b90b7e4d9369e9b84a051be4725b6d488f4cf880b56f44681e5115f64e7dcc7b56782bf1e9e1044d0b2877 SHA512 ee612026cb24862f5ebba0e69a5089dcbabc5a4dae3f9efdf04b65188e708cb06e779c91c67a3accdf1a9a3c36b75547ea7f491dbb9d02724a6c84171f725fe7
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-puzzle/world-of-goo/world-of-goo-1.41-r1.ebuild b/games-puzzle/world-of-goo/world-of-goo-1.41-r2.ebuild
index b941fe96f8d3..51f7f12ff569 100644
--- a/games-puzzle/world-of-goo/world-of-goo-1.41-r1.ebuild
+++ b/games-puzzle/world-of-goo/world-of-goo-1.41-r2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
+
+inherit desktop eutils # eutils for make_wrapper()
DESCRIPTION="A puzzle game with a strong emphasis on physics"
HOMEPAGE="http://2dboy.com/"
@@ -18,8 +19,7 @@ fi
LICENSE="2dboy-EULA"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-RESTRICT="fetch strip"
+RESTRICT="fetch bindist strip"
RDEPEND="media-libs/libsdl[alsa,sound,opengl,video]
media-libs/sdl-mixer[vorbis]
@@ -27,10 +27,9 @@ RDEPEND="media-libs/libsdl[alsa,sound,opengl,video]
virtual/opengl
virtual/glu
>=sys-devel/gcc-3.4"
-DEPEND=""
-S=${WORKDIR}/${MY_PN}
-dir=${GAMES_PREFIX_OPT}/${PN}
+S="${WORKDIR}/${MY_PN}"
+dir="/opt/${PN}"
QA_PREBUILT="${dir:1}/${MY_PN%Demo}.bin32
${dir:1}/${MY_PN%Demo}.bin64"
@@ -38,9 +37,10 @@ QA_PREBUILT="${dir:1}/${MY_PN%Demo}.bin32
pkg_nofetch() {
if [[ ${PN} == *-demo ]] ; then
elog "To download the demo, visit http://worldofgoo.com/dl2.php?lk=demo"
- elog "and download ${A} and place it in ${DISTDIR}"
+ elog "and download ${A} and place it in your DISTDIR directory."
else
- elog "Download ${A} from ${HOMEPAGE} and place it in ${DISTDIR}"
+ elog "Download ${A} from ${HOMEPAGE}"
+ elog "and place it in your DISTDIR directory."
fi
}
@@ -48,7 +48,7 @@ src_install() {
exeinto "${dir}"
doexe ${MY_PN%Demo}{,.$(usex amd64 bin64 bin32)}
- games_make_wrapper ${PN} "${dir}"/${MY_PN%Demo}
+ make_wrapper ${PN} "${dir}"/${MY_PN%Demo}
insinto "${dir}"
doins -r icons properties res
@@ -61,7 +61,6 @@ src_install() {
fi
dodoc linux-issues.txt
- dohtml readme.html
-
- prepgamesdirs
+ docinto html
+ dodoc readme.html
}