2010-04-14 14:29:33 +02:00
|
|
|
# Template file for 'gvfs'
|
|
|
|
pkgname=gvfs
|
2014-05-10 09:23:29 +02:00
|
|
|
version=1.20.2
|
2014-06-16 14:40:33 +02:00
|
|
|
revision=3
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-04-07 13:02:47 +02:00
|
|
|
configure_args="--disable-hal --disable-afc
|
2012-11-12 22:52:18 +01:00
|
|
|
--with-bash-completion-dir=/usr/share/bash-completion/completions"
|
2013-12-03 17:35:07 +01:00
|
|
|
hostmakedepends="pkg-config intltool libxslt docbook-xsl"
|
|
|
|
makedepends="
|
|
|
|
libbluetooth-devel dbus-glib-devel libgudev-devel>=183 libexif-devel libbluray-devel
|
2013-09-26 16:18:45 +02:00
|
|
|
fuse-devel libarchive-devel>=3.1.2 libcdio-devel libsoup-gnome-devel>=2.44
|
2014-05-20 13:45:26 +02:00
|
|
|
libgphoto2-devel libsecret-devel gtk+3-devel samba-devel libmtp-devel
|
|
|
|
avahi-glib-libs-devel udisks2-devel libgcrypt-devel
|
2014-04-07 13:02:47 +02:00
|
|
|
libobexftp-devel gnome-online-accounts-devel>=3.12"
|
2010-04-14 14:29:33 +02:00
|
|
|
short_desc="Userspace virtual filesystem"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-09-30 11:09:39 +02:00
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
license="LGPL-2.1"
|
2013-09-26 16:18:45 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2014-05-10 09:23:29 +02:00
|
|
|
checksum=84d9412e7bedfba902696ae7fb0cfceb0b66b98823f8388745b20693e3b24f8e
|
2013-04-12 15:11:12 +02:00
|
|
|
|
2014-05-20 13:45:26 +02:00
|
|
|
# Package build options
|
|
|
|
build_options="systemd"
|
|
|
|
build_options_default="systemd"
|
|
|
|
|
|
|
|
if [ "$build_option_systemd" ]; then
|
|
|
|
configure_args+=" --enable-systemd"
|
|
|
|
makedepends+=" systemd-devel"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-systemd"
|
|
|
|
fi
|
|
|
|
|
2013-06-05 16:48:59 +02:00
|
|
|
post_install() {
|
2013-10-03 15:07:20 +02:00
|
|
|
ln -sfr ${DESTDIR}/usr/bin/gvfs-open ${DESTDIR}/usr/bin/gnome-open
|
2013-06-05 16:48:59 +02:00
|
|
|
}
|
|
|
|
|
2013-04-12 15:11:12 +02:00
|
|
|
gvfs-devel_package() {
|
2013-05-15 07:37:37 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-03 17:35:07 +01:00
|
|
|
gvfs-afp_package() {
|
|
|
|
short_desc+=" - Apple Filing Protocol (AFP) backend"
|
|
|
|
depends="gvfs>=${version}_${revision}"
|
|
|
|
replaces="gvfs<1.18.3_2"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/libexec/gvfsd-afp*"
|
|
|
|
vmove "usr/share/gvfs/mounts/afp*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gvfs-cdda_package() {
|
|
|
|
short_desc+=" - CD-ROM backend"
|
|
|
|
depends="gvfs>=${version}_${revision}"
|
|
|
|
replaces="gvfs<1.18.3_2"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/libexec/gvfsd-cd*"
|
|
|
|
vmove "usr/share/gvfs/mounts/cd*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gvfs-goa_package() {
|
|
|
|
short_desc+=" - Gnome Online Accounts (webservices) backend"
|
|
|
|
depends="gvfs>=${version}_${revision}"
|
|
|
|
replaces="gvfs<1.18.3_2"
|
|
|
|
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"
|
|
|
|
depends="gvfs>=${version}_${revision}"
|
|
|
|
replaces="gvfs<1.18.3_2"
|
|
|
|
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"
|
|
|
|
depends="gvfs>=${version}_${revision}"
|
|
|
|
replaces="gvfs<1.18.3_2"
|
|
|
|
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 13:02:47 +02:00
|
|
|
gvfs-obex_package() {
|
|
|
|
short_desc+=" - OBEX backend"
|
|
|
|
depends="obexftp gvfs>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/libexec/gvfsd-obex*"
|
|
|
|
vmove "usr/share/gvfs/mounts/obex*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-03 17:35:07 +01:00
|
|
|
gvfs-smb_package() {
|
|
|
|
short_desc+=" - SMB/CIFS (Windows client) backend"
|
|
|
|
depends="gvfs>=${version}_${revision}"
|
|
|
|
replaces="gvfs<1.18.3_2"
|
2014-03-28 17:32:58 +01:00
|
|
|
triggers="gsettings-schemas"
|
2013-12-03 17:35:07 +01: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
|
|
|
|
}
|
|
|
|
}
|