From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C3E51396D0 for ; Sun, 3 Sep 2017 10:25:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C1EB1FC018; Sun, 3 Sep 2017 10:25:57 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 669241FC018 for ; Sun, 3 Sep 2017 10:25:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 631B63416A4 for ; Sun, 3 Sep 2017 10:25:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CDA6A8C66 for ; Sun, 3 Sep 2017 10:25:53 +0000 (UTC) From: "Gilles Dartiguelongue" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Gilles Dartiguelongue" Message-ID: <1504434307.795629e8e3040f4c60db7a265e51e89cb917f3a7.eva@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: games-board/aisleriot/ X-VCS-Repository: proj/gnome X-VCS-Files: games-board/aisleriot/aisleriot-3.22.2.ebuild X-VCS-Directories: games-board/aisleriot/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: 795629e8e3040f4c60db7a265e51e89cb917f3a7 X-VCS-Branch: master Date: Sun, 3 Sep 2017 10:25:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cb86a41f-c74c-4e6d-a0c0-31c77d8f7a48 X-Archives-Hash: 508e82bd643dcdde27615b79d846afa9 commit: 795629e8e3040f4c60db7a265e51e89cb917f3a7 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Sun Sep 3 10:25:07 2017 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Sun Sep 3 10:25:07 2017 +0000 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=795629e8 games-board/aisleriot: version bump 3.22.1 → 3.22.2 Add missing dependency on autoconf-archive, bug #627182. Add C++11 requirement due to Qt5, bug #617256. games-board/aisleriot/aisleriot-3.22.2.ebuild | 86 +++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/games-board/aisleriot/aisleriot-3.22.2.ebuild b/games-board/aisleriot/aisleriot-3.22.2.ebuild new file mode 100644 index 00000000..9e0f323c --- /dev/null +++ b/games-board/aisleriot/aisleriot-3.22.2.ebuild @@ -0,0 +1,86 @@ +# 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 qt5" + +# 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 ) + qt5? ( >=dev-qt/qtsvg-5:5 ) +" +DEPEND="${COMMON_DEPEND} + app-arch/gzip + app-text/yelp-tools + >=dev-util/intltool-0.40.4 + gnome-base/gnome-common + sys-apps/lsb-release + >=sys-devel/gettext-0.12 + virtual/pkgconfig + gnome? ( app-text/docbook-xml-dtd:4.3 ) +" + +src_prepare() { + # Fix SVG detection and usage + eapply "${FILESDIR}"/${PN}-3.22.0-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 qt5 ; 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 \ + ${myconf[@]} +} + +pkg_postinst() { + gnome2_pkg_postinst + + elog "Aisleriot can use additional card themes from games-board/pysolfc" + elog "and kde-base/libkdegames." +}