Update source.sh script and rebuild with valgrind
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
name: gst-plugins-base
|
||||
description: Gstreamer base plugins
|
||||
version: 1.27.2
|
||||
revision: 2
|
||||
url: https://gstreamer.freedesktop.org/
|
||||
license: LGPL2.1-or-later
|
||||
architecture: any
|
||||
depends: ["alsa-lib","cairo","glib","glibc","gstreamer","libogg","libvorbis","opus","pango"]
|
||||
make_depends: ["bzip2","graphene","meson","wayland-protocols","zlib"]
|
||||
make_depends: ["bzip2","graphene","meson","valgrind","wayland-protocols","zlib"]
|
||||
type: source
|
||||
|
||||
@@ -15,19 +15,15 @@ prepare() {
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
meson setup --prefix=/usr --buildtype=release --wrap-mode=nodownload ..
|
||||
meson compile
|
||||
meson setup --prefix=/usr --buildtype=release -Dorc=disabled build
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
# 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
|
||||
|
||||
meson install --destdir="$BPM_OUTPUT"
|
||||
meson install -C build --destdir="$BPM_OUTPUT"
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gst-plugins-base/COPYING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user