summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-puzzle/gottet/Manifest1
-rw-r--r--games-puzzle/gottet/gottet-1.1.6.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/games-puzzle/gottet/Manifest b/games-puzzle/gottet/Manifest
index 6eb210b9068b..657cbff0ca9f 100644
--- a/games-puzzle/gottet/Manifest
+++ b/games-puzzle/gottet/Manifest
@@ -1 +1,2 @@
DIST gottet-1.1.3-src.tar.bz2 395302 BLAKE2B 0e7193b09a8c42fc27d3c867b728f84d304109484b31a57c5175f936f6541bec0ef02c64558bd0754462fcf53e2d734e89ac2c3ebfa42719a9630ee82da3f575 SHA512 9fc468ca16a37eee29d2c172e8e98501c85dc20bee4e9daac2704a0eedb691d8df24905f2696a9331628bf9c91692da0fbbf86e3f80b6d65d4100aed2e4007a6
+DIST gottet-1.1.6-src.tar.bz2 527181 BLAKE2B 1cd090c81c6b4c629b3cf08c8c96a73b3aed18a86a70a1d837d866d0354e8adecfd438cdfc93a821991f9ab919263f2db7e542e13f2503abe16d4b311ea03c95 SHA512 6e004d96ccd11169c19ce5234691db35af34ff050139ae7fee3949f0a36170a1ec906f83ba2a1f2f15fc3538adb08da8c8b744fbfb3202dfc59ebfeea7136f0d
diff --git a/games-puzzle/gottet/gottet-1.1.6.ebuild b/games-puzzle/gottet/gottet-1.1.6.ebuild
new file mode 100644
index 000000000000..0d95a54b6a90
--- /dev/null
+++ b/games-puzzle/gottet/gottet-1.1.6.ebuild
@@ -0,0 +1,40 @@
+# 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 tetris clone based on Qt5"
+HOMEPAGE="https://gottcode.org/gottet/"
+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
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+src_configure() {
+ eqmake5 PREFIX="/usr"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}