summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2011-11-07 04:02:29 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2011-11-07 04:02:29 +0000
commit7833ac19795272d03bee07a213087e41837854a3 (patch)
treee36584254a02681f6a554a533705161fba7fb258 /games-board/aisleriot
parentversion bump, bug #353013. (diff)
downloadgentoo-2-7833ac19795272d03bee07a213087e41837854a3.tar.gz
gentoo-2-7833ac19795272d03bee07a213087e41837854a3.tar.bz2
gentoo-2-7833ac19795272d03bee07a213087e41837854a3.zip
Add the gnome solitaire game collection from the gnome overlay. Formerly a part of gnome-extra/gnome-games, now split off into a separate package.
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
Diffstat (limited to 'games-board/aisleriot')
-rw-r--r--games-board/aisleriot/ChangeLog11
-rw-r--r--games-board/aisleriot/aisleriot-3.2.1.ebuild70
-rw-r--r--games-board/aisleriot/metadata.xml5
3 files changed, 86 insertions, 0 deletions
diff --git a/games-board/aisleriot/ChangeLog b/games-board/aisleriot/ChangeLog
new file mode 100644
index 000000000000..1cbf1011df71
--- /dev/null
+++ b/games-board/aisleriot/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-board/aisleriot
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/aisleriot/ChangeLog,v 1.1 2011/11/07 04:02:29 tetromino Exp $
+
+*aisleriot-3.2.1 (07 Nov 2011)
+
+ 07 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +aisleriot-3.2.1.ebuild, +metadata.xml:
+ Add the gnome solitaire game collection from the gnome overlay. Formerly a
+ part of gnome-extra/gnome-games, now split off into a separate package.
+
diff --git a/games-board/aisleriot/aisleriot-3.2.1.ebuild b/games-board/aisleriot/aisleriot-3.2.1.ebuild
new file mode 100644
index 000000000000..91af03b754d3
--- /dev/null
+++ b/games-board/aisleriot/aisleriot-3.2.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/aisleriot/aisleriot-3.2.1.ebuild,v 1.1 2011/11/07 04:02:29 tetromino Exp $
+
+EAPI="3"
+GNOME_TARBALL_SUFFIX="xz"
+
+# make sure games is inherited first so that the gnome2
+# functions will be called if they are not overridden
+inherit eutils games gnome2
+
+DESCRIPTION="A collection of solitaire card games for GNOME"
+HOMEPAGE="http://live.gnome.org/Aisleriot"
+
+LICENSE="GPL-3 LGPL-3 FDL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnome sound"
+
+# FIXME: quartz support?
+COMMON_DEPEND=">=dev-libs/glib-2.26.0:2
+ >=dev-scheme/guile-1.8.0:12[deprecated,regex]
+ >=gnome-base/librsvg-2.32.0
+ >=x11-libs/cairo-1.10.0
+ x11-libs/gdk-pixbuf:2
+ >=x11-libs/gtk+-3.0.0:3
+ x11-libs/libICE
+ x11-libs/libSM
+ gnome? ( >=gnome-base/gconf-2.0:2 )
+ sound? ( >=media-libs/libcanberra-0.26[gtk3] )"
+# aisleriot was split off from gnome-games
+RDEPEND="${COMMON_DEPEND}
+ !<gnome-extra/gnome-games-3.1.1[aisleriot]
+ !<gnome-extra/gnome-games-3"
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/intltool-0.40.4
+ >=dev-util/pkgconfig-0.15
+ sys-apps/lsb-release
+ >=sys-devel/gettext-0.12
+ gnome? (
+ app-text/docbook-xml-dtd:4.3
+ >=app-text/yelp-tools-3.1.1 )"
+
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog TODO"
+
+ if use gnome; then
+ G2CONF="${G2CONF} --with-platform=gnome --with-help-method=ghelp"
+ else
+ G2CONF="${G2CONF} --with-platform=gtk-only --with-help-method=library
+ ITSTOOL=$(type -P true) XMLLINT=$(type -P true)"
+ fi
+
+ G2CONF="${G2CONF}
+ --with-gtk=3.0
+ --with-smclient
+ --with-guile=1.8
+ $(use_enable sound)
+ --disable-schemas-compile
+ --with-card-theme-formats=all
+ --with-kde-card-theme-path=${EPREFIX}/usr/share/apps/carddecks
+ --with-pysol-card-theme-path=${EPREFIX}${GAMES_DATADIR}/pysolfc"
+}
+
+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/metadata.xml b/games-board/aisleriot/metadata.xml
new file mode 100644
index 000000000000..da6fd63d0085
--- /dev/null
+++ b/games-board/aisleriot/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnome</herd>
+</pkgmetadata>