commit: 36ce83be8a80ec774affb91b7474e84361a49594 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> AuthorDate: Sat Nov 12 12:43:11 2016 +0000 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> CommitDate: Sat Nov 12 12:43:30 2016 +0000 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=36ce83be
games-board/aisleriot: cleanup old revision Package-Manager: portage-2.3.2 Manifest-Sign-Key: C6085806 games-board/aisleriot/aisleriot-3.20.2.ebuild | 89 ---------------------- .../files/aisleriot-3.16.2-detect-svg.patch | 28 ------- 2 files changed, 117 deletions(-) diff --git a/games-board/aisleriot/aisleriot-3.20.2.ebuild b/games-board/aisleriot/aisleriot-3.20.2.ebuild deleted file mode 100644 index dc2b6e1..0000000 --- a/games-board/aisleriot/aisleriot-3.20.2.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit autotools gnome2 - -DESCRIPTION="A collection of solitaire card games for GNOME" -HOMEPAGE="https://wiki.gnome.org/action/show/Apps/Aisleriot" - -LICENSE="GPL-3 LGPL-3 FDL-1.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug gnome qt4" - -# FIXME: quartz support? -# Does not build with guile-2.0.0 or 2.0.1 -COMMON_DEPEND=" - >=dev-libs/glib-2.32:2 - >=dev-scheme/guile-2.0.5:12[deprecated,regex] - >=gnome-base/librsvg-2.32:2 - >=media-libs/libcanberra-0.26[gtk3] - >=x11-libs/cairo-1.10 - >=x11-libs/gtk+-3.4:3 - gnome? ( >=gnome-base/gconf-2.0:2 ) - qt4? ( >=dev-qt/qtsvg-4.4:4 ) -" -DEPEND="${COMMON_DEPEND} - app-arch/gzip - dev-libs/libxml2 - >=dev-util/intltool-0.40.4 - dev-util/itstool - sys-apps/lsb-release - >=sys-devel/gettext-0.12 - virtual/pkgconfig - gnome? ( app-text/docbook-xml-dtd:4.3 ) -" -# dev-util/itstool really needed for help file generation -# >=app-text/yelp-tools-3.1.1 - -src_prepare() { - # Fix SVG detection and usage - eapply "${FILESDIR}"/${PN}-3.16.2-detect-svg.patch - - eautoreconf - gnome2_src_prepare -} - -src_configure() { - local myconf=() - - if use gnome; then - myconf+=( - --with-platform=gnome - --with-help-method=ghelp - ) - else - myconf+=( - --with-platform=gtk-only - --with-help-method=library - ) - fi - - if use qt4 ; then - myconf+=( - --with-card-theme-formats=all - --with-kde-card-theme-path="${EPREFIX}"/usr/share/apps/carddecks - ) - else - myconf+=( --with-card-theme-formats=svg,fixed,pysol ) - fi - - gnome2_src_configure \ - --with-gtk=3.0 \ - --with-guile=2.0 \ - $(usex debug --enable-debug=yes --enable-debug=minimum) \ - --enable-sound \ - --with-pysol-card-theme-path="${EPREFIX}${GAMES_DATADIR}"/pysolfc \ - GUILE=$(type -P guile-2.0) \ - ${myconf[@]} -} - -pkg_postinst() { - gnome2_pkg_postinst - - elog "Aisleriot can use additional card themes from games-board/pysolfc" - elog "and kde-base/libkdegames." -} diff --git a/games-board/aisleriot/files/aisleriot-3.16.2-detect-svg.patch b/games-board/aisleriot/files/aisleriot-3.16.2-detect-svg.patch deleted file mode 100644 index 2dd9001..0000000 --- a/games-board/aisleriot/files/aisleriot-3.16.2-detect-svg.patch +++ /dev/null @@ -1,28 +0,0 @@ -Do not require a particular SVG library unless actually found. - ---- a/configure.ac 2015-05-11 00:13:51.180002639 +0200 -+++ b/configure.ac 2015-05-11 00:13:40.365069049 +0200 -@@ -319,7 +319,9 @@ - - PKG_CHECK_EXISTS([librsvg-2.0 >= $RSVG_REQUIRED],[have_rsvg=yes],[have_rsvg=no]) - -- PKGS="$PKGS librsvg-2.0 >= $RSVG_REQUIRED cairo >= $CAIRO_REQUIRED" -+ if test "$have_rsvg" = "yes" ; then -+ PKGS="$PKGS librsvg-2.0 >= $RSVG_REQUIRED cairo >= $CAIRO_REQUIRED" -+ fi - - AC_DEFINE([HAVE_RSVG],[1],[Refine if librsvg is available]) - fi -@@ -334,8 +336,10 @@ - - PKG_CHECK_EXISTS([QtSvg >= $QT_SVG_REQUIRED],[have_qtsvg=yes],[have_qtsvg=no]) - -- PKGS="$PKGS QtSvg >= $QT_SVG_REQUIRED" -- EXTRA_CXX_LIBS="$EXTRA_CXX_LIBS -lstdc++" -+ if test "$have_qtsvg" = "yes" ; then -+ PKGS="$PKGS QtSvg >= $QT_SVG_REQUIRED" -+ EXTRA_CXX_LIBS="$EXTRA_CXX_LIBS -lstdc++" -+ fi - - AC_DEFINE([HAVE_QTSVG],[1],[Refine if QtSvg is available]) - fi
