aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/gvfs/APKBUILD13
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"