summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.4.11.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-07-13 16:05:39 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-07-20 17:07:30 +0200
commitcf3449958c3b9563d5da98585365f14e87e343d9 (patch)
treed9ee04ed49811ea31b9b997758db2b92d8974431 /meta-oe/recipes-graphics/gphoto2/libgphoto2_2.4.11.bb
parent337b1bac68c548d5e21525961b8a52b72d2cc613 (diff)
downloadmeta-openembedded-cf3449958c3b9563d5da98585365f14e87e343d9.tar.gz
libgphoto2: add configure option for gd and add PACKAGECONFIG
* it's autodetected and pulls couple of other dependencies freetype gd libpng lockdev zlib Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/gphoto2/libgphoto2_2.4.11.bb')
-rw-r--r--meta-oe/recipes-graphics/gphoto2/libgphoto2_2.4.11.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.4.11.bb b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.4.11.bb
index fd547d991..ae783b8d3 100644
--- a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.4.11.bb
+++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.4.11.bb
@@ -16,6 +16,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.bz2;name=libgphoto2
16 file://10-camera-libgphoto2.fdi \ 16 file://10-camera-libgphoto2.fdi \
17 file://40-libgphoto2.rules \ 17 file://40-libgphoto2.rules \
18 file://0001-configure.ac-remove-AM_PO_SUBDIRS.patch \ 18 file://0001-configure.ac-remove-AM_PO_SUBDIRS.patch \
19 file://allow.to.disable.gd.patch \
19" 20"
20 21
21SRC_URI[libgphoto2.md5sum] = "16a22b9739e45a95980ed62705fe7333" 22SRC_URI[libgphoto2.md5sum] = "16a22b9739e45a95980ed62705fe7333"
@@ -25,6 +26,9 @@ inherit autotools pkgconfig gettext lib_package
25 26
26EXTRA_OECONF = " --with-drivers=all udevscriptdir=/lib/udev ac_cv_lib_ltdl_lt_dlcaller_register=yes" 27EXTRA_OECONF = " --with-drivers=all udevscriptdir=/lib/udev ac_cv_lib_ltdl_lt_dlcaller_register=yes"
27 28
29PACKAGECONFIG ??= ""
30PACKAGECONFIG[gd] = "--enable-gd,--disable-gd,gd"
31
28do_configure_append() { 32do_configure_append() {
29 cp ${STAGING_DATADIR}/gettext/po/Makefile.in.in ${S}/libgphoto2_port/po/ 33 cp ${STAGING_DATADIR}/gettext/po/Makefile.in.in ${S}/libgphoto2_port/po/
30 cd ${S}/libgphoto2_port/ 34 cd ${S}/libgphoto2_port/
@@ -44,7 +48,7 @@ PACKAGES =+ "libgphotoport libgphoto2-camlibs"
44FILES_libgphoto2-camlibs = "${libdir}/libgphoto2*/*/*.so*" 48FILES_libgphoto2-camlibs = "${libdir}/libgphoto2*/*/*.so*"
45RRECOMMENDS_${PN} = "libgphoto2-camlibs" 49RRECOMMENDS_${PN} = "libgphoto2-camlibs"
46 50
47FILES_libgphotoport = "${libdir}/libgphoto2_port.so.*" 51FILES_libgphotoport = "${libdir}/libgphoto2_port.so.*"
48 52
49FILES_${PN} += "${base_libdir}/udev/* ${datadir}/hal" 53FILES_${PN} += "${base_libdir}/udev/* ${datadir}/hal"
50FILES_${PN}-dbg += "${libdir}/*/*/.debug" 54FILES_${PN}-dbg += "${libdir}/*/*/.debug"