diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/libmtp/libmtp_1.1.16.bb')
-rw-r--r-- | meta-oe/recipes-connectivity/libmtp/libmtp_1.1.16.bb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.16.bb b/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.16.bb new file mode 100644 index 000000000..596e315b7 --- /dev/null +++ b/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.16.bb | |||
@@ -0,0 +1,50 @@ | |||
1 | # TODO: include debian's mtp-tools man page (needs xsltproc-native and | ||
2 | # docbook-xsl-native, or we pregenerate it), add support for doxygen | ||
3 | # generation fully with -natives | ||
4 | DESCRIPTION = "libmtp is an Initiator implementation of the Media Transfer \ | ||
5 | Protocol (MTP) in the form of a library suitable primarily for POSIX \ | ||
6 | compliant operating systems" | ||
7 | SUMMARY = "libmtp is an Initiator implementation of the Media Transfer Protocol (MTP)" | ||
8 | HOMEPAGE = "http://libmtp.sourceforge.net/" | ||
9 | LICENSE = "LGPL-2.1+" | ||
10 | LIC_FILES_CHKSUM = "\ | ||
11 | file://COPYING;md5=0448d3676bc0de00406af227d341a4d1 \ | ||
12 | file://src/ptp.c;beginline=3;endline=22;md5=303cc4422fd549ef8689aded20434a9a \ | ||
13 | file://examples/albums.c;beginline=5;endline=21;md5=84f4e55dfec49e898b7f68a828c15620 \ | ||
14 | " | ||
15 | |||
16 | BBCLASSEXTEND = "native" | ||
17 | |||
18 | DEPENDS = "libusb1 gettext-native" | ||
19 | DEPENDS_append_class-target = " ${BPN}-native" | ||
20 | |||
21 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" | ||
22 | SRC_URI_append_class-target = " file://0001-Use-native-mtp-hotplug.patch" | ||
23 | |||
24 | SRC_URI[md5sum] = "7796179af46e90938dde1d0c4d1d1d4c" | ||
25 | SRC_URI[sha256sum] = "5b68f9dd1ed38de558de687f40e255a39e4d5e32ef3de601f0ac19dd5682bba0" | ||
26 | |||
27 | inherit autotools pkgconfig lib_package | ||
28 | |||
29 | EXTRA_OECONF += " \ | ||
30 | --disable-rpath \ | ||
31 | --with-udev=${nonarch_base_libdir}/udev \ | ||
32 | " | ||
33 | |||
34 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'largefile', d)}" | ||
35 | PACKAGECONFIG[doxygen] = "--enable-doxygen,--disable-doxygen" | ||
36 | PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile" | ||
37 | PACKAGECONFIG[mtpz] = "--enable-mtpz,--disable-mtpz,libgcrypt" | ||
38 | |||
39 | PACKAGES =+ "${BPN}-common ${BPN}-runtime" | ||
40 | |||
41 | RDEPENDS_${BPN} += "libmtp-common" | ||
42 | RRECOMMENDS_${BPN} += "libmtp-runtime ${PN}-bin" | ||
43 | |||
44 | FILES_${BPN}-common = "${nonarch_base_libdir}/udev/rules.d/*" | ||
45 | SUMMARY_${BPN}-common = "The udev rules file for MTP devices" | ||
46 | |||
47 | FILES_${BPN}-runtime = "${nonarch_base_libdir}/udev/mtp-probe" | ||
48 | RDEPENDS_${BPN}-runtime = "libmtp-common" | ||
49 | SUMMARY_${BPN}-runtime = "mtp-probe, used for the MTP udev rules" | ||
50 | DESCRIPTION_${BPN}-runtime = "This package provides mtp-probe, a program to probe newly connected device interfaces from userspace to determine if they are MTP devices, used for udev rules." | ||