/[gentoo-x86]/media-gfx/xsvg/xsvg-0.2.1.ebuild
Gentoo

Diff of /media-gfx/xsvg/xsvg-0.2.1.ebuild

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

Revision 1.12 Revision 1.13
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2009 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/media-gfx/xsvg/xsvg-0.2.1.ebuild,v 1.12 2008/06/25 18:00:48 maekke Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-gfx/xsvg/xsvg-0.2.1.ebuild,v 1.13 2009/08/16 10:05:58 maekke Exp $
4
5EAPI=2
4 6
5inherit autotools eutils 7inherit autotools eutils
6 8
7DESCRIPTION="a command line viewer for SVG files" 9DESCRIPTION="a command line viewer for SVG files"
8HOMEPAGE="http://cairographics.org" 10HOMEPAGE="http://cairographics.org"
11LICENSE="BSD" 13LICENSE="BSD"
12SLOT="0" 14SLOT="0"
13KEYWORDS="amd64 hppa ppc ~sparc x86" 15KEYWORDS="amd64 hppa ppc ~sparc x86"
14IUSE="" 16IUSE=""
15 17
18RDEPEND="
19 x11-libs/cairo[X]
16RDEPEND="x11-libs/libsvg-cairo" 20 x11-libs/libsvg-cairo"
17DEPEND="${RDEPEND} 21DEPEND="${RDEPEND}
18 x11-libs/libXt 22 x11-libs/libXt
19 x11-libs/libXcursor" 23 x11-libs/libXcursor"
20 24
21pkg_setup() { 25src_prepare() {
22 if ! built_with_use x11-libs/cairo X ; then
23 eerror "x11-libs/cairo needs to be built with USE=\"X\""
24 die "remerge x11-libs/cairo with USE=\"X\""
25 fi
26}
27
28src_unpack() {
29 unpack ${A}
30 cd "${S}"
31 epatch "${FILESDIR}"/${P}-asneeded.patch 26 epatch "${FILESDIR}"/${P}-asneeded.patch
32 eautoreconf 27 eautoreconf
33} 28}
34 29
35src_install() { 30src_install() {

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20