Rebuild with libbluray and add bpm hook

This commit is contained in:
2026-07-31 12:29:26 +03:00
parent 644dd301db
commit f2b2b16843
4 changed files with 14 additions and 3 deletions
+3 -1
View File
@@ -1,7 +1,7 @@
name: gvfs name: gvfs
description: Virtual filesystem implementation for GIO description: Virtual filesystem implementation for GIO
version: 1.58.0 version: 1.58.0
revision: 8 revision: 9
url: https://gitlab.gnome.org/GNOME/gvfs url: https://gitlab.gnome.org/GNOME/gvfs
license: LGPL2-only license: LGPL2-only
maintainers: maintainers:
@@ -19,6 +19,7 @@ make_depends:
- glibc - glibc
- gsettings-desktop-schemas - gsettings-desktop-schemas
- libarchive - libarchive
- libbluray
- libcdio - libcdio
- libcdio-paranoia - libcdio-paranoia
- libgcrypt - libgcrypt
@@ -56,6 +57,7 @@ split_packages:
- glibc - glibc
- gsettings-desktop-schemas - gsettings-desktop-schemas
- libarchive - libarchive
- libbluray
- libcdio - libcdio
- libcdio-paranoia - libcdio-paranoia
- libgcrypt - libgcrypt
+5 -2
View File
@@ -8,8 +8,7 @@ build() {
meson setup build --prefix=/usr \ meson setup build --prefix=/usr \
-Dsystemduserunitdir=no \ -Dsystemduserunitdir=no \
-Dtmpfilesdir=no \ -Dtmpfilesdir=no \
-Dman=true \ -Dman=true
-Dbluray=false
meson compile -C build meson compile -C build
} }
@@ -79,6 +78,10 @@ package_gvfs() {
usr/share/glib-2.0/schemas/org.gnome.system.smb.gschema.xml \ usr/share/glib-2.0/schemas/org.gnome.system.smb.gschema.xml \
usr/share/gvfs/mounts/smb{,-browse}.mount 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 package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gvfs/COPYING install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gvfs/COPYING
} }
+3
View File
@@ -0,0 +1,3 @@
trigger_actions: ["install", "upgrade", "remove"]
targets: ["usr/share/gvfs/*"]
run: "/var/lib/bpm/hook-scripts/gvfs.sh"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
pkill --signal USR1 --require-handler --exact gvfsd || true