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/, dev-util/gnome-devel-docs/
Date: Mon, 19 Nov 2018 16:00:27
Message-Id: 1542643216.581d45ea65532745bf2ab0fccb07b955ad4288c9.eva@gentoo
1 commit: 581d45ea65532745bf2ab0fccb07b955ad4288c9
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 19 15:54:19 2018 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 19 16:00:16 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=581d45ea
7
8 dev-util/gnome-devel-docs: moved to gentoo repository
9
10 Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org>
11
12 .../gnome-devel-docs-3.26.0.ebuild | 31 --------
13 dev-util/gnome-devel-docs/metadata.xml | 8 --
14 games-board/aisleriot/aisleriot-3.22.7.ebuild | 87 ++++++++++++++++++++++
15 3 files changed, 87 insertions(+), 39 deletions(-)
16
17 diff --git a/dev-util/gnome-devel-docs/gnome-devel-docs-3.26.0.ebuild b/dev-util/gnome-devel-docs/gnome-devel-docs-3.26.0.ebuild
18 deleted file mode 100644
19 index 27e5133e..00000000
20 --- a/dev-util/gnome-devel-docs/gnome-devel-docs-3.26.0.ebuild
21 +++ /dev/null
22 @@ -1,31 +0,0 @@
23 -# Copyright 1999-2018 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=6
27 -inherit gnome2
28 -
29 -DESCRIPTION="Documentation for developing for the GNOME desktop environment"
30 -HOMEPAGE="https://developer.gnome.org/"
31 -
32 -LICENSE="FDL-1.1+ CC-BY-SA-3.0 CC-BY-SA-4.0"
33 -SLOT="0"
34 -KEYWORDS="~amd64 ~ppc ~x86"
35 -IUSE=""
36 -
37 -RDEPEND=""
38 -DEPEND="
39 - app-text/docbook-xml-dtd:4.1.2
40 - app-text/docbook-xml-dtd:4.2
41 - app-text/yelp-tools
42 - dev-libs/libxslt
43 - sys-devel/gettext
44 - virtual/pkgconfig
45 -"
46 -
47 -# This ebuild does not install any binaries
48 -RESTRICT="binchecks strip"
49 -
50 -src_configure() {
51 - # Wants to build demo samples
52 - gnome2_src_configure ac_cv_path_CC=""
53 -}
54
55 diff --git a/dev-util/gnome-devel-docs/metadata.xml b/dev-util/gnome-devel-docs/metadata.xml
56 deleted file mode 100644
57 index 39980802..00000000
58 --- a/dev-util/gnome-devel-docs/metadata.xml
59 +++ /dev/null
60 @@ -1,8 +0,0 @@
61 -<?xml version="1.0" encoding="UTF-8"?>
62 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
63 -<pkgmetadata>
64 -<maintainer type="project">
65 - <email>gnome@g.o</email>
66 - <name>Gentoo GNOME Desktop</name>
67 -</maintainer>
68 -</pkgmetadata>
69
70 diff --git a/games-board/aisleriot/aisleriot-3.22.7.ebuild b/games-board/aisleriot/aisleriot-3.22.7.ebuild
71 new file mode 100644
72 index 00000000..5f9a65ab
73 --- /dev/null
74 +++ b/games-board/aisleriot/aisleriot-3.22.7.ebuild
75 @@ -0,0 +1,87 @@
76 +# Copyright 1999-2018 Gentoo Foundation
77 +# Distributed under the terms of the GNU General Public License v2
78 +
79 +EAPI=6
80 +GNOME2_EAUTORECONF="yes"
81 +
82 +inherit gnome2
83 +
84 +DESCRIPTION="A collection of solitaire card games for GNOME"
85 +HOMEPAGE="https://wiki.gnome.org/action/show/Apps/Aisleriot"
86 +
87 +LICENSE="GPL-3 LGPL-3 FDL-1.3"
88 +SLOT="0"
89 +KEYWORDS="~amd64 ~x86"
90 +IUSE="debug gnome qt5"
91 +
92 +# FIXME: quartz support?
93 +# Does not build with guile-2.0.0 or 2.0.1
94 +COMMON_DEPEND="
95 + >=dev-libs/glib-2.32:2
96 + >=dev-scheme/guile-2.0.5:12[deprecated,regex]
97 + <dev-scheme/guile-2.1
98 + >=gnome-base/librsvg-2.32:2
99 + >=media-libs/libcanberra-0.26[gtk3]
100 + >=x11-libs/cairo-1.10
101 + >=x11-libs/gtk+-3.4:3
102 + gnome? ( >=gnome-base/gconf-2.0:2 )
103 + qt5? ( >=dev-qt/qtsvg-5:5 )
104 +"
105 +DEPEND="${COMMON_DEPEND}
106 + app-arch/gzip
107 + app-text/yelp-tools
108 + >=dev-util/intltool-0.40.4
109 + gnome-base/gnome-common
110 + sys-apps/lsb-release
111 + sys-devel/autoconf-archive
112 + >=sys-devel/gettext-0.12
113 + virtual/pkgconfig
114 + gnome? ( app-text/docbook-xml-dtd:4.3 )
115 +"
116 +
117 +PATCHES=(
118 + # Fix SVG detection and usage
119 + "${FILESDIR}"/${PN}-3.22.0-detect-svg.patch
120 + # Fix build with Qt5, bug #617256
121 + "${FILESDIR}"/${PN}-3.22.2-qt5-requires-cxx11.patch
122 +)
123 +
124 +src_configure() {
125 + local myconf=()
126 +
127 + if use gnome; then
128 + myconf+=(
129 + --with-platform=gnome
130 + --with-help-method=ghelp
131 + )
132 + else
133 + myconf+=(
134 + --with-platform=gtk-only
135 + --with-help-method=library
136 + )
137 + fi
138 +
139 + if use qt5 ; then
140 + myconf+=(
141 + --with-card-theme-formats=all
142 + --with-kde-card-theme-path="${EPREFIX}"/usr/share/apps/carddecks
143 + )
144 + else
145 + myconf+=( --with-card-theme-formats=svg,fixed,pysol )
146 + fi
147 +
148 + gnome2_src_configure \
149 + --with-gtk=3.0 \
150 + --with-guile=2.0 \
151 + $(usex debug --enable-debug=yes --enable-debug=minimum) \
152 + --enable-sound \
153 + --with-pysol-card-theme-path="${EPREFIX}${GAMES_DATADIR}"/pysolfc \
154 + ${myconf[@]}
155 +}
156 +
157 +pkg_postinst() {
158 + gnome2_pkg_postinst
159 +
160 + elog "Aisleriot can use additional card themes from games-board/pysolfc"
161 + elog "and kde-base/libkdegames."
162 +}