aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-04-18 12:27:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-04-18 12:34:00 +0000
commit56767ba9f91bcdf33f72cf3db0b48305b3734ee0 (patch)
tree05aed5c3a03b68e814f1df3816c7851a45ea6463
parentaf1b5e7481a2fa167c7346c3dcee65d8c81f9377 (diff)
downloadaports-56767ba9f91bcdf33f72cf3db0b48305b3734ee0.tar.bz2
aports-56767ba9f91bcdf33f72cf3db0b48305b3734ee0.tar.xz
main/gvfs: upgrade to 1.36.1
-rw-r--r--main/gvfs/APKBUILD54
1 files changed, 33 insertions, 21 deletions
diff --git a/main/gvfs/APKBUILD b/main/gvfs/APKBUILD
index 649f3e86dc..42054f0c6c 100644
--- a/main/gvfs/APKBUILD
+++ b/main/gvfs/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gvfs
-pkgver=1.34.1
-pkgrel=1
+pkgver=1.36.1
+pkgrel=0
pkgdesc="Backends for the gio framework in GLib"
url="http://ftp.gnome.org/pub/gnome/sources/gvfs/${pkgver%.*}/"
arch="all"
@@ -13,8 +13,8 @@ triggers="$pkgname.trigger=/usr/lib/gvfs"
makedepends="intltool fuse-dev libgudev-dev expat-dev samba-dev
libsoup-dev avahi-dev libarchive-dev udisks2-dev libgphoto2-dev
libcdio-paranoia-dev libgcrypt-dev libxslt-dev docbook-xsl
- libmtp-dev gcr-dev libcap-dev"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-lang
+ libmtp-dev gcr-dev libcap-dev libsecret-dev libnfs-dev meson ninja"
+subpackages="$pkgname-dev $pkgname-lang
$pkgname-afp
$pkgname-archive
$pkgname-avahi
@@ -22,32 +22,41 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-lang
$pkgname-dav
$pkgname-fuse
$pkgname-gphoto2
- $pkgname-smb
$pkgname-mtp
+ $pkgname-nfs
+ $pkgname-smb
"
source="https://download.gnome.org/sources/gvfs/${pkgver%.*}/gvfs-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
+ mkdir -p "$builddir"/build
+ cd "$builddir"/build
+ meson \
+ --buildtype=release \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/gvfs \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --enable-gdu \
- --enable-http \
- --enable-libmtp \
- --enable-samba
- make
+ -Dafc=false \
+ -Dbluray=false \
+ -Dgdu=false \
+ -Dgoa=false \
+ -Dgoogle=false \
+ -Dhttp=true \
+ -Dlibmtp=true \
+ -Dlogind=false \
+ -Dsmb=true \
+ -Dsystemduserunitdir=no \
+ -Dtmpfilesdir=no \
+ ..
+ ninja
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ cd "$builddir"/build
+ DESTDIR="$pkgdir" ninja install
}
_mv_files() {
@@ -140,9 +149,12 @@ dav() {
usr/lib/gvfs/gvfsd-dav
}
-#
-#afc() {
-# pkgdesc="AFC support for gvfs"
-#}
+nfs() {
+ pkgdesc="NFS support for gvfs"
+ cd "$pkgdir"
+ _mv_files \
+ usr/share/gvfs/mounts/nfs.mount \
+ usr/lib/gvfs/gvfsd-nfs
+}
-sha512sums="383f20c3dad1ff833f1d14466f215c7183459c0ed18d842fd09a68061e09814f2a4e33d574a0bf62bc9b6f5023721d03461eaaed86e840513f7e115662af91b6 gvfs-1.34.1.tar.xz"
+sha512sums="44e76722b1445835a9494ab12f6888ace05791efa48df216a47c3910d652862edf1d176cf4ef2297b8b53fc079a95f2a7b0603fc127a22134dba3a1e699e74ba gvfs-1.36.1.tar.xz"