diff --git a/info.yml b/info.yml index da73a90..15c01d4 100644 --- a/info.yml +++ b/info.yml @@ -1,7 +1,7 @@ name: gvfs description: Virtual filesystem implementation for GIO version: 1.58.0 -revision: 8 +revision: 9 url: https://gitlab.gnome.org/GNOME/gvfs license: LGPL2-only maintainers: @@ -19,6 +19,7 @@ make_depends: - glibc - gsettings-desktop-schemas - libarchive + - libbluray - libcdio - libcdio-paranoia - libgcrypt @@ -56,6 +57,7 @@ split_packages: - glibc - gsettings-desktop-schemas - libarchive + - libbluray - libcdio - libcdio-paranoia - libgcrypt diff --git a/recipe.sh b/recipe.sh index 871f37b..ba3a0c8 100644 --- a/recipe.sh +++ b/recipe.sh @@ -8,8 +8,7 @@ build() { meson setup build --prefix=/usr \ -Dsystemduserunitdir=no \ -Dtmpfilesdir=no \ - -Dman=true \ - -Dbluray=false + -Dman=true meson compile -C build } @@ -79,6 +78,10 @@ package_gvfs() { usr/share/glib-2.0/schemas/org.gnome.system.smb.gschema.xml \ usr/share/gvfs/mounts/smb{,-browse}.mount + # Install bpm hook + install -Dm644 "$BPM_WORKDIR"/gvfs.bpmhook "$BPM_OUTPUT"/var/lib/bpm/hooks/gvfs.bpmhook + install -Dm755 "$BPM_WORKDIR"/gvfs.sh "$BPM_OUTPUT"/var/lib/bpm/hook-scripts/gvfs.sh + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gvfs/COPYING } diff --git a/source-files/gvfs.bpmhook b/source-files/gvfs.bpmhook new file mode 100644 index 0000000..73d7c60 --- /dev/null +++ b/source-files/gvfs.bpmhook @@ -0,0 +1,3 @@ +trigger_actions: ["install", "upgrade", "remove"] +targets: ["usr/share/gvfs/*"] +run: "/var/lib/bpm/hook-scripts/gvfs.sh" diff --git a/source-files/gvfs.sh b/source-files/gvfs.sh new file mode 100644 index 0000000..7a8dc2c --- /dev/null +++ b/source-files/gvfs.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +pkill --signal USR1 --require-handler --exact gvfsd || true