aboutsummaryrefslogtreecommitdiff
path: root/gvfs/Pkgfile
diff options
context:
space:
mode:
authorJay Lanagan <j@lngn.net>2025-09-29 09:51:28 -0400
committerJay Lanagan <j@lngn.net>2025-09-29 09:51:28 -0400
commit9a6af577ce42cb73efc98c09ab1ef6f9e0083153 (patch)
tree883063343f20fe827c5aecdaa40fa9ddde2ecaf2 /gvfs/Pkgfile
parentab119e4809a15d37522b7aea45d55911f8d43ac9 (diff)
downloadcrux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.tar.gz
crux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.zip
xfce4: initial migration
Diffstat (limited to 'gvfs/Pkgfile')
-rw-r--r--gvfs/Pkgfile40
1 files changed, 40 insertions, 0 deletions
diff --git a/gvfs/Pkgfile b/gvfs/Pkgfile
new file mode 100644
index 0000000..ffcd811
--- /dev/null
+++ b/gvfs/Pkgfile
@@ -0,0 +1,40 @@
+# 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
+# Maintainer: Jay Lanagan, j at lngn dot net
+# Depends on: dbus-glib gcr gcr3 samba polkit libgphoto2 libsoup3 libgnome-keyring libgudev
+# Optional: fuse3 udisks2 avahi libbluray libnfs libcdio-paranoia libimobiledevice
+
+name=gvfs
+version=1.58.0
+release=1
+source=(http://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz)
+
+build() {
+
+ cd $name-$version
+
+ 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 \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/$name \
+ -Dlogind=false \
+ -Dsystemduserunitdir=no \
+ -Dtmpfilesdir=no \
+ -Dgoa=false \
+ -Donedrive=false \
+ -Dgoogle=false \
+ -Dmtp=false
+
+ DESTDIR=$PKG ninja -C build install
+
+ rm -r $PKG/usr/share/locale
+
+}