1 |
commit: 2bd5ae6c73645e1da9961bdbbd5002ac287b7229 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 30 11:37:21 2016 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 31 10:28:23 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=2bd5ae6c |
7 |
|
8 |
games-board/aisleriot: 3.20.2 → 3.22.0 |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
Manifest-Sign-Key: C6085806 |
12 |
|
13 |
...sleriot-9999.ebuild => aisleriot-3.22.0.ebuild} | 32 ++++++----------- |
14 |
games-board/aisleriot/aisleriot-9999.ebuild | 23 ++++++------- |
15 |
.../files/aisleriot-3.22.0-detect-svg.patch | 40 ++++++++++++++++++++++ |
16 |
3 files changed, 61 insertions(+), 34 deletions(-) |
17 |
|
18 |
diff --git a/games-board/aisleriot/aisleriot-9999.ebuild b/games-board/aisleriot/aisleriot-3.22.0.ebuild |
19 |
similarity index 75% |
20 |
copy from games-board/aisleriot/aisleriot-9999.ebuild |
21 |
copy to games-board/aisleriot/aisleriot-3.22.0.ebuild |
22 |
index 535d6b4..9e0f323 100644 |
23 |
--- a/games-board/aisleriot/aisleriot-9999.ebuild |
24 |
+++ b/games-board/aisleriot/aisleriot-3.22.0.ebuild |
25 |
@@ -1,26 +1,18 @@ |
26 |
-# Copyright 1999-2015 Gentoo Foundation |
27 |
+# Copyright 1999-2016 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
# $Id$ |
30 |
|
31 |
-EAPI="5" |
32 |
-GCONF_DEBUG="yes" |
33 |
+EAPI=6 |
34 |
|
35 |
-inherit autotools eutils gnome-games |
36 |
-if [[ ${PV} = 9999 ]]; then |
37 |
- inherit gnome2-live |
38 |
-fi |
39 |
+inherit autotools gnome2 |
40 |
|
41 |
DESCRIPTION="A collection of solitaire card games for GNOME" |
42 |
HOMEPAGE="https://wiki.gnome.org/action/show/Apps/Aisleriot" |
43 |
|
44 |
LICENSE="GPL-3 LGPL-3 FDL-1.1" |
45 |
SLOT="0" |
46 |
-if [[ ${PV} = 9999 ]]; then |
47 |
- KEYWORDS="" |
48 |
-else |
49 |
- KEYWORDS="~amd64 ~x86" |
50 |
-fi |
51 |
-IUSE="gnome qt4" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+IUSE="debug gnome qt5" |
54 |
|
55 |
# FIXME: quartz support? |
56 |
# Does not build with guile-2.0.0 or 2.0.1 |
57 |
@@ -32,24 +24,22 @@ COMMON_DEPEND=" |
58 |
>=x11-libs/cairo-1.10 |
59 |
>=x11-libs/gtk+-3.4:3 |
60 |
gnome? ( >=gnome-base/gconf-2.0:2 ) |
61 |
- qt4? ( >=dev-qt/qtsvg-4.4:4 ) |
62 |
+ qt5? ( >=dev-qt/qtsvg-5:5 ) |
63 |
" |
64 |
DEPEND="${COMMON_DEPEND} |
65 |
app-arch/gzip |
66 |
- dev-libs/libxml2 |
67 |
+ app-text/yelp-tools |
68 |
>=dev-util/intltool-0.40.4 |
69 |
- dev-util/itstool |
70 |
+ gnome-base/gnome-common |
71 |
sys-apps/lsb-release |
72 |
>=sys-devel/gettext-0.12 |
73 |
virtual/pkgconfig |
74 |
gnome? ( app-text/docbook-xml-dtd:4.3 ) |
75 |
" |
76 |
-# dev-util/itstool really needed for help file generation |
77 |
-# >=app-text/yelp-tools-3.1.1 |
78 |
|
79 |
src_prepare() { |
80 |
# Fix SVG detection and usage |
81 |
- epatch "${FILESDIR}"/${PN}-3.16.2-detect-svg.patch |
82 |
+ eapply "${FILESDIR}"/${PN}-3.22.0-detect-svg.patch |
83 |
|
84 |
eautoreconf |
85 |
gnome2_src_prepare |
86 |
@@ -70,7 +60,7 @@ src_configure() { |
87 |
) |
88 |
fi |
89 |
|
90 |
- if use qt4 ; then |
91 |
+ if use qt5 ; then |
92 |
myconf+=( |
93 |
--with-card-theme-formats=all |
94 |
--with-kde-card-theme-path="${EPREFIX}"/usr/share/apps/carddecks |
95 |
@@ -82,9 +72,9 @@ src_configure() { |
96 |
gnome2_src_configure \ |
97 |
--with-gtk=3.0 \ |
98 |
--with-guile=2.0 \ |
99 |
+ $(usex debug --enable-debug=yes --enable-debug=minimum) \ |
100 |
--enable-sound \ |
101 |
--with-pysol-card-theme-path="${EPREFIX}${GAMES_DATADIR}"/pysolfc \ |
102 |
- GUILE=$(type -P guile-2.0) \ |
103 |
${myconf[@]} |
104 |
} |
105 |
|
106 |
|
107 |
diff --git a/games-board/aisleriot/aisleriot-9999.ebuild b/games-board/aisleriot/aisleriot-9999.ebuild |
108 |
index 535d6b4..77df6e2 100644 |
109 |
--- a/games-board/aisleriot/aisleriot-9999.ebuild |
110 |
+++ b/games-board/aisleriot/aisleriot-9999.ebuild |
111 |
@@ -1,11 +1,10 @@ |
112 |
-# Copyright 1999-2015 Gentoo Foundation |
113 |
+# Copyright 1999-2016 Gentoo Foundation |
114 |
# Distributed under the terms of the GNU General Public License v2 |
115 |
# $Id$ |
116 |
|
117 |
-EAPI="5" |
118 |
-GCONF_DEBUG="yes" |
119 |
+EAPI=6 |
120 |
|
121 |
-inherit autotools eutils gnome-games |
122 |
+inherit autotools gnome2 |
123 |
if [[ ${PV} = 9999 ]]; then |
124 |
inherit gnome2-live |
125 |
fi |
126 |
@@ -20,7 +19,7 @@ if [[ ${PV} = 9999 ]]; then |
127 |
else |
128 |
KEYWORDS="~amd64 ~x86" |
129 |
fi |
130 |
-IUSE="gnome qt4" |
131 |
+IUSE="debug gnome qt5" |
132 |
|
133 |
# FIXME: quartz support? |
134 |
# Does not build with guile-2.0.0 or 2.0.1 |
135 |
@@ -32,24 +31,22 @@ COMMON_DEPEND=" |
136 |
>=x11-libs/cairo-1.10 |
137 |
>=x11-libs/gtk+-3.4:3 |
138 |
gnome? ( >=gnome-base/gconf-2.0:2 ) |
139 |
- qt4? ( >=dev-qt/qtsvg-4.4:4 ) |
140 |
+ qt5? ( >=dev-qt/qtsvg-5:5 ) |
141 |
" |
142 |
DEPEND="${COMMON_DEPEND} |
143 |
app-arch/gzip |
144 |
- dev-libs/libxml2 |
145 |
+ app-text/yelp-tools |
146 |
>=dev-util/intltool-0.40.4 |
147 |
- dev-util/itstool |
148 |
+ gnome-base/gnome-common |
149 |
sys-apps/lsb-release |
150 |
>=sys-devel/gettext-0.12 |
151 |
virtual/pkgconfig |
152 |
gnome? ( app-text/docbook-xml-dtd:4.3 ) |
153 |
" |
154 |
-# dev-util/itstool really needed for help file generation |
155 |
-# >=app-text/yelp-tools-3.1.1 |
156 |
|
157 |
src_prepare() { |
158 |
# Fix SVG detection and usage |
159 |
- epatch "${FILESDIR}"/${PN}-3.16.2-detect-svg.patch |
160 |
+ eapply "${FILESDIR}"/${PN}-3.22.0-detect-svg.patch |
161 |
|
162 |
eautoreconf |
163 |
gnome2_src_prepare |
164 |
@@ -70,7 +67,7 @@ src_configure() { |
165 |
) |
166 |
fi |
167 |
|
168 |
- if use qt4 ; then |
169 |
+ if use qt5 ; then |
170 |
myconf+=( |
171 |
--with-card-theme-formats=all |
172 |
--with-kde-card-theme-path="${EPREFIX}"/usr/share/apps/carddecks |
173 |
@@ -82,9 +79,9 @@ src_configure() { |
174 |
gnome2_src_configure \ |
175 |
--with-gtk=3.0 \ |
176 |
--with-guile=2.0 \ |
177 |
+ $(usex debug --enable-debug=yes --enable-debug=minimum) \ |
178 |
--enable-sound \ |
179 |
--with-pysol-card-theme-path="${EPREFIX}${GAMES_DATADIR}"/pysolfc \ |
180 |
- GUILE=$(type -P guile-2.0) \ |
181 |
${myconf[@]} |
182 |
} |
183 |
|
184 |
|
185 |
diff --git a/games-board/aisleriot/files/aisleriot-3.22.0-detect-svg.patch b/games-board/aisleriot/files/aisleriot-3.22.0-detect-svg.patch |
186 |
new file mode 100644 |
187 |
index 0000000..827abcf |
188 |
--- /dev/null |
189 |
+++ b/games-board/aisleriot/files/aisleriot-3.22.0-detect-svg.patch |
190 |
@@ -0,0 +1,40 @@ |
191 |
+From f8dfa11c318c33847670cd06a43dd5b19f1d5231 Mon Sep 17 00:00:00 2001 |
192 |
+From: Gilles Dartiguelongue <eva@g.o> |
193 |
+Date: Mon, 31 Oct 2016 11:23:30 +0100 |
194 |
+Subject: [PATCH] Do not require a particular SVG library unless actually found |
195 |
+ |
196 |
+--- |
197 |
+ configure.ac | 10 +++++++--- |
198 |
+ 1 file changed, 7 insertions(+), 3 deletions(-) |
199 |
+ |
200 |
+diff --git a/configure.ac b/configure.ac |
201 |
+index 8c4a38e..06e174f 100644 |
202 |
+--- a/configure.ac |
203 |
++++ b/configure.ac |
204 |
+@@ -325,7 +325,9 @@ if test "$need_rsvg" = "yes"; then |
205 |
+ |
206 |
+ PKG_CHECK_EXISTS([librsvg-2.0 >= $RSVG_REQUIRED],[have_rsvg=yes],[have_rsvg=no]) |
207 |
+ |
208 |
+- PKGS="$PKGS librsvg-2.0 >= $RSVG_REQUIRED cairo >= $CAIRO_REQUIRED" |
209 |
++ if test "$have_rsvg" = "yes" ; then |
210 |
++ PKGS="$PKGS librsvg-2.0 >= $RSVG_REQUIRED cairo >= $CAIRO_REQUIRED" |
211 |
++ fi |
212 |
+ |
213 |
+ AC_DEFINE([HAVE_RSVG],[1],[Refine if librsvg is available]) |
214 |
+ fi |
215 |
+@@ -340,8 +342,10 @@ if test "$need_qtsvg" = "yes"; then |
216 |
+ |
217 |
+ PKG_CHECK_EXISTS([Qt5Svg >= $QT_SVG_REQUIRED],[have_qtsvg=yes],[have_qtsvg=no]) |
218 |
+ |
219 |
+- PKGS="$PKGS Qt5Svg >= $QT_SVG_REQUIRED" |
220 |
+- EXTRA_CXX_LIBS="$EXTRA_CXX_LIBS -lstdc++" |
221 |
++ if test "$have_qtsvg" = "yes" ; then |
222 |
++ PKGS="$PKGS Qt5Svg >= $QT_SVG_REQUIRED" |
223 |
++ EXTRA_CXX_LIBS="$EXTRA_CXX_LIBS -lstdc++" |
224 |
++ fi |
225 |
+ |
226 |
+ AC_DEFINE([HAVE_QTSVG],[1],[Refine if QtSvg is available]) |
227 |
+ fi |
228 |
+-- |
229 |
+2.10.1 |
230 |
+ |