diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-01-29 20:33:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-01-29 20:33:32 +0000 |
commit | fef14df8f757ef99316571134620c9ac1cd330c2 (patch) | |
tree | afa9931efc9eafc7d19673496cd4b5ed0fb05534 /main/gvfs | |
parent | a3c611fae92fca14cdae49707d4c798def7df413 (diff) | |
download | aports-fef14df8f757ef99316571134620c9ac1cd330c2.tar.bz2 aports-fef14df8f757ef99316571134620c9ac1cd330c2.tar.xz |
main/gvfs: enable MTP support
Diffstat (limited to 'main/gvfs')
-rw-r--r-- | main/gvfs/APKBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/main/gvfs/APKBUILD b/main/gvfs/APKBUILD index aa102527b3..dae1464bec 100644 --- a/main/gvfs/APKBUILD +++ b/main/gvfs/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gvfs pkgver=1.22.2 -pkgrel=1 +pkgrel=2 pkgdesc="Backends for the gio framework in GLib" url="http://ftp.gnome.org/pub/gnome/sources/gvfs/${pkgver%.*}/" arch="all" @@ -11,7 +11,8 @@ depends= triggers="$pkgname.trigger=/usr/lib/gvfs" makedepends="intltool fuse-dev udev-dev bluez-dev expat-dev samba-dev libsoup-dev avahi-dev libarchive-dev udisks2-dev libgphoto2-dev - libcdio-paranoia-dev libgcrypt-dev libxslt-dev docbook-xsl" + libcdio-paranoia-dev libgcrypt-dev libxslt-dev docbook-xsl + libmtp-dev" install= subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-afp @@ -23,6 +24,7 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-gphoto2 $pkgname-obexftp $pkgname-smb + $pkgname-mtp " source="http://ftp.gnome.org/pub/gnome/sources/gvfs/${pkgver%.*}/gvfs-$pkgver.tar.xz" @@ -48,6 +50,7 @@ build() { --infodir=/usr/share/info \ --enable-gdu \ --enable-http \ + --enable-libmtp \ || return 1 make || return 1 } @@ -84,6 +87,12 @@ smb() { usr/share/GConf/gsettings/gvfs-smb.convert } +mtp() { + pkgdesc="MTP support for gvfs" + cd "$pkgdir" + _mv_files usr/lib/gvfs/gvfsd-mtp +} + archive() { pkgdesc="Archiving support for gvfs" cd "$pkgdir" |