/[gentoo-x86]/x11-libs/hippo-canvas/hippo-canvas-0.3.0-r2.ebuild
Gentoo

Contents of /x11-libs/hippo-canvas/hippo-canvas-0.3.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Apr 8 17:28:02 2015 UTC (3 years, 5 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-libs/hippo-canvas/hippo-canvas-0.3.0-r2.ebuild,v 1.3 2015/01/29 10:09:38 pacho Exp $
4
5 EAPI=5
6 GCONF_DEBUG="no"
7 GNOME_TARBALL_SUFFIX="bz2"
8 PYTHON_COMPAT=( python2_7 )
9
10 inherit eutils gnome2 multilib python-single-r1
11
12 DESCRIPTION="A canvas library based on GTK+ 2, Cairo, and Pango"
13 HOMEPAGE="https://wiki.gnome.org/Projects/HippoCanvas"
14
15 LICENSE="LGPL-2"
16 SLOT="0"
17 KEYWORDS="amd64 x86"
18
19 IUSE="python"
20 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
21
22 RDEPEND="
23 >=dev-libs/glib-2.6:2
24 dev-libs/libcroco
25 >=x11-libs/gtk+-2.6:2
26 x11-libs/pango
27 gnome-base/librsvg:2
28 python? (
29 ${PYTHON_DEPS}
30 dev-python/pycairo[${PYTHON_USEDEP}]
31 dev-python/pygtk:2[${PYTHON_USEDEP}] )
32 "
33 DEPEND="${RDEPEND}
34 dev-util/gtk-doc-am
35 virtual/pkgconfig
36 "
37
38 pkg_setup() {
39 use python && python-single-r1_pkg_setup
40 }
41
42 src_prepare() {
43 cd "${S}/python"
44 epatch "${FILESDIR}/${PN}-python-override.patch"
45 cd "${S}"
46 gnome2_src_prepare
47 }
48
49 src_configure() {
50 gnome2_src_configure \
51 --disable-static \
52 $(use_enable python)
53 }

  ViewVC Help
Powered by ViewVC 1.1.20