2010-04-14 12:29:33 +00:00
|
|
|
# Template file for 'gvfs'
|
|
|
|
pkgname=gvfs
|
2015-03-17 07:27:35 +00:00
|
|
|
version=1.22.4
|
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2014-11-14 11:10:51 +00:00
|
|
|
configure_args="--disable-hal $(vopt_enable systemd)
|
2014-11-14 11:32:12 +00:00
|
|
|
--with-bash-completion-dir=/usr/share/bash-completion/completions
|
|
|
|
--with-samba-includes=${XBPS_CROSS_BASE}/usr/include
|
|
|
|
--with-samba-libs=${XBPS_CROSS_BASE}/usr/lib
|
|
|
|
--with-archive-includes=${XBPS_CROSS_BASE}/usr/include
|
|
|
|
--with-archive-libs=${XBPS_CROSS_BASE}/usr/lib"
|
|
|
|
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel"
|
2013-12-03 16:35:07 +00:00
|
|
|
makedepends="
|
2014-11-14 11:10:51 +00:00
|
|
|
libbluetooth-devel dbus-glib-devel libgudev-devel libexif-devel libbluray-devel
|
2015-03-27 09:50:40 +00:00
|
|
|
fuse-devel libarchive-devel libcdio-paranoia-devel libsoup-gnome-devel
|
|
|
|
libgphoto2-devel libsecret-devel gtk+3-devel samba-devel libmtp-devel
|
2014-11-14 11:10:51 +00:00
|
|
|
avahi-glib-libs-devel udisks2-devel libgcrypt-devel $(vopt_if systemd systemd-devel)
|
2015-03-27 09:50:40 +00:00
|
|
|
libobexftp-devel libimobiledevice-devel libarchive-devel"
|
2010-04-14 12:29:33 +00:00
|
|
|
short_desc="Userspace virtual filesystem"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-09-30 09:09:39 +00:00
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
license="LGPL-2.1"
|
2013-09-26 14:18:45 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2015-03-17 07:27:35 +00:00
|
|
|
checksum=57e33faad35aba72be3822099856aca847f391626cf3ec734b42e64ba31f6484
|
2013-04-12 13:11:12 +00:00
|
|
|
|
2015-01-25 08:51:29 +00:00
|
|
|
# Manually declare shlibs used by the subpkgs.
|
|
|
|
shlib_provides="libgvfscommon.so libgvfsdaemon.so"
|
|
|
|
|
2014-05-20 11:45:26 +00:00
|
|
|
# Package build options
|
|
|
|
build_options="systemd"
|
2014-11-16 08:50:39 +00:00
|
|
|
subpackages="gvfs-afc gvfs-afp gvfs-cdda gvfs-gphoto2 gvfs-mtp gvfs-obex gvfs-smb gvfs-devel"
|
2014-11-14 11:32:12 +00:00
|
|
|
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends+=" gnome-online-accounts-devel"
|
2014-11-14 11:32:12 +00:00
|
|
|
subpackages+=" gvfs-goa"
|
|
|
|
fi
|
2014-05-20 11:45:26 +00:00
|
|
|
|
2013-06-05 14:48:59 +00:00
|
|
|
post_install() {
|
2014-08-25 08:19:01 +00:00
|
|
|
ln -s gvfs-open ${DESTDIR}/usr/bin/gnome-open
|
2013-06-05 14:48:59 +00:00
|
|
|
}
|
|
|
|
|
2013-04-12 13:11:12 +00:00
|
|
|
gvfs-devel_package() {
|
2013-05-15 05:37:37 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:11:12 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|
2014-11-14 11:10:51 +00:00
|
|
|
gvfs-afc_package() {
|
|
|
|
short_desc+=" - Apple mobile device backend"
|
|
|
|
depends="gvfs-${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/libexec/gvfsd-afc
|
|
|
|
vmove usr/libexec/gvfs-afc-volume-monitor
|
|
|
|
vmove usr/share/dbus-1/services/org.gtk.Private.AfcVolumeMonitor.service
|
|
|
|
vmove usr/share/gvfs/remote-volume-monitors/afc.monitor
|
|
|
|
}
|
|
|
|
}
|
2013-12-03 16:35:07 +00:00
|
|
|
gvfs-afp_package() {
|
|
|
|
short_desc+=" - Apple Filing Protocol (AFP) backend"
|
2015-01-07 15:11:48 +00:00
|
|
|
depends="gvfs-${version}_${revision}"
|
2013-12-03 16:35:07 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/libexec/gvfsd-afp*"
|
|
|
|
vmove "usr/share/gvfs/mounts/afp*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
gvfs-cdda_package() {
|
|
|
|
short_desc+=" - CD-ROM backend"
|
2015-01-07 15:11:48 +00:00
|
|
|
depends="gvfs-${version}_${revision}"
|
2013-12-03 16:35:07 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/libexec/gvfsd-cd*"
|
|
|
|
vmove "usr/share/gvfs/mounts/cd*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
gvfs-goa_package() {
|
|
|
|
short_desc+=" - Gnome Online Accounts (webservices) backend"
|
2015-01-07 15:11:48 +00:00
|
|
|
depends="gvfs-${version}_${revision}"
|
2013-12-03 16:35:07 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/libexec/gvfs-goa-volume-monitor
|
|
|
|
vmove usr/share/dbus-1/services/org.gtk.Private.GoaVolumeMonitor.service
|
|
|
|
vmove usr/share/gvfs/remote-volume-monitors/goa.monitor
|
|
|
|
}
|
|
|
|
}
|
|
|
|
gvfs-gphoto2_package() {
|
|
|
|
short_desc+=" - gphoto2 (PTP camera/MTP media player) backend"
|
2015-01-07 15:11:48 +00:00
|
|
|
depends="gvfs-${version}_${revision}"
|
2013-12-03 16:35:07 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/libexec/gvfs-gphoto2-volume-monitor
|
|
|
|
vmove usr/libexec/gvfsd-gphoto2
|
|
|
|
vmove usr/share/dbus-1/services/org.gtk.Private.GPhoto2VolumeMonitor.service
|
|
|
|
vmove usr/share/gvfs/remote-volume-monitors/gphoto2.monitor
|
|
|
|
}
|
|
|
|
}
|
|
|
|
gvfs-mtp_package() {
|
|
|
|
short_desc+=" - MTP backend"
|
2015-01-07 15:11:48 +00:00
|
|
|
depends="gvfs-${version}_${revision}"
|
2013-12-03 16:35:07 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/libexec/gvfs-mtp-volume-monitor
|
|
|
|
vmove usr/libexec/gvfsd-mtp
|
|
|
|
vmove usr/share/dbus-1/services/org.gtk.Private.MTPVolumeMonitor.service
|
|
|
|
vmove usr/share/gvfs/remote-volume-monitors/mtp.monitor
|
|
|
|
vmove usr/share/gvfs/mounts/mtp.mount
|
|
|
|
}
|
|
|
|
}
|
2014-04-07 11:02:47 +00:00
|
|
|
gvfs-obex_package() {
|
|
|
|
short_desc+=" - OBEX backend"
|
2015-01-07 15:11:48 +00:00
|
|
|
depends="obexftp gvfs-${version}_${revision}"
|
2014-04-07 11:02:47 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/libexec/gvfsd-obex*"
|
|
|
|
vmove "usr/share/gvfs/mounts/obex*"
|
|
|
|
}
|
|
|
|
}
|
2013-12-03 16:35:07 +00:00
|
|
|
gvfs-smb_package() {
|
|
|
|
short_desc+=" - SMB/CIFS (Windows client) backend"
|
2015-01-07 15:11:48 +00:00
|
|
|
depends="gvfs-${version}_${revision}"
|
2014-03-28 16:32:58 +00:00
|
|
|
triggers="gsettings-schemas"
|
2013-12-03 16:35:07 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/libexec/gvfsd-smb
|
|
|
|
vmove usr/libexec/gvfsd-smb-browse
|
|
|
|
vmove usr/share/GConf/gsettings/gvfs-smb.convert
|
|
|
|
vmove usr/share/glib-2.0/schemas/org.gnome.system.smb.gschema.xml
|
|
|
|
vmove usr/share/gvfs/mounts/smb-browse.mount
|
|
|
|
vmove usr/share/gvfs/mounts/smb.mount
|
|
|
|
}
|
|
|
|
}
|