Bruce Leidl
3db0a6b032
poky: Upgrade to Yocto 4.1 Langdale meta-citadel/recipes-kernel: citadel-kernel 5.19.9 -> 6.0.8 meta-citadel/recipes-sway: sway 1.5.1 -> 1.7 (meta-wayland) wlroots 0.12.0 -> 0.15.1 (meta-wayland) meta-gnome/recipes-connectivity: iwd 1.27 -> 1.30 (meta-oe) modemmanager 1.18.2 -> 1.18.6 (meta-oe) networkmanager 1.36.2 -> 1.40.0 (meta-oe) meta-gnome/recipes-freedesktop: libgusb 0.3.7 -> 0.3.10 (meta-oe) meta-gnome/recipes-gnome: adwaita-icon-theme 42 -> 43 (oe-core) geocode-glib 3.26.2 -> 3.26.4 (meta-oe) gjs 1.72.0 -> 1.73.2 (meta-oe) gnome-bluetooth 42.0 -> 42.4 (meta-oe) gnome-control-center 42.1 -> 43.0 gnome-desktop 42.1 -> 43.rc gnome-settings-daemon 42.1 -> 43.0 gnome-shell 42.1 -> 43.0 gsettings-desktop-schema 41.0 -> 43.0 gtk4 4.6.4 -> 4.6.7 (meta-oe) gvfs 1.50.0 -> 1.50.2 (meta-oe) libadwaita 1.1.1 -> 1.2.0 (meta-oe) libgee 0.20.4 -> 0.20.6 (meta-oe) mutter 42.1 -> 43.0 rest 0.8.1 -> 0.9.0 (meta-oe) meta-gnome/recipes-support: ell 0.50 -> 0.53 (poky) exiv2 0.26 -> 0.27.3 (meta-oe) graphene 1.10.2 -> 1.10.8 (meta-oe) gsound 1.0.2 -> 1.0.3 (meta-oe) icu_71.1 (removed from meta-gnome because this version is in poky) jansson 2.12 -> 2.14 (meta-oe) lcms 2.9 -> 2.14 (meta-oe) libdvdread 6.1.1 -> 6.1.3 (meta-oe) libndp 1.6 -> 1.8 (meta-oe) mozjs 91.8.0 -> 102.3.0 power-profiles-daemon 0.12 (new-recipe)
89 lines
3.5 KiB
BlitzBasic
89 lines
3.5 KiB
BlitzBasic
DESCRIPTION = "gvfs is a userspace virtual filesystem"
|
|
LICENSE = "LGPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=05df38dd77c35ec8431f212410a3329e"
|
|
|
|
GNOMEBASEBUILDCLASS = "meson"
|
|
inherit gnomebase gsettings bash-completion gettext upstream-version-is-even features_check useradd
|
|
|
|
DEPENDS += "libsecret glib-2.0 glib-2.0-native libgudev shadow-native \
|
|
gsettings-desktop-schemas dbus"
|
|
|
|
RDEPENDS:${PN} += "gsettings-desktop-schemas"
|
|
|
|
SRC_URI = "https://download.gnome.org/sources/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.xz;name=archive"
|
|
|
|
SRC_URI[archive.sha256sum] = "03d72b8c15ef438110f0cf457b5655266c8b515d0412b30f4d55cfa0da06ac5e"
|
|
|
|
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
|
|
|
EXTRA_OEMESON = " \
|
|
-Dbluray=false \
|
|
-Dgoa=false \
|
|
-Dgoogle=false \
|
|
-Dnfs=false \
|
|
"
|
|
|
|
PACKAGES =+ "gvfsd-ftp gvfsd-sftp gvfsd-trash"
|
|
|
|
FILES:${PN} += " \
|
|
${datadir}/glib-2.0 \
|
|
${datadir}/GConf \
|
|
${datadir}/dbus-1/services \
|
|
${libdir}/gio/modules/*.so \
|
|
${libdir}/tmpfiles.d \
|
|
${systemd_user_unitdir} \
|
|
"
|
|
|
|
FILES:${PN}-dbg += "${libdir}/gio/modules/.debug/*"
|
|
FILES:${PN}-dev += "${libdir}/gio/modules/*.la"
|
|
|
|
FILES:gvfsd-ftp = "${libexecdir}/gvfsd-ftp ${datadir}/gvfs/mounts/ftp.mount"
|
|
FILES:gvfsd-sftp = "${libexecdir}/gvfsd-sftp ${datadir}/gvfs/mounts/sftp.mount"
|
|
FILES:gvfsd-trash = "${libexecdir}/gvfsd-trash ${datadir}/gvfs/mounts/trash.mount"
|
|
|
|
RRECOMMENDS:gvfsd-ftp += "openssh-sftp openssh-ssh"
|
|
|
|
PACKAGECONFIG ?= "libgphoto2 \
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
|
${@bb.utils.contains('DISTRO_FEATURES','polkit','udisks2','',d)} \
|
|
${@bb.utils.contains('DISTRO_FEATURES','polkit','admin','',d)} \
|
|
"
|
|
|
|
PACKAGECONFIG[udisks2] = "-Dudisks2=true, -Dudisks2=false, udisks2, udisks2"
|
|
PACKAGECONFIG[admin] = "-Dadmin=true, -Dadmin=false, libcap polkit"
|
|
PACKAGECONFIG[afc] = "-Dafc=true, -Dafc=false, libimobiledevice libplist"
|
|
PACKAGECONFIG[archive] = "-Darchive=true, -Darchive=false, libarchive"
|
|
PACKAGECONFIG[dnssd] = "-Ddnssd=true, -Ddnssd=false, avahi"
|
|
PACKAGECONFIG[gcr] = "-Dgcr=true, -Dgcr=false, gcr"
|
|
PACKAGECONFIG[http] = "-Dhttp=true, -Dhttp=false, libsoup-2.4"
|
|
PACKAGECONFIG[libmtp] = "-Dmtp=true, -Dmtp=false, libmtp"
|
|
PACKAGECONFIG[logind] = "-Dlogind=true, -Dlogind=false, systemd"
|
|
PACKAGECONFIG[libgphoto2] = "-Dgphoto2=true, -Dgphoto2=false, libgphoto2"
|
|
PACKAGECONFIG[samba] = "-Dsmb=true, -Dsmb=false, samba"
|
|
PACKAGECONFIG[systemd] = "-Dsystemduserunitdir=${systemd_user_unitdir} -Dtmpfilesdir=${libdir}/tmpfiles.d, -Dsystemduserunitdir=no -Dtmpfilesdir=no, systemd"
|
|
|
|
# needs meta-filesystems
|
|
PACKAGECONFIG[fuse] = "-Dfuse=true, -Dfuse=false, fuse3"
|
|
|
|
# libcdio-paranoia recipe doesn't exist yet
|
|
PACKAGECONFIG[cdda] = "-Dcdda=true, -Dcdda=false, libcdio-paranoia"
|
|
|
|
USERADD_PACKAGES = "${PN}"
|
|
USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/${BPN}-1 polkitd"
|
|
|
|
do_install:append() {
|
|
if ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'true', 'false', d)}; then
|
|
# Fix up permissions on polkit rules.d to work with rpm4 constraints
|
|
chmod 700 ${D}/${datadir}/polkit-1/rules.d
|
|
chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
|
|
fi
|
|
|
|
# After rebuilds (not from scracth) it can happen that the executables in
|
|
# libexec ar missing executable permission flag. Not sure but it came up
|
|
# during transition to meson. Looked into build files and logs but could
|
|
# not find suspicious
|
|
for exe in `find ${D}/${libexecdir}`; do
|
|
chmod +x $exe
|
|
done
|
|
}
|