summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-10-02 13:57:55 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-10-02 13:57:55 +0100
commitcfb8a06fa35b96d271d35d45a0a43f45e452a44a (patch)
tree6ed0a12b8756d187f55c135ee87a8de1d33c74ab
parent6cd0dbec00dcb6dc6ee6f3b7d613f42ffd8af102 (diff)
bump aisleriot
-rw-r--r--games-board/aisleriot/Manifest1
-rw-r--r--games-board/aisleriot/aisleriot-3.20.2.ebuild89
2 files changed, 90 insertions, 0 deletions
diff --git a/games-board/aisleriot/Manifest b/games-board/aisleriot/Manifest
index e2019ae9..4dd15a66 100644
--- a/games-board/aisleriot/Manifest
+++ b/games-board/aisleriot/Manifest
@@ -1 +1,2 @@
DIST aisleriot-3.18.2.tar.xz 6322512 SHA256 0bac8ba11ce37e4e7beddcd173f55ac1630a425399cfabb57e0e500886642fe3 SHA512 28623883e3e11a206b8be52a8b52376ebd3af5bf288cd2bac13d0bee25f4df68cca09667bc4e2f366048d6d7e88f65fa2637f4534a1f45b4ea5d45a98cb7ab50 WHIRLPOOL 25f90e5840c828b496c67f39e607ff1c798a0dbdb9983dac87f9f83c8dbf3b354571d4515182151e47f374e1d29aed68a460279d9e6fb8f20478e569214e1c9b
+DIST aisleriot-3.20.2.tar.xz 6329212 SHA256 62036bdc69f8ae63a4405b4dd530a3def2958d5075b4e0a7caeb91fad789176e SHA512 017f98af29ba21867592a0349daf5b32db9f182ff0e5699c045bbf8270ebb76942e9c862541920f45e02764cdf5153d700c7847579e06763b7bb6f1307d92d8f WHIRLPOOL 24476f9ace152547ef75cc2578c35c58f59309eec9e28d0cf8e87a514a1f4fbdd2d7be95fd8a84a67bcf665f89e267168a30ddcb2d194caac46111a7ffedf143
diff --git a/games-board/aisleriot/aisleriot-3.20.2.ebuild b/games-board/aisleriot/aisleriot-3.20.2.ebuild
new file mode 100644
index 00000000..ca314553
--- /dev/null
+++ b/games-board/aisleriot/aisleriot-3.20.2.ebuild
@@ -0,0 +1,89 @@
+# 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[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."
+}