Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 496370 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/media-libs/libsvg/libsvg-0.1.4-r1.ebuild (-12 / +9 lines)
Lines 2-8 Link Here
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-libs/libsvg/libsvg-0.1.4-r1.ebuild,v 1.4 2012/05/05 08:02:34 jdhore Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/libsvg/libsvg-0.1.4-r1.ebuild,v 1.4 2012/05/05 08:02:34 jdhore Exp $
4
4
5
inherit autotools eutils libtool
5
EAPI=5
6
7
inherit autotools-multilib eutils libtool
6
8
7
DESCRIPTION="A parser for SVG content in files or buffers"
9
DESCRIPTION="A parser for SVG content in files or buffers"
8
HOMEPAGE="http://cairographics.org"
10
HOMEPAGE="http://cairographics.org"
Lines 13-27 Link Here
13
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
15
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
14
IUSE=""
16
IUSE=""
15
17
16
RDEPEND="dev-libs/libxml2
18
RDEPEND="dev-libs/libxml2[${MULTILIB_USEDEP}]
17
	media-libs/libpng
19
	media-libs/libpng[${MULTILIB_USEDEP}]
18
	virtual/jpeg"
20
	virtual/jpeg[${MULTILIB_USEDEP}]"
19
DEPEND="${RDEPEND}
21
DEPEND="${RDEPEND}
20
	virtual/pkgconfig"
22
	virtual/pkgconfig"
21
23
22
src_unpack() {
24
DOCS=( AUTHORS ChangeLog NEWS README TODO )
23
	unpack ${A}
25
24
	cd "${S}"
26
src_prepare() {
25
	sed -i \
27
	sed -i \
26
		-e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \
28
		-e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \
27
		src/svg_image.c || die
29
		src/svg_image.c || die
Lines 29-36 Link Here
29
	elibtoolize
31
	elibtoolize
30
	eautoconf
32
	eautoconf
31
}
33
}
32
33
src_install() {
34
	emake DESTDIR="${D}" install || die "emake install failed."
35
	dodoc AUTHORS ChangeLog NEWS README TODO
36
}

Return to bug 496370