Update package version to 0.5.10

This commit is contained in:
2025-07-17 13:34:10 +03:00
parent 5f60ae4c6a
commit adce1e92b0
4 changed files with 36 additions and 5 deletions
+9 -4
View File
@@ -19,22 +19,27 @@ build() {
cd build
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Dsystem-lua=true -Delogind=enabled ..
ninja
meson compile
}
# The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly
check() {
cd build
ninja test
meson test
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
cd build
DESTDIR="$BPM_OUTPUT" ninja install
install -Dm644 "$BPM_SOURCE"/{NEWS,README}* -t "$BPM_OUTPUT"/usr/share/doc/wireplumber/
meson install --destdir="$BPM_OUTPUT"
# Install wireplumber launcher config file from Void Linux
install -Dm644 "$BPM_WORKDIR"/10-wireplumber.conf "$BPM_OUTPUT"/usr/share/examples/wireplumber/10-wireplumber.conf
# Install package license
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/wireplumber/LICENSE
}