# Template file for 'gvfs'
pkgname=gvfs
version=1.16.3
revision=1
build_style=gnu-configure
configure_args="--disable-hal --disable-afc
 --with-bash-completion-dir=/usr/share/bash-completion/completions"
hostmakedepends="pkg-config intltool libxslt docbook-xsl gobject-introspection"
makedepends="libbluetooth-devel dbus-glib-devel
 libopenobex-devel libgudev-devel>=183 libexif-devel libbluray-devel
 fuse-devel libarchive-devel>=3.1.2 libcdio-devel libsoup-gnome-devel>=2.40
 libgphoto2-devel libsecret-devel gtk+3-devel samba-devel systemd-devel
 avahi-glib-libs-devel udisks2-devel libgcrypt-devel libmtp-devel
 gnome-online-accounts-devel>=3.8"
short_desc="Userspace virtual filesystem"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/1.16/$pkgname-$version.tar.xz"
checksum=02a4483d0dd2e307f58f8e1d34dd29dbe06d3a345b73ac8d6f87bb91189c8e49

post_install() {
	cd ${DESTDIR}/usr/bin
	ln -sf gvfs-open gnome-open
}

gvfs-devel_package() {
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
	}
}

gvfs_package() {
	pkg_install() {
		vmove usr
	}
}
