mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
2584d79f80
Changelog: Bugs fixed: - Fix LIBMTP_STORAGE_SORTBY_MAXSPACE not working (copy-paste mistake) - fix warnings regarding mismatched parameter docs - fix comment above sort_storage_bysort_storage_by - Revert "ptp_pack_string: check string length for no iconv situation" - remove dependency on ptp.h - fixed paste error vendor/product id - libusb-glue: check return value of ptp_init_send_memory_handler - ptp_pack_string: check string length for no iconv situation - ptp-pack: fix ucs2str overflow Features: - add a LIBMTP_FreeMemory function that wraps free() - added functions to get device by serial number - added serial number of device to output of 'mtp-files' - added optional serial number parameter to 'mtp-getfile' - added optional serial number parameter to 'mtp-delfile' - feat: Add LIBMTP_Get_Children() to read the list of raw IDs of a folder. - merge a patch from google https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/third_party/chromiumos-overlay/media-libs/libmtp/files/libmtp-1.1.20-10_remove_nexus_s_from_device_list.patch New devices: - add Garmin Forerunner 955 + mtp-detect log - added SHARP S7-SH https://sourceforge.net/p/libmtp/bugs/1914/ - added another Lenovo Tab TB-X306F id fixes #116 - added tolino vsiion 6 reader https://sourceforge.net/p/libmtp/bugs/1921/ - added FLIR C5 camera - added iBasso DX170 DAP, fixes #125 - added Lenovo Tab P11 fixes #127 - aded Sony NW-A105 fixes //github.com//issues/130 - added Honor Any-NX1 #135 - added gopro hero11 black #136 - removed a dup of a Mediatek MT65xx devices https://sourceforge.net/p/libmtp/bugs/1922/ - rename some LG devices to match reality better - rename 3 blackberry to correct vendor/product names - added realme Phone - updated some mediatek id names, removed some duplicates - adjusted various id names https://sourceforge.net/p/libmtp/bugs/1926/ - fixed order, https://sourceforge.net/p/libmtp/bugs/1931/ - some more brand renames. https://sourceforge.net/p/libmtp/bugs/1930/ - adjust some device naming https://sourceforge.net/p/libmtp/bugs/1932/ - added Vivo V19 (fixes #143) - added Garmin Forerunner 255S Music - rename and merge, also reshuffle to sorting ... fixes https://sourceforge.net/p/libmtp/bugs/1933/ - added Garmin Forerunner 255M smartwatch, fixes #150 Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
48 lines
2.1 KiB
BlitzBasic
48 lines
2.1 KiB
BlitzBasic
# TODO: include debian's mtp-tools man page (needs xsltproc-native and
|
|
# docbook-xsl-native, or we pregenerate it), add support for doxygen
|
|
# generation fully with -natives
|
|
DESCRIPTION = "libmtp is an Initiator implementation of the Media Transfer \
|
|
Protocol (MTP) in the form of a library suitable primarily for POSIX \
|
|
compliant operating systems"
|
|
SUMMARY = "libmtp is an Initiator implementation of the Media Transfer Protocol (MTP)"
|
|
HOMEPAGE = "http://libmtp.sourceforge.net/"
|
|
LICENSE = "LGPL-2.1-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=0448d3676bc0de00406af227d341a4d1 \
|
|
file://src/ptp.c;beginline=3;endline=22;md5=80fd2d5904c4c1f5455d8f4bf515292f \
|
|
file://examples/albums.c;beginline=5;endline=21;md5=84f4e55dfec49e898b7f68a828c15620 \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native"
|
|
|
|
DEPENDS = "libusb1 gettext-native"
|
|
DEPENDS:append:class-target = " ${BPN}-native"
|
|
|
|
SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz"
|
|
SRC_URI:append:class-target = " file://0001-Use-native-mtp-hotplug.patch"
|
|
SRC_URI[sha256sum] = "f4c1ceb3df020a6cb851110f620c14fe399518c494ed252039cbfb4e34335135"
|
|
|
|
inherit autotools pkgconfig lib_package
|
|
|
|
EXTRA_OECONF += " \
|
|
--disable-rpath \
|
|
--enable-largefile \
|
|
--with-udev=${nonarch_base_libdir}/udev \
|
|
"
|
|
|
|
PACKAGECONFIG ?= ""
|
|
PACKAGECONFIG[doxygen] = "--enable-doxygen,--disable-doxygen,doxygen-native"
|
|
PACKAGECONFIG[mtpz] = "--enable-mtpz,--disable-mtpz,libgcrypt"
|
|
|
|
PACKAGES =+ "${BPN}-common ${BPN}-runtime"
|
|
|
|
RDEPENDS:${BPN} += "libmtp-common"
|
|
RRECOMMENDS:${BPN} += "libmtp-runtime ${PN}-bin"
|
|
|
|
FILES:${BPN}-common = "${nonarch_base_libdir}/udev/rules.d/*"
|
|
SUMMARY:${BPN}-common = "The udev rules file for MTP devices"
|
|
|
|
FILES:${BPN}-runtime = "${nonarch_base_libdir}/udev/mtp-probe"
|
|
RDEPENDS:${BPN}-runtime = "libmtp-common"
|
|
SUMMARY:${BPN}-runtime = "mtp-probe, used for the MTP udev rules"
|
|
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."
|