summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-puzzle/gottet/Manifest1
-rw-r--r--games-puzzle/gottet/files/gottet-1.0.6-gentoo.patch11
-rw-r--r--games-puzzle/gottet/gottet-1.0.6.ebuild49
3 files changed, 0 insertions, 61 deletions
diff --git a/games-puzzle/gottet/Manifest b/games-puzzle/gottet/Manifest
index 161c572eb4f..7874a496146 100644
--- a/games-puzzle/gottet/Manifest
+++ b/games-puzzle/gottet/Manifest
@@ -1,2 +1 @@
-DIST gottet-1.0.6-src.tar.bz2 268854 SHA256 66338509e04927b76804cb0a3ebb31989a4c6f2500e8b99bec6d1db1121cd561 SHA512 20755d1bdd62259226dbe389a322bb8abf8608e0b08ee337e4a4b59e881ea176ccb5579fd4047ea994024b8db8bdb645b002ece00d7858dd235406c0505dee8e WHIRLPOOL f6c6ea0e49f50a05d46ef0c03da89563324ae4b68c4b6cebbdb5f4d9b2a24c4813e9f058135e6a33568fb95117f8765c507a4b01dff626a0b176bbbf8bfc3062
DIST gottet-1.1.3-src.tar.bz2 395302 SHA256 ff8111c9760091980d12bc116ff75599d231437fea6a9313e7ab1bd0b2a15e1b SHA512 9fc468ca16a37eee29d2c172e8e98501c85dc20bee4e9daac2704a0eedb691d8df24905f2696a9331628bf9c91692da0fbbf86e3f80b6d65d4100aed2e4007a6 WHIRLPOOL 5ff45e2ee1a5017c71cb33af2b52bbf267a04a861735a286ee6b92082fb9a6739fc22ecb405e944dfebd74348dff890f5cf652fe3ae37037499d8dacc5858057
diff --git a/games-puzzle/gottet/files/gottet-1.0.6-gentoo.patch b/games-puzzle/gottet/files/gottet-1.0.6-gentoo.patch
deleted file mode 100644
index 3b34dae0e26..00000000000
--- a/games-puzzle/gottet/files/gottet-1.0.6-gentoo.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/locale_dialog.cpp.old 2014-05-18 18:11:33.546814928 +0200
-+++ src/locale_dialog.cpp 2014-05-18 18:40:56.033720946 +0200
-@@ -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@/" + QCoreApplication::applicationName().toLower());
- paths.append(appdir + "/../Resources");
- }
- foreach (const QString& path, paths) {
diff --git a/games-puzzle/gottet/gottet-1.0.6.ebuild b/games-puzzle/gottet/gottet-1.0.6.ebuild
deleted file mode 100644
index 05ea39d3c62..00000000000
--- a/games-puzzle/gottet/gottet-1.0.6.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-LANGS="ca de en es fr he ko ms pl ro ru tr vi"
-inherit eutils qt4-r2 games
-
-DESCRIPTION="A tetris clone based on Qt4"
-HOMEPAGE="http://gottcode.org/gottet/"
-SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="dev-qt/qtcore:4
- dev-qt/qtgui:4"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch
- sed -i -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \
- src/locale_dialog.cpp \
- || die "sed failed"
-}
-
-src_configure() {
- qt4-r2_src_configure
-}
-
-src_install() {
- dogamesbin ${PN}
- 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 CREDITS ChangeLog NEWS README
- doicon icons/${PN}.xpm
- domenu icons/${PN}.desktop
- prepgamesdirs
-}