summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/Config.in1
-rw-r--r--package/libraw/Config.in10
-rw-r--r--package/libraw/libraw.mk16
3 files changed, 27 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index b5a1ee4f6..8e78f0fae 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -282,6 +282,7 @@ source "package/libglade/Config.in"
source "package/gdk-pixbuf/Config.in"
source "package/libgtk2/Config.in"
source "package/libpng/Config.in"
+source "package/libraw/Config.in"
source "package/librsvg/Config.in"
source "package/libsvgtiny/Config.in"
source "package/libungif/Config.in"
diff --git a/package/libraw/Config.in b/package/libraw/Config.in
new file mode 100644
index 000000000..4378ccd3d
--- /dev/null
+++ b/package/libraw/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBRAW
+ bool "libraw"
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ libraw is a raw image manipulation library
+
+ http://www.libraw.org/
+
+comment "libraw requires a toolchain with C++ support enabled"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/libraw/libraw.mk b/package/libraw/libraw.mk
new file mode 100644
index 000000000..b76fbbe56
--- /dev/null
+++ b/package/libraw/libraw.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# libraw
+#
+#############################################################
+
+LIBRAW_VERSION = 0.13.1
+LIBRAW_SOURCE = LibRaw-$(LIBRAW_VERSION).tar.gz
+LIBRAW_SITE = http://www.libraw.org/data/
+
+LIBRAW_INSTALL_STAGING = YES
+LIBRAW_CONF_OPT += --disable-examples --disable-lcms \
+ --disable-openmp --disable-demosaic-pack-gpl2 \
+ --disable-demosaic-pack-gpl3
+
+$(eval $(call AUTOTARGETS,package,libraw))