1 |
commit: 795629e8e3040f4c60db7a265e51e89cb917f3a7 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 3 10:25:07 2017 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 3 10:25:07 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=795629e8 |
7 |
|
8 |
games-board/aisleriot: version bump 3.22.1 → 3.22.2 |
9 |
|
10 |
Add missing dependency on autoconf-archive, bug #627182. |
11 |
Add C++11 requirement due to Qt5, bug #617256. |
12 |
|
13 |
games-board/aisleriot/aisleriot-3.22.2.ebuild | 86 +++++++++++++++++++++++++++ |
14 |
1 file changed, 86 insertions(+) |
15 |
|
16 |
diff --git a/games-board/aisleriot/aisleriot-3.22.2.ebuild b/games-board/aisleriot/aisleriot-3.22.2.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000..9e0f323c |
19 |
--- /dev/null |
20 |
+++ b/games-board/aisleriot/aisleriot-3.22.2.ebuild |
21 |
@@ -0,0 +1,86 @@ |
22 |
+# Copyright 1999-2016 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Id$ |
25 |
+ |
26 |
+EAPI=6 |
27 |
+ |
28 |
+inherit autotools gnome2 |
29 |
+ |
30 |
+DESCRIPTION="A collection of solitaire card games for GNOME" |
31 |
+HOMEPAGE="https://wiki.gnome.org/action/show/Apps/Aisleriot" |
32 |
+ |
33 |
+LICENSE="GPL-3 LGPL-3 FDL-1.1" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~x86" |
36 |
+IUSE="debug gnome qt5" |
37 |
+ |
38 |
+# FIXME: quartz support? |
39 |
+# Does not build with guile-2.0.0 or 2.0.1 |
40 |
+COMMON_DEPEND=" |
41 |
+ >=dev-libs/glib-2.32:2 |
42 |
+ >=dev-scheme/guile-2.0.5:12[deprecated,regex] |
43 |
+ >=gnome-base/librsvg-2.32:2 |
44 |
+ >=media-libs/libcanberra-0.26[gtk3] |
45 |
+ >=x11-libs/cairo-1.10 |
46 |
+ >=x11-libs/gtk+-3.4:3 |
47 |
+ gnome? ( >=gnome-base/gconf-2.0:2 ) |
48 |
+ qt5? ( >=dev-qt/qtsvg-5:5 ) |
49 |
+" |
50 |
+DEPEND="${COMMON_DEPEND} |
51 |
+ app-arch/gzip |
52 |
+ app-text/yelp-tools |
53 |
+ >=dev-util/intltool-0.40.4 |
54 |
+ gnome-base/gnome-common |
55 |
+ sys-apps/lsb-release |
56 |
+ >=sys-devel/gettext-0.12 |
57 |
+ virtual/pkgconfig |
58 |
+ gnome? ( app-text/docbook-xml-dtd:4.3 ) |
59 |
+" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ # Fix SVG detection and usage |
63 |
+ eapply "${FILESDIR}"/${PN}-3.22.0-detect-svg.patch |
64 |
+ |
65 |
+ eautoreconf |
66 |
+ gnome2_src_prepare |
67 |
+} |
68 |
+ |
69 |
+src_configure() { |
70 |
+ local myconf=() |
71 |
+ |
72 |
+ if use gnome; then |
73 |
+ myconf+=( |
74 |
+ --with-platform=gnome |
75 |
+ --with-help-method=ghelp |
76 |
+ ) |
77 |
+ else |
78 |
+ myconf+=( |
79 |
+ --with-platform=gtk-only |
80 |
+ --with-help-method=library |
81 |
+ ) |
82 |
+ fi |
83 |
+ |
84 |
+ if use qt5 ; then |
85 |
+ myconf+=( |
86 |
+ --with-card-theme-formats=all |
87 |
+ --with-kde-card-theme-path="${EPREFIX}"/usr/share/apps/carddecks |
88 |
+ ) |
89 |
+ else |
90 |
+ myconf+=( --with-card-theme-formats=svg,fixed,pysol ) |
91 |
+ fi |
92 |
+ |
93 |
+ gnome2_src_configure \ |
94 |
+ --with-gtk=3.0 \ |
95 |
+ --with-guile=2.0 \ |
96 |
+ $(usex debug --enable-debug=yes --enable-debug=minimum) \ |
97 |
+ --enable-sound \ |
98 |
+ --with-pysol-card-theme-path="${EPREFIX}${GAMES_DATADIR}"/pysolfc \ |
99 |
+ ${myconf[@]} |
100 |
+} |
101 |
+ |
102 |
+pkg_postinst() { |
103 |
+ gnome2_pkg_postinst |
104 |
+ |
105 |
+ elog "Aisleriot can use additional card themes from games-board/pysolfc" |
106 |
+ elog "and kde-base/libkdegames." |
107 |
+} |