libmtp: update to 1.1.18

This commit is contained in:
Nathan Owens 2020-11-04 15:48:24 -06:00 committed by Andrew Benson
parent 4842d88a1d
commit 570f94bc48
1 changed files with 4 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'libmtp'
pkgname=libmtp
version=1.1.17
version=1.1.18
revision=1
build_style=gnu-configure
configure_args="--disable-static --with-udev=/usr/lib/udev"
@ -8,10 +8,10 @@ hostmakedepends="pkg-config"
makedepends="libgcrypt-devel libusb-devel"
short_desc="Library for Microsoft's Media Transfer Protocol (MTP)"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="http://libmtp.sourceforge.net"
license="LGPL-2.1-or-later"
homepage="http://libmtp.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=f8a34cf52d9f9b9cb8c7f26b12da347d4af7eb904c13189602e4c6b62d1a79dc
checksum=7280fe50c044c818a06667f45eabca884deab3193caa8682e0b581e847a281f0
if [ "$CROSS_BUILD" ]; then
# XXX needs host mtp-hotplug
@ -20,12 +20,9 @@ fi
pre_configure() {
if [ "$CROSS_BUILD" ]; then
sed -e "s,\(util/mtp-hotplug \),mtp-hotplug ,g" -i Makefile.in
vsed -e "s,\(util/mtp-hotplug \),mtp-hotplug ,g" -i Makefile.in
fi
}
post_install() {
sed -i "/^Unable to open/d" ${DESTDIR}/usr/lib/udev/rules.d/69-libmtp.rules
}
libmtp-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"