/[gentoo-x86]/gnome-base/librsvg/librsvg-2.34.2.ebuild
Gentoo

Diff of /gnome-base/librsvg/librsvg-2.34.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.8
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/Attic/librsvg-2.34.2.ebuild,v 1.5 2011/11/28 08:07:51 tetromino Exp $ 3# $Header: /var/cvsroot/gentoo-x86/gnome-base/librsvg/Attic/librsvg-2.34.2.ebuild,v 1.8 2011/12/29 17:42:26 pacho Exp $
4 4
5EAPI="4" 5EAPI="4"
6GNOME2_LA_PUNT="yes" 6GNOME2_LA_PUNT="yes"
7GCONF_DEBUG="no" 7GCONF_DEBUG="no"
8PYTHON_DEPEND="2"
8 9
9inherit gnome2 multilib eutils autotools 10inherit gnome2 multilib eutils autotools python
10 11
11DESCRIPTION="Scalable Vector Graphics (SVG) rendering library" 12DESCRIPTION="Scalable Vector Graphics (SVG) rendering library"
12HOMEPAGE="http://librsvg.sourceforge.net/" 13HOMEPAGE="http://librsvg.sourceforge.net/"
13SRC_URI="${SRC_URI} mirror://gentoo/introspection.m4.bz2" 14SRC_URI="${SRC_URI} mirror://gentoo/introspection.m4.bz2"
14 15
15LICENSE="LGPL-2" 16LICENSE="LGPL-2"
16SLOT="2" 17SLOT="2"
17KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" 18KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
18IUSE="doc +gtk gtk3 +introspection tools" 19IUSE="doc +gtk gtk3 +introspection tools"
19 20
20RDEPEND=">=media-libs/fontconfig-1.0.1 21RDEPEND=">=media-libs/fontconfig-1.0.1
21 >=media-libs/freetype-2 22 >=media-libs/freetype-2
22 >=dev-libs/glib-2.24:2 23 >=dev-libs/glib-2.24:2
47 use gtk && ! use gtk3 && G2CONF+=" --with-gtk=2.0" 48 use gtk && ! use gtk3 && G2CONF+=" --with-gtk=2.0"
48 use gtk && use gtk3 && G2CONF+=" --with-gtk=both" 49 use gtk && use gtk3 && G2CONF+=" --with-gtk=both"
49 ! use gtk && use gtk3 && G2CONF+=" --with-gtk=3.0 --enable-gtk-theme" 50 ! use gtk && use gtk3 && G2CONF+=" --with-gtk=3.0 --enable-gtk-theme"
50 51
51 DOCS="AUTHORS ChangeLog README NEWS TODO" 52 DOCS="AUTHORS ChangeLog README NEWS TODO"
53
54 python_set_active_version 2
55 python_pkg_setup
52} 56}
53 57
54src_prepare() { 58src_prepare() {
55 # Fix automagic gtk+ dependency, bug #371290 59 # Fix automagic gtk+ dependency, bug #371290
56 epatch "${FILESDIR}/${PN}-2.34.0-automagic-gtk.patch" 60 epatch "${FILESDIR}/${PN}-2.34.0-automagic-gtk.patch"
60 64
61 # introspection.m4 needed for eautoreconf 65 # introspection.m4 needed for eautoreconf
62 mv "${WORKDIR}/introspection.m4" "${S}"/ || die 66 mv "${WORKDIR}/introspection.m4" "${S}"/ || die
63 67
64 AT_M4DIR="." eautoreconf 68 AT_M4DIR="." eautoreconf
69
70 python_convert_shebangs -r 2 .
65 71
66 gnome2_src_prepare 72 gnome2_src_prepare
67} 73}
68 74
69pkg_postinst() { 75pkg_postinst() {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20