blob: 0e0b0d99eb99d826e9167b8afcac069bd14c83e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnustep-libs/popplerkit/popplerkit-0.4.0-r1.ebuild,v 1.4 2010/02/10 20:04:33 ssuominen Exp $
inherit gnustep-2
S="${WORKDIR}/Etoile-${PV}/Frameworks/PopplerKit"
DESCRIPTION="PopplerKit is a GNUstep/Cocoa framework for accessing and rendering PDF content."
HOMEPAGE="http://www.etoile-project.org"
SRC_URI="http://download.gna.org/etoile/etoile-${PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
SLOT="0"
IUSE=""
RDEPEND="app-text/poppler
>=media-libs/freetype-2"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
cd "${WORKDIR}/Etoile-${PV}"
sed -i -e "s/-Werror//" etoile.make || die "sed failed"
cd "${S}"
epatch "${FILESDIR}"/${P}-config-as-needed.patch
}
src_compile() {
# Compile MissingKit separately
cd "${S}"/MissingKit
gnustep-base_src_compile
cd "${S}"
gnustep-base_src_compile
}
|