blob: 518b6382c4f7bd30e3fd1b9ecf19295452981245 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/poppler-qt4/poppler-qt4-0.11.1.ebuild,v 1.1 2009/06/19 22:14:54 loki_val Exp $
EAPI=2
POPPLER_MODULE=qt4/src
POPPLER_PKGCONFIG=poppler-qt4.pc
inherit poppler
DESCRIPTION="Qt4 bindings for poppler"
SRC_URI="${SRC_URI}
test? ( mirror://gentoo/poppler-test-0.9.2.tar.bz2 )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="test"
RDEPEND="
~dev-libs/poppler-${PV}
>=x11-libs/qt-core-4.4.2:4
>=x11-libs/qt-gui-4.4.2:4
>=x11-libs/qt-test-4.4.2:4
"
DEPEND="
${RDEPEND}
"
src_compile() {
POPPLER_MODULE_S="${S}/poppler" poppler_src_compile libpoppler-arthur.la
poppler_src_compile
use test && POPPLER_MODULE_S="${S}/qt4/tests" poppler_src_compile
}
src_test() {
cd "${S}/qt4/tests"
emake check
}
|