mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-07 14:27:10 +02:00
community/gst-plugins-good: upgrade to 1.24.3
AMR-NB and AMR-WB have been moved from ugly: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4512/diffs#c8e0fccfb8465c6852f839670ba44d55f88189e2 Disable qt_x11 support, in arm, as that requires OpenGL and those architectures are only built with OpenGLES
This commit is contained in:
parent
512fad9123
commit
b01505fbd0
@ -1,6 +1,6 @@
|
|||||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||||
pkgname=gst-plugins-good
|
pkgname=gst-plugins-good
|
||||||
pkgver=1.22.11
|
pkgver=1.24.3
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="GStreamer streaming media framework good plug-ins"
|
pkgdesc="GStreamer streaming media framework good plug-ins"
|
||||||
url="https://gstreamer.freedesktop.org"
|
url="https://gstreamer.freedesktop.org"
|
||||||
@ -38,6 +38,7 @@ makedepends="
|
|||||||
meson
|
meson
|
||||||
mpg123-dev
|
mpg123-dev
|
||||||
nasm
|
nasm
|
||||||
|
opencore-amr-dev
|
||||||
orc-compiler
|
orc-compiler
|
||||||
orc-dev
|
orc-dev
|
||||||
pulseaudio-dev
|
pulseaudio-dev
|
||||||
@ -55,7 +56,6 @@ makedepends="
|
|||||||
ldpath="/usr/lib/gstreamer-1.0"
|
ldpath="/usr/lib/gstreamer-1.0"
|
||||||
source="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.xz
|
source="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.xz
|
||||||
flaky-test.patch
|
flaky-test.patch
|
||||||
tests-fix-memory-corruption.patch
|
|
||||||
"
|
"
|
||||||
|
|
||||||
case "$CARCH" in
|
case "$CARCH" in
|
||||||
@ -93,6 +93,13 @@ esac
|
|||||||
# - CVE-2016-10199
|
# - CVE-2016-10199
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
local qt_x11="enabled"
|
||||||
|
case "$CTARGET_ARCH" in
|
||||||
|
arm*|aarch64)
|
||||||
|
qt_x11="disabled"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# MPG123_NO_LARGENAME: fix undefined reference to
|
# MPG123_NO_LARGENAME: fix undefined reference to
|
||||||
# `mpg123_decode_frame_64' in function
|
# `mpg123_decode_frame_64' in function
|
||||||
# `gst_mpg123_audio_dec_handle_frame'
|
# `gst_mpg123_audio_dec_handle_frame'
|
||||||
@ -105,6 +112,9 @@ build() {
|
|||||||
-Dpackage-origin="https://alpinelinux.org" \
|
-Dpackage-origin="https://alpinelinux.org" \
|
||||||
-Dpackage-name="GStreamer good plug-ins (Alpine Linux)" \
|
-Dpackage-name="GStreamer good plug-ins (Alpine Linux)" \
|
||||||
-Dtests="$(want_check && echo enabled || echo disabled)" \
|
-Dtests="$(want_check && echo enabled || echo disabled)" \
|
||||||
|
-Damrnb=enabled \
|
||||||
|
-Damrwbdec=enabled \
|
||||||
|
-Dqt-x11=$qt_x11 \
|
||||||
. output
|
. output
|
||||||
meson compile -C output
|
meson compile -C output
|
||||||
}
|
}
|
||||||
@ -142,7 +152,6 @@ gtk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
e6105c90a66bfee8a69f621bf44f53fcbf832ec9290cee984354da91e57b61d2bbd548e3ad0c5d9f859d0c3f5ba3c313539f24b350e0a7acf29cb8983d4f40cb gst-plugins-good-1.22.11.tar.xz
|
338469b7c7ed1a1570b3e734107332998b3e8eb96a1275cddc3ba92b0050e35d9e9902d0668653593cf74d14f4bb23f2eabdc61f0248df5d9cfee3e76c6cab0c gst-plugins-good-1.24.3.tar.xz
|
||||||
e471a892c511c501fdd336cd1729df4e955e266a395260db50665b4ee717d881a007ae84873c57e386931c042ce08ee8f3ab8e102ba251632f724e167b5af913 flaky-test.patch
|
e471a892c511c501fdd336cd1729df4e955e266a395260db50665b4ee717d881a007ae84873c57e386931c042ce08ee8f3ab8e102ba251632f724e167b5af913 flaky-test.patch
|
||||||
7779f0eee4dda158c88e19e4d0534afd5cdde393d269f88a521cda0f2106afc2a0b386cc7b13242fed8ce7f71e4d9400507e5bef19bc0374eadc81a0a5e3a14b tests-fix-memory-corruption.patch
|
|
||||||
"
|
"
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
From f6f3c1527fa799042fb0906ac221c2d01ce88d2b Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <tim@centricular.com>
|
|
||||||
Date: Thu, 28 Mar 2024 19:49:46 +0000
|
|
||||||
Subject: [PATCH] tests: rtpred: fix out-of-bound writes
|
|
||||||
|
|
||||||
Don't write more data to the buffer than we allocated
|
|
||||||
space for.
|
|
||||||
|
|
||||||
Fixes #3312
|
|
||||||
---
|
|
||||||
subprojects/gst-plugins-good/tests/check/elements/rtpred.c | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/subprojects/gst-plugins-good/tests/check/elements/rtpred.c b/subprojects/gst-plugins-good/tests/check/elements/rtpred.c
|
|
||||||
index 99b08fdd7a0..80dd2715f56 100644
|
|
||||||
--- a/tests/check/elements/rtpred.c
|
|
||||||
+++ b/tests/check/elements/rtpred.c
|
|
||||||
@@ -398,7 +398,7 @@ GST_START_TEST (rtpreddec_invalid)
|
|
||||||
bufinp =
|
|
||||||
_new_rtp_buffer (FALSE, 0, PT_RED, 1, TIMESTAMP_NTH (1), 0xabe2b0b, 1);
|
|
||||||
fail_unless (gst_rtp_buffer_map (bufinp, GST_MAP_WRITE, &rtp));
|
|
||||||
- memcpy (gst_rtp_buffer_get_payload (&rtp), &data, sizeof (data));
|
|
||||||
+ memcpy (gst_rtp_buffer_get_payload (&rtp), &data, 1);
|
|
||||||
gst_rtp_buffer_unmap (&rtp);
|
|
||||||
_push_and_check_didnt_go_through (h, bufinp);
|
|
||||||
|
|
||||||
@@ -406,7 +406,7 @@ GST_START_TEST (rtpreddec_invalid)
|
|
||||||
bufinp =
|
|
||||||
_new_rtp_buffer (FALSE, 0, PT_RED, 2, TIMESTAMP_NTH (2), 0xabe2b0b, 4);
|
|
||||||
fail_unless (gst_rtp_buffer_map (bufinp, GST_MAP_WRITE, &rtp));
|
|
||||||
- memcpy (gst_rtp_buffer_get_payload (&rtp), &data, sizeof (data));
|
|
||||||
+ memcpy (gst_rtp_buffer_get_payload (&rtp), &data, 4);
|
|
||||||
gst_rtp_buffer_unmap (&rtp);
|
|
||||||
_push_and_check_didnt_go_through (h, bufinp);
|
|
||||||
|
|
||||||
--
|
|
||||||
GitLab
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user