summaryrefslogtreecommitdiff
path: root/packages/djvulibre/djvulibre_3.5.19.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/djvulibre/djvulibre_3.5.19.bb')
-rw-r--r--packages/djvulibre/djvulibre_3.5.19.bb16
1 files changed, 14 insertions, 2 deletions
diff --git a/packages/djvulibre/djvulibre_3.5.19.bb b/packages/djvulibre/djvulibre_3.5.19.bb
index aab08cb937..5ba5751f2d 100644
--- a/packages/djvulibre/djvulibre_3.5.19.bb
+++ b/packages/djvulibre/djvulibre_3.5.19.bb
@@ -1,15 +1,27 @@
DESCRIPTION = "DjVuLibre is an open source (GPL'ed) implementation of DjVu, including viewers, browser plugins, decoders, simple encoders, and utilities."
LICENSE = "GPL"
-SRC_URI = "http://downloads.sourceforge.net/djvu/djvulibre-${PV}.tar.gz"
DEPENDS = "jpeg libpng tiff"
-inherit autotools pkgconfig
+SRC_URI = "http://downloads.sourceforge.net/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=${QTDIR} "
PACKAGES =+ "libdjvulibre"
FILES_libdjvulibre = "${libdir}/libdjvulibre.so.*"
FILES_${PN} += "${datadir}/djvu"
+do_stage() {
+ autotools_stage_all
+}