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 131351396D9 for ; Sat, 21 Oct 2017 10:11:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2ED2A2BC008; Sat, 21 Oct 2017 10:11:24 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 ED7922BC008 for ; Sat, 21 Oct 2017 10:11:23 +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 CEC6233BF0F for ; Sat, 21 Oct 2017 10:11:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C63682A for ; Sat, 21 Oct 2017 10:11:21 +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: <1508580476.75fbc35e30949c14eb7c845a48984e53a881b664.eva@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/goocanvas/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/goocanvas/Manifest x11-libs/goocanvas/goocanvas-2.0.4.ebuild X-VCS-Directories: x11-libs/goocanvas/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: 75fbc35e30949c14eb7c845a48984e53a881b664 X-VCS-Branch: master Date: Sat, 21 Oct 2017 10:11:21 +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: 6c6d770f-4de2-4a96-b6db-f8b6d45445ca X-Archives-Hash: 7d9aa83262dea327e0e807fb0d0c71a9 commit: 75fbc35e30949c14eb7c845a48984e53a881b664 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Sat Oct 21 10:03:08 2017 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Sat Oct 21 10:07:56 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75fbc35e x11-libs/goocanvas: version bump 2.0.3 → 2.0.4 Package-Manager: Portage-2.3.11, Repoman-2.3.3 x11-libs/goocanvas/Manifest | 1 + x11-libs/goocanvas/goocanvas-2.0.4.ebuild | 68 +++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/x11-libs/goocanvas/Manifest b/x11-libs/goocanvas/Manifest index 46b332f0824..484dc451508 100644 --- a/x11-libs/goocanvas/Manifest +++ b/x11-libs/goocanvas/Manifest @@ -1,3 +1,4 @@ DIST goocanvas-1.0.0.tar.bz2 570552 SHA256 1c072ef88567cad241fb4addee26e9bd96741b1503ff736d1c152fa6d865711e SHA512 fef4364b57dc777b6dcceb026f940121a24a8a3792e8d37d320eb47b7747ab0d54d8d7911b4ff77c21ca2b251937c9312da04221bbc246a07bbf4062689de644 WHIRLPOOL fb8592136bacf10d73e3aeeac9366c0614f8cd60e74a30d31e475b1ae9a1ac76c97b64837490f916733d31191a90c121ac0d60e077acef7cc61a861f5b57fde7 DIST goocanvas-2.0.2.tar.xz 502732 SHA256 f20e5fbef8d1a2633033edbd886dd13146a1b948d1813a9c353a80a29295d1d0 SHA512 2b3014b832a5426884aa472fbfabcca171ef90305afccd312583d259517725a1839509e39b13b30c5097bf54ed9b3dfd2bf9eeca4e813a82d14cf1d5a54578ac WHIRLPOOL 714682b70d747e5db94140e5067e4df3c396332cab9f8b112141f39135758cea0a7e07405d796a70d81b95b76ce68ec17c58b317d0508dc413f2e6139dc39c87 DIST goocanvas-2.0.3.tar.xz 584532 SHA256 6b5b9c25d32c05b9bafc42f5fcc28d55f1426e733e78e9fe4d191cfcd666c800 SHA512 e7db229d029906febc5cc8154cecfe9a7c81497abfb1cdf8e41b8135ef87ef7478dac60bd160adb0d6efbe69680be488c67e78497cb89b1ba295a407af04b786 WHIRLPOOL 8f94970f348d4abdfcc5411a9f5cac6a729db837c6b31693ebcc3af4aee15be898f1f973e58e20f2b6668dc6cc02db26cb9cbbd7f042e79bf25958d6e1a9ffa2 +DIST goocanvas-2.0.4.tar.xz 584272 SHA256 c728e2b7d4425ae81b54e1e07a3d3c8a4bd6377a63cffa43006045bceaa92e90 SHA512 e57dfd59d9b9cb64deadfeac193c11a89347c7f0e966377cfb98afcc2b46be13fe05d253a96e63dc7e6981c75e6e871040b83d8d0aee95cb62b79965d6be5688 WHIRLPOOL cd91684ff57e928c10c7d99b15e296b9c392988a28995f2f0c44cb12d426cd24d5a93bcb8ce4a95299d8916a8cb54a1528a57eb7be52736889cdad3afe1ae16e diff --git a/x11-libs/goocanvas/goocanvas-2.0.4.ebuild b/x11-libs/goocanvas/goocanvas-2.0.4.ebuild new file mode 100644 index 00000000000..868253609b8 --- /dev/null +++ b/x11-libs/goocanvas/goocanvas-2.0.4.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit gnome2 python-r1 + +DESCRIPTION="Canvas widget for GTK+ using the cairo 2D library for drawing" +HOMEPAGE="https://wiki.gnome.org/GooCanvas" + +LICENSE="LGPL-2" +SLOT="2.0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="examples +introspection python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# python only enables python specific binding override +RDEPEND=" + >=x11-libs/gtk+-3.0.0:3 + >=dev-libs/glib-2.28.0:2 + >=x11-libs/cairo-1.10.0 + introspection? ( >=dev-libs/gobject-introspection-0.6.7:= ) + python? ( + ${PYTHON_DEPS} + >=dev-python/pygobject-2.90.4:3[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.16 + >=sys-devel/gettext-0.19.4 + virtual/pkgconfig +" + +src_prepare() { + # Do not build demos + sed -e 's/^\(SUBDIRS =.*\)demo\(.*\)$/\1\2/' \ + -i Makefile.am Makefile.in || die "sed failed" + + # Python bindings are built/installed manually. + sed -e "/SUBDIRS = python/d" -i bindings/Makefile.am bindings/Makefile.in + + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --disable-rebuilds \ + --disable-static \ + $(use_enable introspection) \ + --disable-python +} + +src_install() { + gnome2_src_install + + if use python; then + sub_install() { + python_moduleinto $(python -c "import gi;print gi._overridesdir") + python_domodule bindings/python/GooCanvas.py + } + python_foreach_impl sub_install + fi + + if use examples; then + insinto "/usr/share/doc/${P}/examples/" + doins demo/*.[ch] demo/*.png + fi +}