1 DESCRIPTION = "libgphoto2 allows you to access digital cameras"
4 DEPENDS = "libtool jpeg virtual/libusb0 libexif"
6 # The .fdi and .rules files were generated with:
7 # libgphoto2-2.4.7/packaging/generic$ qemu-arm -s 1048576 -r 2.6.24 -L /OE/angstrom-dev/staging/armv5te-angstrom-linux-gnueabi/ .libs/print-camera-list
8 # They are release specific, so please regen when adding new releases
10 SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.bz2 \
11 file://10-camera-libgphoto2-device.fdi \
12 file://10-camera-libgphoto2.fdi \
13 file://90-libgphoto2.rules \
18 inherit autotools pkgconfig lib_package
20 OE_LT_RPATH_ALLOW=":${libdir}:"
21 OE_LT_RPATH_ALLOW[export]="1"
23 EXTRA_OECONF = " --with-drivers=all ac_cv_lib_ltdl_lt_dlcaller_register=yes"
26 install -d ${D}${datadir}/hal/fdi/information/20thirdparty
27 install -m 0644 ${WORKDIR}/*.fdi ${D}${datadir}/hal/fdi/information/20thirdparty/
29 install -d ${D}${sysconfdir}/udev/rules.d/
30 install -m 0755 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/
32 install -d ${D}${bindir}
33 install -m 0755 ${S}/packaging/generic/check-ptp-camera ${D}${bindir}/
36 PACKAGES =+ "libgphotoport libgphoto2-camlibs"
37 FILES_libgphoto2-camlibs = "${libdir}/libgphoto2*/*/*.so*"
38 RDEPENDS_${PN} = "libgphoto2-camlibs"
40 FILES_libgphotoport = "${libdir}/libgphoto2_port.so.*"
42 FILES_${PN} += "${libdir}/udev/* ${datadir}/hal"
43 FILES_${PN}-dbg += "${libdir}/*/*/.debug"