summaryrefslogtreecommitdiff
path: root/games-puzzle/groundhog
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
commit7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (patch)
treebac2a67fb24ac0836147fe370d30e1610ae1845d /games-puzzle/groundhog
parent2f8db31405fac68eea6f7257d58529243815033b (diff)
gentoo resync : 02.05.2018
Diffstat (limited to 'games-puzzle/groundhog')
-rw-r--r--games-puzzle/groundhog/Manifest4
-rw-r--r--games-puzzle/groundhog/files/groundhog-1.4-flags.patch4
-rw-r--r--games-puzzle/groundhog/groundhog-1.4-r1.ebuild (renamed from games-puzzle/groundhog/groundhog-1.4.ebuild)23
3 files changed, 18 insertions, 13 deletions
diff --git a/games-puzzle/groundhog/Manifest b/games-puzzle/groundhog/Manifest
index d3bad3e5a28d..b0bc9139eefb 100644
--- a/games-puzzle/groundhog/Manifest
+++ b/games-puzzle/groundhog/Manifest
@@ -1,5 +1,5 @@
-AUX groundhog-1.4-flags.patch 604 BLAKE2B 6e553ae4af73ecfd852eb10b81d83a020017e4588341bb590ee229380b107ac4e96aa068fdf90a2e1781d0038b01b84661c00b3d928cf17beb6c7265ea4a98e4 SHA512 d81fbb87f1732673e0c2b3053c6a8d6f47c27a12a0f0b8349da20d43cf78ceeed2f4aa1a87803216dfcd0c71f77f615c3f9bba7516a69a43f3ec6f11be53c071
+AUX groundhog-1.4-flags.patch 608 BLAKE2B aec098b6453a3541a087d382f93e4aa1c9ba9deb6435118836cef9825c617e417981a25040ca2b36268de6c688a29d71f62c8e1bab197e824aee9bec81da0d1d SHA512 ee6e08ead434e9285ee6d2b8580effd33528a8c4c13635e9ecf1973ca25a7869a98ed6231f95e4e789867bfa56e8b57e2a939ebf35107f15959eb643df880862
DIST groundhog-1.4.tar.gz 221871 BLAKE2B e9b7dd2c7498b6320ee4fe396679ba76831c13357b1e7fc9cd14578f387de6d1ca38fa0f5aa4fb3461afb3c27080751de45e3b26ded281dcb59475d85eccbe35 SHA512 9d1cf9073658cd325c4dceb6009825f50d8d4c55d0cca1b762cfdd066663257958d92e0e67ad49593add5821ce202e19c1106793ae8c77e4776c3b2e1fdc093c
DIST groundhog_1.4-9.diff.gz 8613 BLAKE2B 5bbfd5deaa0f7579369baea93be40e5b2ced14d9356417b0aaef595df830bb29abb4b3676878f49005e68ec81c5ec762ab418fce55c26fbbd2af062263757335 SHA512 ddbb7c8b51fe63a1d318e080133737a851276ab55324875e5d68650d2399ac141667c62ab79ee41ababd2b5426e7bee5f158e7aa4edfe8ee82c6c3b6fb8179b8
-EBUILD groundhog-1.4.ebuild 1129 BLAKE2B 0c732dbd926f0d07229d3f4a91acd8eaaee242edcd4c8b7972a70d662c6c42c7c0796604bddc6e6a9857dbbed3029c034ba03c04bf829f0a0b9b6e41aac5cefa SHA512 a07900afb4988863719ba5c568991b40b6efc78a029175f25a9b320c1cfcdd3326bc3511b978194802bc171708d46fab31209817b5a4ad49c15ee2caae6fd8bd
+EBUILD groundhog-1.4-r1.ebuild 1221 BLAKE2B c282f82e888dadf7330bce1e4b99018e17fcb3713894ff27591320de9a167b86bebdb93a7ddd9b29545eb205946f61c38b64f5614b958ea554299e9a3b9a6410 SHA512 982cefcc7b8b5df623a5d7e49531334c7453072569efdb9304b7a8445109c0051733c92f88a15c0f6a2b2cce9c00a6c8a4d71828336868776ecfd661f61cf72f
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-puzzle/groundhog/files/groundhog-1.4-flags.patch b/games-puzzle/groundhog/files/groundhog-1.4-flags.patch
index 48275a8c39b1..9726f249820b 100644
--- a/games-puzzle/groundhog/files/groundhog-1.4-flags.patch
+++ b/games-puzzle/groundhog/files/groundhog-1.4-flags.patch
@@ -2,8 +2,8 @@ respect flags
applied on top of debian patches
---- configure.in
-+++ configure.in
+--- a/configure.in
++++ b/configure.in
@@ -46,8 +46,6 @@
dnl Checks for libraries.
dnl AM_PATH_GTK_2_0(2.0.0,,AC_MSG_ERROR(Groundhog needs GTK 2.0))
diff --git a/games-puzzle/groundhog/groundhog-1.4.ebuild b/games-puzzle/groundhog/groundhog-1.4-r1.ebuild
index 0682e563376e..ba93616b6702 100644
--- a/games-puzzle/groundhog/groundhog-1.4.ebuild
+++ b/games-puzzle/groundhog/groundhog-1.4-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils autotools games
+EAPI=6
+inherit desktop epatch autotools
DEB_VER="9"
DESCRIPTION="Put the balls in the pockets of the same color by manipulating a maze of tubes"
@@ -15,19 +15,23 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
-RDEPEND="x11-libs/gtk+:2
- nls? ( virtual/libintl )"
+RDEPEND="
+ x11-libs/gtk+:2
+ nls? ( virtual/libintl )
+"
DEPEND="${RDEPEND}
virtual/pkgconfig
- nls? ( sys-devel/gettext )"
+ nls? ( sys-devel/gettext )
+"
src_prepare() {
+ default
cd "${WORKDIR}"
epatch groundhog_${PV}-${DEB_VER}.diff
cd "${S}"
sed -e "s:groundhog-1.4/::" -i \
debian/patches/sv.po.patch || die
- epatch \
+ eapply \
$(sed -e 's:^:debian/patches/:' debian/patches/series) \
"${FILESDIR}"/${P}-flags.patch
mv configure.in configure.ac || die
@@ -37,10 +41,11 @@ src_prepare() {
}
src_configure() {
- egamesconf $(use_enable nls)
+ econf $(use_enable nls)
}
src_install() {
default
- prepgamesdirs
+ doicon src/pixmaps/${PN}.xpm
+ make_desktop_entry ${PN} "Groundhog" /usr/share/pixmaps/${PN}.xpm
}