2019-10-30 09:33:56 +01:00
|
|
|
# Description: A userspace virtual filesystem designed to work with the I/O abstractions of gio (glib)
|
|
|
|
# URL: http://projects.gnome.org/
|
|
|
|
# Packager: Matt Housh, jaeger at crux dot ninja
|
2023-07-25 20:05:53 -04:00
|
|
|
# Maintainer: mac-a-r0ni, j at lngn dot net
|
2023-06-27 10:25:52 -04:00
|
|
|
# Depends on: dbus dbus-glib glib gcr gcr3 samba libgcrypt polkit libgphoto2 libsecret meson ninja libsoup3 libgnome-keyring
|
2023-07-25 20:05:53 -04:00
|
|
|
# Optional: fuse3 udisks2 avahi libbluray libnfs libcdio-paranoia libimobiledevice gnome-online-accounts
|
2019-10-30 09:33:56 +01:00
|
|
|
|
|
|
|
name=gvfs
|
2023-09-16 08:21:49 -04:00
|
|
|
version=1.52.0
|
2023-08-08 21:49:45 -04:00
|
|
|
release=1
|
2019-10-30 09:33:56 +01:00
|
|
|
source=(http://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
2019-12-26 12:09:49 +01:00
|
|
|
|
2019-10-30 09:33:56 +01:00
|
|
|
cd $name-$version
|
2019-12-26 12:09:49 +01:00
|
|
|
|
2023-07-25 20:05:53 -04:00
|
|
|
prt-get isinst fuse3 && PKGMK_GVFS+='-D fuse=true ' || PKGMK_GVFS+=' -D fuse=false '
|
|
|
|
prt-get isinst udisks2 && PKGMK_GVFS+='-D udisks2=true ' || PKGMK_GVFS+=' -D udisks2=false '
|
|
|
|
prt-get isinst avahi && PKGMK_GVFS+='-D dnssd=true ' || PKGMK_GVFS+=' -D dnssd=false '
|
|
|
|
prt-get isinst libnfs && PKGMK_GVFS+='-D nfs=true ' || PKGMK_GVFS+=' -D nfs=false '
|
|
|
|
prt-get isinst libbluray && PKGMK_GVFS+='-D bluray=true ' || PKGMK_GVFS+=' -D bluray=false '
|
|
|
|
prt-get isinst libcdio-paranoia && PKGMK_GVFS+='-D cdda=true ' || PKGMK_GVFS+=' -D cdda=false '
|
|
|
|
prt-get isinst libimobiledevice && PKGMK_GVFS+='-D afc=true ' || PKGMK_GVFS+=' -D afc=false '
|
|
|
|
|
|
|
|
meson setup build $PKGMK_GVFS \
|
2019-12-26 12:09:49 +01:00
|
|
|
--prefix=/usr \
|
2019-10-30 09:33:56 +01:00
|
|
|
--libexecdir=/usr/lib/$name \
|
2019-12-26 12:09:49 +01:00
|
|
|
-Dlogind=false \
|
|
|
|
-Dsystemduserunitdir=no \
|
|
|
|
-Dtmpfilesdir=no \
|
|
|
|
-Dgoa=false \
|
|
|
|
-Dgoogle=false \
|
2023-07-25 20:05:53 -04:00
|
|
|
-Dmtp=false
|
2019-12-26 12:09:49 +01:00
|
|
|
|
|
|
|
DESTDIR=$PKG ninja -C build install
|
|
|
|
|
2020-09-30 03:24:37 +02:00
|
|
|
rm -r $PKG/usr/share/locale
|
|
|
|
|
2019-10-30 09:33:56 +01:00
|
|
|
}
|