Add the gnome solitaire game collection from the gnome overlay. Formerly a part of...
authorAlexandre Rostovtsev <tetromino@gentoo.org>
Mon, 7 Nov 2011 04:02:29 +0000 (04:02 +0000)
committerAlexandre Rostovtsev <tetromino@gentoo.org>
Mon, 7 Nov 2011 04:02:29 +0000 (04:02 +0000)
Package-Manager: portage-2.2.0_alpha72/cvs/Linux x86_64

games-board/aisleriot/ChangeLog [new file with mode: 0644]
games-board/aisleriot/Manifest [new file with mode: 0644]
games-board/aisleriot/aisleriot-3.2.1.ebuild [new file with mode: 0644]
games-board/aisleriot/metadata.xml [new file with mode: 0644]

diff --git a/games-board/aisleriot/ChangeLog b/games-board/aisleriot/ChangeLog
new file mode 100644 (file)
index 0000000..1cbf101
--- /dev/null
@@ -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/Manifest b/games-board/aisleriot/Manifest
new file mode 100644 (file)
index 0000000..3d9fafc
--- /dev/null
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST aisleriot-3.2.1.tar.xz 4319892 RMD160 35c52eb49e36cbd819080860d533e3dce62efe7e SHA1 aad4146b605fbc05122d221a5ebb69c06dd60ec3 SHA256 86bbc131daf97d14f1587216d3e4c73db35126dddf393bfef4f7a67822f96529
+EBUILD aisleriot-3.2.1.ebuild 1980 RMD160 12085166781796612d85aed827d37196c2158e9e SHA1 4e81476d076346aa5e8fa9a309b15c306b3a0fac SHA256 9f185959fdd6dd92ec9208d6e0a51e8d4cae32801fdc3b8ca79cf6e0ed55e34d
+MISC ChangeLog 503 RMD160 e582fc82bd5a45867abecf84bdbbbff2c4216e58 SHA1 40937e6551cdc7d7f7408b1b34d81bed76a24c3b SHA256 3e373ddddfe9f76ef146d68c0de8652e52c5ba00b542d615d1469111163a3f6c
+MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iF4EAREIAAYFAk63WFsACgkQdjK8w9WeBnAmLQD+PeEpgO6cXnPPkC8fXj9VfEiC
+h5ZIEzt02c+RzHYY4RsA/iBorGWy3mvRMydvLRa+nt4Vd4BhIdZ4z6D0HCcWfRL3
+=kv19
+-----END PGP SIGNATURE-----
diff --git a/games-board/aisleriot/aisleriot-3.2.1.ebuild b/games-board/aisleriot/aisleriot-3.2.1.ebuild
new file mode 100644 (file)
index 0000000..91af03b
--- /dev/null
@@ -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 (file)
index 0000000..da6fd63
--- /dev/null
@@ -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>