package: add libraw package
authorChih-Min Chao <cmchao@gmail.com>
Fri, 11 Mar 2011 08:13:34 +0000 (16:13 +0800)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 26 Apr 2011 13:02:49 +0000 (15:02 +0200)
[Peter: use ' = ' rather than ':=' in .mk]
Signed-off-by: Chih-Min Chao <cmchao@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/libraw/Config.in [new file with mode: 0644]
package/libraw/libraw.mk [new file with mode: 0644]

index b5a1ee4f6c21a020e0f27e0dd67980a2feb2bd3e..8e78f0faeda1f4270b0824684601da315b9abdc0 100644 (file)
@@ -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 (file)
index 0000000..4378ccd
--- /dev/null
@@ -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 (file)
index 0000000..b76fbbe
--- /dev/null
@@ -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))