Update package version to 0.5.10
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user