From 5e961ec6376b7decc2c4b55d197e562107802504 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 21 May 2020 12:02:28 +0200 Subject: [PATCH] games-puzzle/connectagram: 1.2.11 version bump Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner --- games-puzzle/connectagram/Manifest | 1 + .../connectagram/connectagram-1.2.11.ebuild | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 games-puzzle/connectagram/connectagram-1.2.11.ebuild diff --git a/games-puzzle/connectagram/Manifest b/games-puzzle/connectagram/Manifest index d93542cb42f7..a501bb28465a 100644 --- a/games-puzzle/connectagram/Manifest +++ b/games-puzzle/connectagram/Manifest @@ -1 +1,2 @@ +DIST connectagram-1.2.11-src.tar.bz2 1754242 BLAKE2B 9322605428a583ed356a7ce2ab67004a8cf2145205d2772652b96a022e085ce89cf3b43b7f77179e5ce7ce593471c39f16d27e35ae28900ffac3bace6fdbe97e SHA512 99432ec3bf9f579e91b05f7ca2da99f4251bb53e18722bf6727dd48640c611b82336b9882922039a233c6ddcd492ebda12589fb299558eee97bf7116a1b3e2f7 DIST connectagram-1.2.8-src.tar.bz2 1760028 BLAKE2B db29251339abaa8ecbda69afff55366a2cc94ae9515bdc3750b9d328b7f5445613ee2da4c308008fb5ad09e20435cb294f97c5e9a23124a4330004cde11bd6c5 SHA512 f48fe0320745919f9532a0bb25799b05272dc30b9acba20e559d1df7ce15570eb37a29a2f746af94077f56306c45e2ee32d49f27585b6e4385477aeb795f4ed8 diff --git a/games-puzzle/connectagram/connectagram-1.2.11.ebuild b/games-puzzle/connectagram/connectagram-1.2.11.ebuild new file mode 100644 index 000000000000..3442322f0168 --- /dev/null +++ b/games-puzzle/connectagram/connectagram-1.2.11.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils xdg-utils + +DESCRIPTION="A word unscrambling game" +HOMEPAGE="https://gottcode.org/connectagram/" +SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +BDEPEND=" + dev-qt/linguist-tools:5 +" +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 +" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${PN}-1.2.8-gentoo.patch ) + +src_prepare() { + default + sed -i \ + -e "s#@GAMES_BINDIR@#/usr/bin#" \ + -e "s#@GAMES_DATADIR@#/usr/share#" \ + ${PN}.pro src/{locale_dialog,new_game_dialog,wordlist}.cpp || die +} + +src_configure() { + eqmake5 connectagram.pro +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} -- 2.26.2