diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-11 20:09:06 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-11 20:34:34 +0200 |
commit | 17428b7a5645ea4be20700ad8354709444e12dc7 (patch) | |
tree | abac56872ad385b478ce5140fc7f730d31f9a830 /games-puzzle | |
parent | games-puzzle/tanglet: 1.5.2 version bump (diff) | |
download | gentoo-17428b7a5645ea4be20700ad8354709444e12dc7.tar.gz gentoo-17428b7a5645ea4be20700ad8354709444e12dc7.tar.bz2 gentoo-17428b7a5645ea4be20700ad8354709444e12dc7.zip |
games-puzzle/tanglet: Drop old
Package-Manager: Portage-2.3.42, Repoman-2.3.9
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/tanglet/Manifest | 1 | ||||
-rw-r--r-- | games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch | 22 | ||||
-rw-r--r-- | games-puzzle/tanglet/tanglet-1.3.1-r1.ebuild | 73 |
3 files changed, 0 insertions, 96 deletions
diff --git a/games-puzzle/tanglet/Manifest b/games-puzzle/tanglet/Manifest index 15f18c90c8e3..2165e2c33a87 100644 --- a/games-puzzle/tanglet/Manifest +++ b/games-puzzle/tanglet/Manifest @@ -1,2 +1 @@ -DIST tanglet-1.3.1-src.tar.bz2 8461603 BLAKE2B 86542f6248b58dc7f72be8264ded94376d746827865b3633640a24055452a4c4d677bf3f6aab8eb6736ce1cf92b8a8b6963637418118861dad296bb4ccac5b2a SHA512 b939ca45f26baf8e7e32da8775e673707472e5cd07d344642eeb15986ff99319e0ab1bacf78e2ea49f004ec67a6d081a91c939cf7c75228a195654d429235625 DIST tanglet-1.5.2-src.tar.bz2 8646616 BLAKE2B 0a38690069550e27a302f28e7db3753eaf67af7add730d8069ec4df001a431843e204603475146d56049cdf40c0be20d8ef83ea9f47b27cf82cc232e4fecef35 SHA512 a97b9fe3c9c80a843c4696766d15edcab48369bd905e893c2975bfb9faf91d4a58a3c440d242be91f5838aacdf1526022b5ce8c463adfd8b0bb62e008be460ee diff --git a/games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch b/games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch deleted file mode 100644 index 18b56ca6c1a3..000000000000 --- a/games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/src/locale_dialog.cpp.old -+++ 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(appdir + "/../Resources"); - } - foreach (const QString& path, paths) { ---- a/src/main.cpp.old -+++ 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(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 -} |