Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: games-board/aisleriot/
Date: Sun, 03 Sep 2017 10:30:28
Message-Id: 1504434470.5a9a794f707f4c7e851ba1400f8a12136ee1a2a8.eva@gentoo
1 commit: 5a9a794f707f4c7e851ba1400f8a12136ee1a2a8
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 3 10:27:50 2017 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 3 10:27:50 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=5a9a794f
7
8 games-board/aisleriot: cleanup old revisions
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11 Manifest-Sign-Key: 0x5A56C8CD0C13248A
12
13 games-board/aisleriot/aisleriot-3.22.0.ebuild | 86 ---------------------------
14 games-board/aisleriot/aisleriot-3.22.1.ebuild | 86 ---------------------------
15 2 files changed, 172 deletions(-)
16
17 diff --git a/games-board/aisleriot/aisleriot-3.22.0.ebuild b/games-board/aisleriot/aisleriot-3.22.0.ebuild
18 deleted file mode 100644
19 index 9e0f323c..00000000
20 --- a/games-board/aisleriot/aisleriot-3.22.0.ebuild
21 +++ /dev/null
22 @@ -1,86 +0,0 @@
23 -# Copyright 1999-2016 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Id$
26 -
27 -EAPI=6
28 -
29 -inherit autotools gnome2
30 -
31 -DESCRIPTION="A collection of solitaire card games for GNOME"
32 -HOMEPAGE="https://wiki.gnome.org/action/show/Apps/Aisleriot"
33 -
34 -LICENSE="GPL-3 LGPL-3 FDL-1.1"
35 -SLOT="0"
36 -KEYWORDS="~amd64 ~x86"
37 -IUSE="debug gnome qt5"
38 -
39 -# FIXME: quartz support?
40 -# Does not build with guile-2.0.0 or 2.0.1
41 -COMMON_DEPEND="
42 - >=dev-libs/glib-2.32:2
43 - >=dev-scheme/guile-2.0.5:12[deprecated,regex]
44 - >=gnome-base/librsvg-2.32:2
45 - >=media-libs/libcanberra-0.26[gtk3]
46 - >=x11-libs/cairo-1.10
47 - >=x11-libs/gtk+-3.4:3
48 - gnome? ( >=gnome-base/gconf-2.0:2 )
49 - qt5? ( >=dev-qt/qtsvg-5:5 )
50 -"
51 -DEPEND="${COMMON_DEPEND}
52 - app-arch/gzip
53 - app-text/yelp-tools
54 - >=dev-util/intltool-0.40.4
55 - gnome-base/gnome-common
56 - sys-apps/lsb-release
57 - >=sys-devel/gettext-0.12
58 - virtual/pkgconfig
59 - gnome? ( app-text/docbook-xml-dtd:4.3 )
60 -"
61 -
62 -src_prepare() {
63 - # Fix SVG detection and usage
64 - eapply "${FILESDIR}"/${PN}-3.22.0-detect-svg.patch
65 -
66 - eautoreconf
67 - gnome2_src_prepare
68 -}
69 -
70 -src_configure() {
71 - local myconf=()
72 -
73 - if use gnome; then
74 - myconf+=(
75 - --with-platform=gnome
76 - --with-help-method=ghelp
77 - )
78 - else
79 - myconf+=(
80 - --with-platform=gtk-only
81 - --with-help-method=library
82 - )
83 - fi
84 -
85 - if use qt5 ; then
86 - myconf+=(
87 - --with-card-theme-formats=all
88 - --with-kde-card-theme-path="${EPREFIX}"/usr/share/apps/carddecks
89 - )
90 - else
91 - myconf+=( --with-card-theme-formats=svg,fixed,pysol )
92 - fi
93 -
94 - gnome2_src_configure \
95 - --with-gtk=3.0 \
96 - --with-guile=2.0 \
97 - $(usex debug --enable-debug=yes --enable-debug=minimum) \
98 - --enable-sound \
99 - --with-pysol-card-theme-path="${EPREFIX}${GAMES_DATADIR}"/pysolfc \
100 - ${myconf[@]}
101 -}
102 -
103 -pkg_postinst() {
104 - gnome2_pkg_postinst
105 -
106 - elog "Aisleriot can use additional card themes from games-board/pysolfc"
107 - elog "and kde-base/libkdegames."
108 -}
109
110 diff --git a/games-board/aisleriot/aisleriot-3.22.1.ebuild b/games-board/aisleriot/aisleriot-3.22.1.ebuild
111 deleted file mode 100644
112 index 9e0f323c..00000000
113 --- a/games-board/aisleriot/aisleriot-3.22.1.ebuild
114 +++ /dev/null
115 @@ -1,86 +0,0 @@
116 -# Copyright 1999-2016 Gentoo Foundation
117 -# Distributed under the terms of the GNU General Public License v2
118 -# $Id$
119 -
120 -EAPI=6
121 -
122 -inherit autotools gnome2
123 -
124 -DESCRIPTION="A collection of solitaire card games for GNOME"
125 -HOMEPAGE="https://wiki.gnome.org/action/show/Apps/Aisleriot"
126 -
127 -LICENSE="GPL-3 LGPL-3 FDL-1.1"
128 -SLOT="0"
129 -KEYWORDS="~amd64 ~x86"
130 -IUSE="debug gnome qt5"
131 -
132 -# FIXME: quartz support?
133 -# Does not build with guile-2.0.0 or 2.0.1
134 -COMMON_DEPEND="
135 - >=dev-libs/glib-2.32:2
136 - >=dev-scheme/guile-2.0.5:12[deprecated,regex]
137 - >=gnome-base/librsvg-2.32:2
138 - >=media-libs/libcanberra-0.26[gtk3]
139 - >=x11-libs/cairo-1.10
140 - >=x11-libs/gtk+-3.4:3
141 - gnome? ( >=gnome-base/gconf-2.0:2 )
142 - qt5? ( >=dev-qt/qtsvg-5:5 )
143 -"
144 -DEPEND="${COMMON_DEPEND}
145 - app-arch/gzip
146 - app-text/yelp-tools
147 - >=dev-util/intltool-0.40.4
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 -
155 -src_prepare() {
156 - # Fix SVG detection and usage
157 - eapply "${FILESDIR}"/${PN}-3.22.0-detect-svg.patch
158 -
159 - eautoreconf
160 - gnome2_src_prepare
161 -}
162 -
163 -src_configure() {
164 - local myconf=()
165 -
166 - if use gnome; then
167 - myconf+=(
168 - --with-platform=gnome
169 - --with-help-method=ghelp
170 - )
171 - else
172 - myconf+=(
173 - --with-platform=gtk-only
174 - --with-help-method=library
175 - )
176 - fi
177 -
178 - if use qt5 ; then
179 - myconf+=(
180 - --with-card-theme-formats=all
181 - --with-kde-card-theme-path="${EPREFIX}"/usr/share/apps/carddecks
182 - )
183 - else
184 - myconf+=( --with-card-theme-formats=svg,fixed,pysol )
185 - fi
186 -
187 - gnome2_src_configure \
188 - --with-gtk=3.0 \
189 - --with-guile=2.0 \
190 - $(usex debug --enable-debug=yes --enable-debug=minimum) \
191 - --enable-sound \
192 - --with-pysol-card-theme-path="${EPREFIX}${GAMES_DATADIR}"/pysolfc \
193 - ${myconf[@]}
194 -}
195 -
196 -pkg_postinst() {
197 - gnome2_pkg_postinst
198 -
199 - elog "Aisleriot can use additional card themes from games-board/pysolfc"
200 - elog "and kde-base/libkdegames."
201 -}