From f02b72d8bdebebc2e84d05c6a6efe069aa35707c Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 14 Sep 2025 13:24:21 +0300 Subject: [PATCH] Update source.sh script and rebuild with valgrind --- pkg.info | 3 ++- source.sh | 12 ++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/pkg.info b/pkg.info index 8454737..9254916 100644 --- a/pkg.info +++ b/pkg.info @@ -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 diff --git a/source.sh b/source.sh index f42bb97..548a55d 100644 --- a/source.sh +++ b/source.sh @@ -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 }