Add build sw_64 support

Signed-off-by: yangchenguang <yangchenguang@kylinsec.com.cn>
(cherry picked from commit 8287c53ee90d608d52c3210b487944d0be192abe)
This commit is contained in:
yangchenguang 2024-02-04 09:27:51 +08:00 committed by openeuler-sync-bot
parent afcb1c3053
commit 0e26ebb4f5
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
diff -Naur gst-plugins-base-1.18.4.org/meson.build gst-plugins-base-1.18.4.sw/meson.build
--- gst-plugins-base-1.18.4.org/meson.build 2022-03-11 05:47:56.152357080 +0000
+++ gst-plugins-base-1.18.4.sw/meson.build 2022-03-11 05:55:05.152357080 +0000
@@ -123,6 +123,7 @@
[ 'powerpc', 'HAVE_CPU_PPC' ],
[ 'powerpc64', 'HAVE_CPU_PPC64' ],
[ 'alpha', 'HAVE_CPU_ALPHA' ],
+ [ 'sw_64', 'HAVE_CPU_SW_64' ],
[ 'sparc', 'HAVE_CPU_SPARC' ],
[ 'ia64', 'HAVE_CPU_IA64' ],
[ 'hppa', 'HAVE_CPU_HPPA' ],

View File

@ -3,13 +3,14 @@
Name: gstreamer1-plugins-base
Version: 1.18.4
Release: 4
Release: 5
Summary: GStreamer streaming media framework base plugins
License: LGPLv2+
URL: http://gstreamer.freedesktop.org/
Source0: http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz
Patch0: 0001-missing-plugins-Remove-the-mpegaudioversion-field.patch
Patch1000: gst-plugins-base-1.18.4-sw.patch
Patch6000: backport-xclaesse-fix-meson-0-58.patch
@ -50,6 +51,7 @@ This package provides manual for developpers.
%prep
%setup -q -n gst-plugins-base-%{version}
%patch0 -p1
%patch1000 -p1
%patch6000 -p1
%build
@ -266,6 +268,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -fv {} ';'
%{_mandir}/man1/gst-device-monitor-*.gz
%changelog
* Sun Feb 04 2024 yangchenguang <yangchenguang@kylinsec.com.cn> - 1.18.4-5
- Add build sw_64 support
* Wed Jan 31 2024 liyanan <liyanan61@h-partners.com> - 1.18.4-4
- Delete unnecessary files