Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/connectagram/
Date: Thu, 21 May 2020 10:04:07
Message-Id: 1590055434.5e961ec6376b7decc2c4b55d197e562107802504.asturm@gentoo
1 commit: 5e961ec6376b7decc2c4b55d197e562107802504
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 21 10:02:28 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu May 21 10:03:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e961ec6
7
8 games-puzzle/connectagram: 1.2.11 version bump
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 games-puzzle/connectagram/Manifest | 1 +
14 .../connectagram/connectagram-1.2.11.ebuild | 53 ++++++++++++++++++++++
15 2 files changed, 54 insertions(+)
16
17 diff --git a/games-puzzle/connectagram/Manifest b/games-puzzle/connectagram/Manifest
18 index d93542cb42f..a501bb28465 100644
19 --- a/games-puzzle/connectagram/Manifest
20 +++ b/games-puzzle/connectagram/Manifest
21 @@ -1 +1,2 @@
22 +DIST connectagram-1.2.11-src.tar.bz2 1754242 BLAKE2B 9322605428a583ed356a7ce2ab67004a8cf2145205d2772652b96a022e085ce89cf3b43b7f77179e5ce7ce593471c39f16d27e35ae28900ffac3bace6fdbe97e SHA512 99432ec3bf9f579e91b05f7ca2da99f4251bb53e18722bf6727dd48640c611b82336b9882922039a233c6ddcd492ebda12589fb299558eee97bf7116a1b3e2f7
23 DIST connectagram-1.2.8-src.tar.bz2 1760028 BLAKE2B db29251339abaa8ecbda69afff55366a2cc94ae9515bdc3750b9d328b7f5445613ee2da4c308008fb5ad09e20435cb294f97c5e9a23124a4330004cde11bd6c5 SHA512 f48fe0320745919f9532a0bb25799b05272dc30b9acba20e559d1df7ce15570eb37a29a2f746af94077f56306c45e2ee32d49f27585b6e4385477aeb795f4ed8
24
25 diff --git a/games-puzzle/connectagram/connectagram-1.2.11.ebuild b/games-puzzle/connectagram/connectagram-1.2.11.ebuild
26 new file mode 100644
27 index 00000000000..3442322f016
28 --- /dev/null
29 +++ b/games-puzzle/connectagram/connectagram-1.2.11.ebuild
30 @@ -0,0 +1,53 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit qmake-utils xdg-utils
37 +
38 +DESCRIPTION="A word unscrambling game"
39 +HOMEPAGE="https://gottcode.org/connectagram/"
40 +SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2"
41 +
42 +LICENSE="GPL-3+"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE=""
46 +
47 +BDEPEND="
48 + dev-qt/linguist-tools:5
49 +"
50 +RDEPEND="
51 + dev-qt/qtcore:5
52 + dev-qt/qtgui:5
53 + dev-qt/qtnetwork:5
54 + dev-qt/qtwidgets:5
55 +"
56 +DEPEND="${RDEPEND}"
57 +
58 +PATCHES=( "${FILESDIR}"/${PN}-1.2.8-gentoo.patch )
59 +
60 +src_prepare() {
61 + default
62 + sed -i \
63 + -e "s#@GAMES_BINDIR@#/usr/bin#" \
64 + -e "s#@GAMES_DATADIR@#/usr/share#" \
65 + ${PN}.pro src/{locale_dialog,new_game_dialog,wordlist}.cpp || die
66 +}
67 +
68 +src_configure() {
69 + eqmake5 connectagram.pro
70 +}
71 +
72 +src_install() {
73 + emake INSTALL_ROOT="${D}" install
74 + einstalldocs
75 +}
76 +
77 +pkg_postinst() {
78 + xdg_icon_cache_update
79 +}
80 +
81 +pkg_postrm() {
82 + xdg_icon_cache_update
83 +}