gvfs: cross build support (-goa subpkg has been disabled for now).

This commit is contained in:
Juan RP 2014-11-14 12:32:12 +01:00
parent 3b544eaf2e
commit 06a8f87d71

View file

@ -4,14 +4,18 @@ version=1.22.2
revision=1
build_style=gnu-configure
configure_args="--disable-hal $(vopt_enable systemd)
--with-bash-completion-dir=/usr/share/bash-completion/completions"
hostmakedepends="pkg-config intltool libxslt docbook-xsl"
--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"
makedepends="
libbluetooth-devel dbus-glib-devel libgudev-devel libexif-devel libbluray-devel
fuse-devel libarchive-devel>=3.1.2 libcdio-devel libsoup-gnome-devel>=2.44
libgphoto2-devel libsecret-devel gtk+3-devel samba-devel libmtp-devel
avahi-glib-libs-devel udisks2-devel libgcrypt-devel $(vopt_if systemd systemd-devel)
libobexftp-devel libimobiledevice-devel gnome-online-accounts-devel>=3.12"
libobexftp-devel libimobiledevice-devel libarchive-devel"
short_desc="Userspace virtual filesystem"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
@ -21,6 +25,12 @@ checksum=8d08c4927b6c20d990498c23280017e7033b31a386f09b4c3ce5bedd20316250
# Package build options
build_options="systemd"
subpackages="gvfs-afc gvfs-afp gvfs-cdda gvfs-gphoto2 gvfs-mtp gvfs-obex gvfs-smb"
if [ -z "$CROSS_BUILD" ]; then
makedepends+=" gnome-online-accounts-devel>=3.12"
subpackages+=" gvfs-goa"
fi
post_install() {
ln -s gvfs-open ${DESTDIR}/usr/bin/gnome-open