- Rename package to webrtc-audio-processing-1 to use the unversioned package name for webrtc-audio-processing 2.1 - Use %patch -P N instead of deprecated %patchN. - ExcludeArch s390, s390x and ppc64 since big endian support is not implemented. - Remove the tar.xz file. Having the obscpio file is enough - Use also dashes instead of underscores in the manual Requires - 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 - Update to version 1.3: * build: Bump version to 1.3 * meson: Fix generation of pkgconfig files * build: Bump version to 1.2 * meson: Update minimum version based on what abseil wrap needs * build: Expose absl as a dependency of webrtc-audio-processing * meson: Update to latest wrap, install required absl headers * doc: Update tarball generation process * file_utils.h: Fix build with gcc-13 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/webrtc-audio-processing-1?expand=0&rev=1
19 lines
560 B
Diff
19 lines
560 B
Diff
--- a/webrtc/rtc_base/system/arch.h.orig
|
|
+++ b/webrtc/rtc_base/system/arch.h
|
|
@@ -63,6 +63,12 @@
|
|
#elif defined(__powerpc__)
|
|
#define WEBRTC_ARCH_BIG_ENDIAN
|
|
#define WEBRTC_ARCH_32_BITS
|
|
+#elif defined(__s390x__)
|
|
+#define WEBRTC_ARCH_BIG_ENDIAN
|
|
+#define WEBRTC_ARCH_64_BITS
|
|
+#elif defined(__s390__)
|
|
+#define WEBRTC_ARCH_BIG_ENDIAN
|
|
+#define WEBRTC_ARCH_32_BITS
|
|
#else
|
|
#error Please add support for your architecture in rtc_base/system/arch.h
|
|
#endif
|
|
# #else
|
|
# /* instead of failing, use typical unix defines... */
|
|
# #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|