Accepting request 1112499 from home:alarrosa:branches:multimedia:libs:webrtc-audio-processing
- Rename the generated library package names to add a dash between the name and soname (libwebrtc*-1-3 instead of libwebrtc*1-3) - Rename the generated packages to use dashes instead of underscores - Change baselibs.conf accordingly - Add patch to reduce the required meson version so the package builds in Leap 15.4/15.5: * reduce-meson-dep.patch OBS-URL: https://build.opensuse.org/request/show/1112499 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/webrtc-audio-processing?expand=0&rev=20
This commit is contained in:
parent
f0ff330476
commit
66cc117aac
@ -1,2 +1,2 @@
|
|||||||
libwebrtc_audio_processing1-3
|
libwebrtc-audio-processing-1-3
|
||||||
libwebrtc_audio_coding1-3
|
libwebrtc-audio-coding-1-3
|
||||||
|
12
reduce-meson-dep.patch
Normal file
12
reduce-meson-dep.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: webrtc-audio-processing-1.3/meson.build
|
||||||
|
===================================================================
|
||||||
|
--- webrtc-audio-processing-1.3.orig/meson.build
|
||||||
|
+++ webrtc-audio-processing-1.3/meson.build
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
project('webrtc-audio-processing', 'c', 'cpp',
|
||||||
|
version : '1.3',
|
||||||
|
- meson_version : '>= 0.63',
|
||||||
|
+ meson_version : '>= 0.59.4',
|
||||||
|
default_options : [ 'warning_level=1',
|
||||||
|
'buildtype=debugoptimized',
|
||||||
|
'c_std=c11',
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 20 09:04:13 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
- Rename the generated library package names to add a dash between
|
||||||
|
the name and soname (libwebrtc*-1-3 instead of libwebrtc*1-3)
|
||||||
|
- Rename the generated packages to use dashes instead of underscores
|
||||||
|
- Change baselibs.conf accordingly
|
||||||
|
- Add patch to reduce the required meson version so the package
|
||||||
|
builds in Leap 15.4/15.5:
|
||||||
|
* reduce-meson-dep.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 08 10:40:12 UTC 2023 - alarrosa@suse.com
|
Fri Sep 08 10:40:12 UTC 2023 - alarrosa@suse.com
|
||||||
|
|
||||||
|
@ -40,12 +40,14 @@ Patch3: fix-i586.patch
|
|||||||
# PATCH-FIX-OPENSUSE webrtc-(ppc64|s390x|aarch64).patch
|
# PATCH-FIX-OPENSUSE webrtc-(ppc64|s390x|aarch64).patch
|
||||||
Patch100: webrtc-ppc64.patch
|
Patch100: webrtc-ppc64.patch
|
||||||
Patch101: webrtc-s390x.patch
|
Patch101: webrtc-s390x.patch
|
||||||
|
# PATCH-FIX-OPENSUSE reduce-meson-dep.patch
|
||||||
|
Patch102: reduce-meson-dep.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: meson >= 0.63
|
BuildRequires: meson >= 0.59.4
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRequires: cmake(absl)
|
BuildRequires: cmake(absl)
|
||||||
@ -57,70 +59,70 @@ components have been optimized to best serve this purpose.
|
|||||||
|
|
||||||
WebRTC implements the W3C's proposal for video conferencing on the web.
|
WebRTC implements the W3C's proposal for video conferencing on the web.
|
||||||
|
|
||||||
%package -n libwebrtc_audio_processing%{pkg_soname}
|
%package -n libwebrtc-audio-processing-%{pkg_soname}
|
||||||
Summary: Real-Time Communication Library for Web Browsers
|
Summary: Real-Time Communication Library for Web Browsers
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libwebrtc_audio_processing%{pkg_soname}
|
%description -n libwebrtc-audio-processing-%{pkg_soname}
|
||||||
WebRTC is an open source project that enables web browsers with Real-Time
|
WebRTC is an open source project that enables web browsers with Real-Time
|
||||||
Communications (RTC) capabilities via simple Javascript APIs. The WebRTC
|
Communications (RTC) capabilities via simple Javascript APIs. The WebRTC
|
||||||
components have been optimized to best serve this purpose.
|
components have been optimized to best serve this purpose.
|
||||||
|
|
||||||
WebRTC implements the W3C's proposal for video conferencing on the web.
|
WebRTC implements the W3C's proposal for video conferencing on the web.
|
||||||
|
|
||||||
%package -n libwebrtc_audio_processing-devel
|
%package -n libwebrtc-audio-processing-devel
|
||||||
Summary: Real-Time Communication Library for Web Browsers
|
Summary: Real-Time Communication Library for Web Browsers
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libwebrtc_audio_processing%{pkg_soname} = %{version}
|
Requires: libwebrtc_audio_processing%{pkg_soname} = %{version}
|
||||||
|
|
||||||
%description -n libwebrtc_audio_processing-devel
|
%description -n libwebrtc-audio-processing-devel
|
||||||
WebRTC is an open source project that enables web browsers with Real-Time
|
WebRTC is an open source project that enables web browsers with Real-Time
|
||||||
Communications (RTC) capabilities via simple Javascript APIs. The WebRTC
|
Communications (RTC) capabilities via simple Javascript APIs. The WebRTC
|
||||||
components have been optimized to best serve this purpose.
|
components have been optimized to best serve this purpose.
|
||||||
|
|
||||||
WebRTC implements the W3C's proposal for video conferencing on the web.
|
WebRTC implements the W3C's proposal for video conferencing on the web.
|
||||||
|
|
||||||
%package -n libwebrtc_audio_processing-devel-static
|
%package -n libwebrtc-audio-processing-devel-static
|
||||||
Summary: Real-Time Communication Library for Web Browsers
|
Summary: Real-Time Communication Library for Web Browsers
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libwebrtc_audio_processing-devel = %{version}
|
Requires: libwebrtc_audio_processing-devel = %{version}
|
||||||
|
|
||||||
%description -n libwebrtc_audio_processing-devel-static
|
%description -n libwebrtc-audio-processing-devel-static
|
||||||
WebRTC is an open source project that enables web browsers with Real-Time
|
WebRTC is an open source project that enables web browsers with Real-Time
|
||||||
Communications (RTC) capabilities via simple Javascript APIs. The WebRTC
|
Communications (RTC) capabilities via simple Javascript APIs. The WebRTC
|
||||||
components have been optimized to best serve this purpose.
|
components have been optimized to best serve this purpose.
|
||||||
|
|
||||||
WebRTC implements the W3C's proposal for video conferencing on the web.
|
WebRTC implements the W3C's proposal for video conferencing on the web.
|
||||||
|
|
||||||
%package -n libwebrtc_audio_coding%{pkg_soname}
|
%package -n libwebrtc-audio-coding-%{pkg_soname}
|
||||||
Summary: Real-Time Communication Library for Web Browsers
|
Summary: Real-Time Communication Library for Web Browsers
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libwebrtc_audio_coding%{pkg_soname}
|
%description -n libwebrtc-audio-coding-%{pkg_soname}
|
||||||
WebRTC is an open source project that enables web browsers with Real-Time
|
WebRTC is an open source project that enables web browsers with Real-Time
|
||||||
Communications (RTC) capabilities via simple Javascript APIs. The WebRTC
|
Communications (RTC) capabilities via simple Javascript APIs. The WebRTC
|
||||||
components have been optimized to best serve this purpose.
|
components have been optimized to best serve this purpose.
|
||||||
|
|
||||||
WebRTC implements the W3C's proposal for video conferencing on the web.
|
WebRTC implements the W3C's proposal for video conferencing on the web.
|
||||||
|
|
||||||
%package -n libwebrtc_audio_coding-devel
|
%package -n libwebrtc-audio-coding-devel
|
||||||
Summary: Real-Time Communication Library for Web Browsers
|
Summary: Real-Time Communication Library for Web Browsers
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libwebrtc_audio_coding%{pkg_soname} = %{version}
|
Requires: libwebrtc_audio_coding%{pkg_soname} = %{version}
|
||||||
|
|
||||||
%description -n libwebrtc_audio_coding-devel
|
%description -n libwebrtc-audio-coding-devel
|
||||||
WebRTC is an open source project that enables web browsers with Real-Time
|
WebRTC is an open source project that enables web browsers with Real-Time
|
||||||
Communications (RTC) capabilities via simple Javascript APIs. The WebRTC
|
Communications (RTC) capabilities via simple Javascript APIs. The WebRTC
|
||||||
components have been optimized to best serve this purpose.
|
components have been optimized to best serve this purpose.
|
||||||
|
|
||||||
WebRTC implements the W3C's proposal for video conferencing on the web.
|
WebRTC implements the W3C's proposal for video conferencing on the web.
|
||||||
|
|
||||||
%package -n libwebrtc_audio_coding-devel-static
|
%package -n libwebrtc-audio-coding-devel-static
|
||||||
Summary: Real-Time Communication Library for Web Browsers
|
Summary: Real-Time Communication Library for Web Browsers
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libwebrtc_audio_coding-devel = %{version}
|
Requires: libwebrtc_audio_coding-devel = %{version}
|
||||||
|
|
||||||
%description -n libwebrtc_audio_coding-devel-static
|
%description -n libwebrtc-audio-coding-devel-static
|
||||||
WebRTC is an open source project that enables web browsers with Real-Time
|
WebRTC is an open source project that enables web browsers with Real-Time
|
||||||
Communications (RTC) capabilities via simple Javascript APIs. The WebRTC
|
Communications (RTC) capabilities via simple Javascript APIs. The WebRTC
|
||||||
components have been optimized to best serve this purpose.
|
components have been optimized to best serve this purpose.
|
||||||
@ -136,11 +138,12 @@ sed -i 's/\r$//' AUTHORS
|
|||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
%patch101 -p1
|
%patch101 -p1
|
||||||
|
%patch102 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
%meson \
|
%meson \
|
||||||
-Dc_std=gnu17 \
|
-Dc_std=gnu11 \
|
||||||
-Dcpp_std=gnu++17 \
|
-Dcpp_std=gnu++17 \
|
||||||
-Ddefault_library=both \
|
-Ddefault_library=both \
|
||||||
-Dc_args="${CFLAGS} ${LDFLAGS}" \
|
-Dc_args="${CFLAGS} ${LDFLAGS}" \
|
||||||
@ -153,34 +156,34 @@ sed -i 's/\r$//' AUTHORS
|
|||||||
|
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libwebrtc_audio_processing%{pkg_soname} -p /sbin/ldconfig
|
%post -n libwebrtc-audio-processing-%{pkg_soname} -p /sbin/ldconfig
|
||||||
%postun -n libwebrtc_audio_processing%{pkg_soname} -p /sbin/ldconfig
|
%postun -n libwebrtc-audio-processing-%{pkg_soname} -p /sbin/ldconfig
|
||||||
%post -n libwebrtc_audio_coding%{pkg_soname} -p /sbin/ldconfig
|
%post -n libwebrtc-audio-coding-%{pkg_soname} -p /sbin/ldconfig
|
||||||
%postun -n libwebrtc_audio_coding%{pkg_soname} -p /sbin/ldconfig
|
%postun -n libwebrtc-audio-coding-%{pkg_soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libwebrtc_audio_processing%{pkg_soname}
|
%files -n libwebrtc-audio-processing-%{pkg_soname}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS NEWS README.md UPDATING.md
|
%doc AUTHORS NEWS README.md UPDATING.md
|
||||||
%{_libdir}/libwebrtc-audio-processing-1.so.%{soname}*
|
%{_libdir}/libwebrtc-audio-processing-1.so.%{soname}*
|
||||||
|
|
||||||
%files -n libwebrtc_audio_processing-devel
|
%files -n libwebrtc-audio-processing-devel
|
||||||
%{_includedir}/webrtc-audio-processing-1
|
%{_includedir}/webrtc-audio-processing-1
|
||||||
%{_libdir}/libwebrtc-audio-processing-1.so
|
%{_libdir}/libwebrtc-audio-processing-1.so
|
||||||
%{_libdir}/pkgconfig/webrtc-audio-processing-1.pc
|
%{_libdir}/pkgconfig/webrtc-audio-processing-1.pc
|
||||||
|
|
||||||
%files -n libwebrtc_audio_processing-devel-static
|
%files -n libwebrtc-audio-processing-devel-static
|
||||||
%{_libdir}/libwebrtc-audio-processing-1.a
|
%{_libdir}/libwebrtc-audio-processing-1.a
|
||||||
|
|
||||||
%files -n libwebrtc_audio_coding%{pkg_soname}
|
%files -n libwebrtc-audio-coding-%{pkg_soname}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS NEWS README.md UPDATING.md
|
%doc AUTHORS NEWS README.md UPDATING.md
|
||||||
%{_libdir}/libwebrtc-audio-coding-1.so.%{soname}*
|
%{_libdir}/libwebrtc-audio-coding-1.so.%{soname}*
|
||||||
|
|
||||||
%files -n libwebrtc_audio_coding-devel
|
%files -n libwebrtc-audio-coding-devel
|
||||||
%{_libdir}/libwebrtc-audio-coding-1.so
|
%{_libdir}/libwebrtc-audio-coding-1.so
|
||||||
%{_libdir}/pkgconfig/webrtc-audio-coding-1.pc
|
%{_libdir}/pkgconfig/webrtc-audio-coding-1.pc
|
||||||
|
|
||||||
%files -n libwebrtc_audio_coding-devel-static
|
%files -n libwebrtc-audio-coding-devel-static
|
||||||
%{_libdir}/libwebrtc-audio-coding-1.a
|
%{_libdir}/libwebrtc-audio-coding-1.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user