blob: c13383a4347c34df1180e63f254d6ab3355d5716 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/poppler/poppler-0.12.1.ebuild,v 1.1 2009/10/18 14:08:27 loki_val Exp $
EAPI=2
POPPLER_MODULE=poppler
inherit poppler
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
HOMEPAGE="http://poppler.freedesktop.org/"
SRC_URI="http://poppler.freedesktop.org/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="+abiword +lcms +poppler-data"
DEPEND="
abiword? ( >=dev-libs/libxml2-2.7.2 )
lcms? ( >=media-libs/lcms-1.18 )
>=media-libs/freetype-2.3.7
>=media-libs/fontconfig-2
>=media-libs/jpeg-6b
>=media-libs/openjpeg-1.3-r2
sys-libs/zlib
"
RDEPEND="
${DEPEND}
poppler-data? ( >=app-text/poppler-data-0.2.1 )
!<dev-libs/poppler-qt3-${PV}
!<dev-libs/poppler-qt4-${PV}
!<dev-libs/poppler-glib-${PV}
!<app-text/poppler-utils-${PV}
"
pkg_setup() {
POPPLER_CONF=" $(use_enable abiword abiword-output)
$(use_enable lcms cms)
--disable-poppler-qt4
--disable-cairo-output"
POPPLER_PKGCONFIG=( "poppler-splash.pc" "poppler.pc" )
}
src_compile() {
for dir in goo fofi splash poppler
do
POPPLER_MODULE_S="${S}/${dir}" poppler_src_compile
done
}
src_install() {
for dir in goo fofi splash poppler
do
POPPLER_MODULE_S="${S}/${dir}" poppler_src_install
done
}
|