diff options
Diffstat (limited to 'meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.33.bb')
| -rw-r--r-- | meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.33.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.33.bb b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.33.bb new file mode 100644 index 0000000000..6b5e6c21b9 --- /dev/null +++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.33.bb | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | SUMMARY = "libgphoto2 allows you to access digital cameras" | ||
| 2 | SECTION = "libs" | ||
| 3 | LICENSE = "LGPL-2.1-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=477378d78dfeeaa93826ee4ec7c643fb" | ||
| 5 | |||
| 6 | DEPENDS = "libtool jpeg virtual/libusb0 libexif zlib libxml2" | ||
| 7 | |||
| 8 | # The .fdi and .rules files were generated with: | ||
| 9 | # libgphoto2-2.5.8/packaging/generic$ qemu-arm -s 1048576 -r 2.6.24 -L /OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/ .libs/print-camera-list | ||
| 10 | # They are release specific, so please regen when adding new releases | ||
| 11 | |||
| 12 | SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/${BP}.tar.xz;name=libgphoto2 \ | ||
| 13 | file://40-libgphoto2.rules \ | ||
| 14 | file://0001-configure-Filter-out-buildpaths-from-CC.patch \ | ||
| 15 | " | ||
| 16 | SRC_URI[libgphoto2.sha256sum] = "28825f767a85544cb58f6e15028f8e53a5bb37a62148b3f1708b524781c3bef2" | ||
| 17 | |||
| 18 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/gphoto/files/libgphoto/" | ||
| 19 | |||
| 20 | inherit autotools pkgconfig gettext lib_package | ||
| 21 | |||
| 22 | EXTRA_OECONF = " --with-drivers=all udevscriptdir=${nonarch_base_libdir}/udev ac_cv_lib_ltdl_lt_dlcaller_register=yes" | ||
| 23 | |||
| 24 | PACKAGECONFIG ??= "" | ||
| 25 | PACKAGECONFIG[gd] = ",--without-gdlib,gd" | ||
| 26 | PACKAGECONFIG[serial] = "--enable-serial,--disable-serial,lockdev" | ||
| 27 | |||
| 28 | do_install:append() { | ||
| 29 | install -d ${D}${sysconfdir}/udev/rules.d/ | ||
| 30 | install -m 0644 ${UNPACKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/ | ||
| 31 | } | ||
| 32 | |||
| 33 | PACKAGES =+ "libgphotoport libgphoto2-camlibs" | ||
| 34 | FILES:libgphoto2-camlibs = "${libdir}/libgphoto2*/*/*.so*" | ||
| 35 | RRECOMMENDS:${PN} = "libgphoto2-camlibs" | ||
| 36 | |||
| 37 | FILES:libgphotoport = "${libdir}/libgphoto2_port.so.*" | ||
| 38 | |||
| 39 | FILES:${PN} += "${nonarch_base_libdir}/udev/*" | ||
| 40 | FILES:${PN}-doc += "${datadir}/libgphoto2_port/0.12.?/vcamera/README.txt" | ||
