Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/gfifteen/
Date: Tue, 13 Jul 2021 16:11:31
Message-Id: 1626192463.61d64cb25affe8e5fcebf4a032a4a4c680f37846.ionen@gentoo
1 commit: 61d64cb25affe8e5fcebf4a032a4a4c680f37846
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 13 13:39:04 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 13 16:07:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61d64cb2
7
8 games-puzzle/gfifteen: EAPI 6->8, tighten deps, remove homepage
9
10 Non-https HOMEPAGE redirects to another (wrong) site, and
11 https is unresponsive. Does not seem to be a replacement.
12
13 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
14
15 games-puzzle/gfifteen/gfifteen-1.0.3-r1.ebuild | 49 --------------------------
16 games-puzzle/gfifteen/gfifteen-1.0.3-r2.ebuild | 39 ++++++++++++++++++++
17 2 files changed, 39 insertions(+), 49 deletions(-)
18
19 diff --git a/games-puzzle/gfifteen/gfifteen-1.0.3-r1.ebuild b/games-puzzle/gfifteen/gfifteen-1.0.3-r1.ebuild
20 deleted file mode 100644
21 index 863fc84ff7f..00000000000
22 --- a/games-puzzle/gfifteen/gfifteen-1.0.3-r1.ebuild
23 +++ /dev/null
24 @@ -1,49 +0,0 @@
25 -# Copyright 1999-2018 Gentoo Foundation
26 -# Distributed under the terms of the GNU General Public License v2
27 -
28 -EAPI=6
29 -inherit desktop gnome2-utils
30 -
31 -DESCRIPTION="Graphical implementation of the sliding puzzle game fifteen"
32 -HOMEPAGE="https://frigidcode.com/code/gfifteen/"
33 -SRC_URI="https://frigidcode.com/code/gfifteen/${P}.tar.gz"
34 -
35 -LICENSE="GPL-3"
36 -SLOT="0"
37 -KEYWORDS="~amd64 ~x86"
38 -IUSE=""
39 -
40 -RDEPEND="x11-libs/gtk+:3"
41 -DEPEND="${RDEPEND}
42 - virtual/pkgconfig
43 -"
44 -
45 -src_prepare() {
46 - default
47 - # make it compile against newer gtk+:3 (bug #536994)
48 - sed -i \
49 - -e 's/-DGTK_DISABLE_DEPRECATED=1 //' \
50 - Makefile.in || die
51 -}
52 -
53 -src_configure() {
54 - econf --disable-assembly
55 -}
56 -
57 -src_install() {
58 - default
59 - doicon -s scalable ${PN}.svg
60 - domenu gfifteen.desktop
61 -}
62 -
63 -pkg_preinst() {
64 - gnome2_icon_savelist
65 -}
66 -
67 -pkg_postinst() {
68 - gnome2_icon_cache_update
69 -}
70 -
71 -pkg_postrm() {
72 - gnome2_icon_cache_update
73 -}
74
75 diff --git a/games-puzzle/gfifteen/gfifteen-1.0.3-r2.ebuild b/games-puzzle/gfifteen/gfifteen-1.0.3-r2.ebuild
76 new file mode 100644
77 index 00000000000..d5c8a049704
78 --- /dev/null
79 +++ b/games-puzzle/gfifteen/gfifteen-1.0.3-r2.ebuild
80 @@ -0,0 +1,39 @@
81 +# Copyright 1999-2021 Gentoo Authors
82 +# Distributed under the terms of the GNU General Public License v2
83 +
84 +EAPI=8
85 +
86 +inherit desktop
87 +
88 +DESCRIPTION="Graphical implementation of the sliding puzzle game fifteen"
89 +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
90 +SRC_URI="mirror://gentoo/${P}.tar.gz"
91 +
92 +LICENSE="GPL-3+"
93 +SLOT="0"
94 +KEYWORDS="~amd64 ~x86"
95 +
96 +RDEPEND="
97 + dev-libs/glib:2
98 + x11-libs/cairo
99 + x11-libs/gtk+:3"
100 +DEPEND="${RDEPEND}"
101 +BDEPEND="virtual/pkgconfig"
102 +
103 +src_prepare() {
104 + default
105 +
106 + # allow using newer gtk+:3 (bug #536994)
107 + sed -i 's/-DGTK_DISABLE_DEPRECATED=1 //' Makefile.in || die
108 +}
109 +
110 +src_configure() {
111 + econf --disable-assembly
112 +}
113 +
114 +src_install() {
115 + default
116 +
117 + doicon ${PN}.svg
118 + domenu gfifteen.desktop
119 +}