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