Rebuild with libbluray and add bpm hook
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
trigger_actions: ["install", "upgrade", "remove"]
|
||||
targets: ["usr/share/gvfs/*"]
|
||||
run: "/var/lib/bpm/hook-scripts/gvfs.sh"
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pkill --signal USR1 --require-handler --exact gvfsd || true
|
||||
Reference in New Issue
Block a user