summaryrefslogtreecommitdiff
path: root/packages/djvulibre/djvulibre_3.5.20.bb
blob: 8a90efe85cef443d2d258e825d8a2a2c4f7085cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "DjVuLibre is an open source (GPL'ed) implementation of DjVu, including viewers, browser plugins, decoders, simple encoders, and utilities."
LICENSE = "GPL"
DEPENDS = "jpeg libpng tiff"
PR = "r1"

SRC_URI = "http://{SOURCEFORGE_MIRROR}/djvu/djvulibre-${PV}.tar.gz \
           file://fix-cross-configure.patch;patch=1"

inherit qt4x11 autotools pkgconfig

#export QT_LIBS = "${OE_QMAKE_LIBS_QT}"
#export QT_CFLAGS = "${OE_QMAKE_CXXFLAGS} -I${QTDIR}/include/Qt/ "

EXTRA_OECONF = " --enable-threads \
                 --with-qt=${PAMLTOPDIR} "

do_stage() {
        autotools_stage_all
}

PACKAGES =+ "libdjvulibre"
FILES_libdjvulibre = "${libdir}/libdjvulibre.so.*"
FILES_${PN} += "${datadir}/djvu"