1 |
commit: f15a11a81963166b85224a77685ed5ba6d391639 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 25 14:42:18 2015 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 25 14:42:18 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=f15a11a8 |
7 |
|
8 |
games-board/aisleriot: version bump to 3.18.2 |
9 |
|
10 |
Package-Manager: portage-2.2.25 |
11 |
RepoMan-Options: --force |
12 |
Manifest-Sign-Key: C6085806 |
13 |
|
14 |
games-board/aisleriot/aisleriot-3.18.2.ebuild | 89 +++++++++++++++++++++++++++ |
15 |
1 file changed, 89 insertions(+) |
16 |
|
17 |
diff --git a/games-board/aisleriot/aisleriot-3.18.2.ebuild b/games-board/aisleriot/aisleriot-3.18.2.ebuild |
18 |
new file mode 100644 |
19 |
index 0000000..e7535d4 |
20 |
--- /dev/null |
21 |
+++ b/games-board/aisleriot/aisleriot-3.18.2.ebuild |
22 |
@@ -0,0 +1,89 @@ |
23 |
+# Copyright 1999-2015 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+# $Id$ |
26 |
+ |
27 |
+EAPI="5" |
28 |
+GCONF_DEBUG="yes" |
29 |
+ |
30 |
+inherit autotools eutils gnome-games |
31 |
+ |
32 |
+DESCRIPTION="A collection of solitaire card games for GNOME" |
33 |
+HOMEPAGE="https://wiki.gnome.org/action/show/Apps/Aisleriot" |
34 |
+ |
35 |
+LICENSE="GPL-3 LGPL-3 FDL-1.1" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~x86" |
38 |
+IUSE="gnome qt4" |
39 |
+ |
40 |
+# FIXME: quartz support? |
41 |
+# Does not build with guile-2.0.0 or 2.0.1 |
42 |
+COMMON_DEPEND=" |
43 |
+ >=dev-libs/glib-2.32:2 |
44 |
+ >=dev-scheme/guile-2.0.5:2[deprecated,regex] |
45 |
+ >=gnome-base/librsvg-2.32:2 |
46 |
+ >=media-libs/libcanberra-0.26[gtk3] |
47 |
+ >=x11-libs/cairo-1.10 |
48 |
+ >=x11-libs/gtk+-3.4:3 |
49 |
+ gnome? ( >=gnome-base/gconf-2.0:2 ) |
50 |
+ qt4? ( >=dev-qt/qtsvg-4.4:4 ) |
51 |
+" |
52 |
+DEPEND="${COMMON_DEPEND} |
53 |
+ app-arch/gzip |
54 |
+ dev-libs/libxml2 |
55 |
+ >=dev-util/intltool-0.40.4 |
56 |
+ dev-util/itstool |
57 |
+ sys-apps/lsb-release |
58 |
+ >=sys-devel/gettext-0.12 |
59 |
+ virtual/pkgconfig |
60 |
+ gnome? ( app-text/docbook-xml-dtd:4.3 ) |
61 |
+" |
62 |
+# dev-util/itstool really needed for help file generation |
63 |
+# >=app-text/yelp-tools-3.1.1 |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ # Fix SVG detection and usage |
67 |
+ epatch "${FILESDIR}"/${PN}-3.16.2-detect-svg.patch |
68 |
+ |
69 |
+ eautoreconf |
70 |
+ gnome2_src_prepare |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ local myconf=() |
75 |
+ |
76 |
+ if use gnome; then |
77 |
+ myconf+=( |
78 |
+ --with-platform=gnome |
79 |
+ --with-help-method=ghelp |
80 |
+ ) |
81 |
+ else |
82 |
+ myconf+=( |
83 |
+ --with-platform=gtk-only |
84 |
+ --with-help-method=library |
85 |
+ ) |
86 |
+ fi |
87 |
+ |
88 |
+ if use qt4 ; then |
89 |
+ myconf+=( |
90 |
+ --with-card-theme-formats=all |
91 |
+ --with-kde-card-theme-path="${EPREFIX}"/usr/share/apps/carddecks |
92 |
+ ) |
93 |
+ else |
94 |
+ myconf+=( --with-card-theme-formats=svg,fixed,pysol ) |
95 |
+ fi |
96 |
+ |
97 |
+ gnome2_src_configure \ |
98 |
+ --with-gtk=3.0 \ |
99 |
+ --with-guile=2.0 \ |
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 |
+pkg_postinst() { |
107 |
+ gnome2_pkg_postinst |
108 |
+ |
109 |
+ elog "Aisleriot can use additional card themes from games-board/pysolfc" |
110 |
+ elog "and kde-base/libkdegames." |
111 |
+} |