summaryrefslogtreecommitdiff
path: root/recipes/djvulibre/djvulibre_3.5.20.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/djvulibre/djvulibre_3.5.20.bb')
-rw-r--r--recipes/djvulibre/djvulibre_3.5.20.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/djvulibre/djvulibre_3.5.20.bb b/recipes/djvulibre/djvulibre_3.5.20.bb
new file mode 100644
index 0000000000..b8d49e0922
--- /dev/null
+++ b/recipes/djvulibre/djvulibre_3.5.20.bb
@@ -0,0 +1,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 = "${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"