summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-07-11 20:18:24 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-07-11 20:34:34 +0200
commit4d5febfd4e98d073d556ae4dc9162324f46b31e0 (patch)
tree4e347915116c378963949d95d438244729f12b40 /games-board/peg-e
parentgames-puzzle/tanglet: Drop old (diff)
downloadgentoo-4d5febfd4e98d073d556ae4dc9162324f46b31e0.tar.gz
gentoo-4d5febfd4e98d073d556ae4dc9162324f46b31e0.tar.bz2
gentoo-4d5febfd4e98d073d556ae4dc9162324f46b31e0.zip
games-board/peg-e: 1.2.5 version bump
Fixes qmake with Qt 5.11. Package-Manager: Portage-2.3.42, Repoman-2.3.9
Diffstat (limited to 'games-board/peg-e')
-rw-r--r--games-board/peg-e/Manifest1
-rw-r--r--games-board/peg-e/files/peg-e-1.2.5-gentoo.patch11
-rw-r--r--games-board/peg-e/peg-e-1.2.5.ebuild43
3 files changed, 55 insertions, 0 deletions
diff --git a/games-board/peg-e/Manifest b/games-board/peg-e/Manifest
index c3c9346c117d..2b60637483d3 100644
--- a/games-board/peg-e/Manifest
+++ b/games-board/peg-e/Manifest
@@ -1 +1,2 @@
DIST peg-e-1.2.3-src.tar.bz2 466872 BLAKE2B bcff7b31bc2281b24b6c54466aa14e6d200b14f9204437a66a84d180607e9e108be893e4da7dd722d17c1ea7490bac34fae08ddf2dcd89f696439d026e831e96 SHA512 775bab9512ec33ef31a1fb549af365ec3ae0e8d9533c2e05f438d3affa68e10786e043925bcdec67ebdb027559773582687dbdc625d3dca307c3aadde01686dd
+DIST peg-e-1.2.5-src.tar.bz2 598322 BLAKE2B f717d3e378fe69e087631abd8f0cbe3cc3bf2479ab86a608c256100778bc94baa40752463a4cb511c4ffd431ce38333318803a1dc289be4bd7d3aad595cd76d1 SHA512 cfd15e2c8cba678d64c9289ab2aa3803af48aebb3e4e545439c247d622dd914dac0735a0fd786cdba1678b448c22a9e40f48a9a1db6391fa6532e3d918c0ca10
diff --git a/games-board/peg-e/files/peg-e-1.2.5-gentoo.patch b/games-board/peg-e/files/peg-e-1.2.5-gentoo.patch
new file mode 100644
index 000000000000..e6430001cf35
--- /dev/null
+++ b/games-board/peg-e/files/peg-e-1.2.5-gentoo.patch
@@ -0,0 +1,11 @@
+--- a/peg-e.pro 2018-05-29 13:01:32.000000000 +0200
++++ b/peg-e.pro 2018-07-11 20:15:46.151082792 +0200
+@@ -75,7 +75,7 @@
+ RESOURCES = icons/icon.qrc
+
+ isEmpty(PREFIX) {
+- PREFIX = /usr/local
++ PREFIX = /usr
+ }
+ isEmpty(BINDIR) {
+ BINDIR = bin
diff --git a/games-board/peg-e/peg-e-1.2.5.ebuild b/games-board/peg-e/peg-e-1.2.5.ebuild
new file mode 100644
index 000000000000..e53cb97a9303
--- /dev/null
+++ b/games-board/peg-e/peg-e-1.2.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop gnome2-utils qmake-utils
+
+DESCRIPTION="A peg solitaire game"
+HOMEPAGE="https://gottcode.org/peg-e/"
+SRC_URI="https://gottcode.org/peg-e/${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
+"
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}