[opencore-amr] fixup compiler
by Nicolas Chauvet
Summary of changes:
2bf0741... fixup compiler (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 11 months
[opencore-amr/el7] fixup compiler
by Nicolas Chauvet
commit 2bf074112d7495bbd89de896dfc7399eb0116486
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Dec 11 18:05:51 2018 +0100
fixup compiler
opencore-amr.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/opencore-amr.spec b/opencore-amr.spec
index 849e24a..e1c2e4c 100644
--- a/opencore-amr.spec
+++ b/opencore-amr.spec
@@ -7,6 +7,10 @@ URL: http://sourceforge.net/projects/opencore-amr/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: opencore-amr-0.1.3-fix_pc.patch
+BuildRequires: gcc
+BuildRequires: gcc-c++
+
+
%description
Library of OpenCORE Framework implementation of Adaptive Multi Rate Narrowband
and Wideband speech codec.
5 years, 11 months
[opencore-amr] Spec file clean-up
by Nicolas Chauvet
commit f944ea1b75765c9dbb3c14c08a1c01f05c3fa5fb
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Dec 11 18:02:07 2018 +0100
Spec file clean-up
opencore-amr.spec | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/opencore-amr.spec b/opencore-amr.spec
index 2b00a3d..849e24a 100644
--- a/opencore-amr.spec
+++ b/opencore-amr.spec
@@ -1,8 +1,7 @@
Name: opencore-amr
Version: 0.1.5
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: OpenCORE Adaptive Multi Rate Narrowband and Wideband speech lib
-Group: System Environment/Libraries
License: ASL 2.0
URL: http://sourceforge.net/projects/opencore-amr/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -15,8 +14,7 @@ and Wideband speech codec.
%package devel
Summary: Development files for %{name}
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
@@ -35,14 +33,11 @@ mv opencore/README opencore/README.opencore
%install
-rm -rf $RPM_BUILD_ROOT
%make_install
rm $RPM_BUILD_ROOT%{_libdir}/libopencore-amr??.la
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%ldconfig_scriptlets
%files
@@ -56,6 +51,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/libopencore-amr??.la
%{_libdir}/pkgconfig/opencore-amr??.pc
%changelog
+* Tue Dec 11 2018 Nicolas Chauvet <kwizart(a)gmail.com> - 0.1.5-6
+- Spec file clean-up
+
* Sun Aug 19 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 0.1.5-5
- Rebuilt for Fedora 29 Mass Rebuild binutils issue
5 years, 11 months
[libtgvoip/f28] Added one more patch for ppc64le support.
by Vitaly Zaitsev
commit 63c14752899808dc936122ccfb08078b0934b5ef
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Tue Dec 11 16:26:47 2018 +0100
Added one more patch for ppc64le support.
libtgvoip-build-fixes.patch | 41 +++++++++++++++++++++++++++++++++++++++--
1 file changed, 39 insertions(+), 2 deletions(-)
---
diff --git a/libtgvoip-build-fixes.patch b/libtgvoip-build-fixes.patch
index 94f3e6b..62e6c38 100644
--- a/libtgvoip-build-fixes.patch
+++ b/libtgvoip-build-fixes.patch
@@ -1,4 +1,4 @@
-From 7272300fad8057c0fb7e47c0be7d50b00c75eb30 Mon Sep 17 00:00:00 2001
+From a68fc701c8110245f898100228fef2905ef6731e Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Thu, 6 Jul 2017 17:27:01 +0200
Subject: [PATCH] Fixed build of libtgvoip under Fedora as shared library.
@@ -7,8 +7,9 @@ Subject: [PATCH] Fixed build of libtgvoip under Fedora as shared library.
libtgvoip.gyp | 7 +++---
webrtc_dsp/common_audio/wav_file.cc | 20 ++++++++++++----
webrtc_dsp/common_audio/wav_header.cc | 34 ++++++++++++++++++++++++++-
+ webrtc_dsp/rtc_base/system/arch.h | 24 ++++++++++++++++++-
webrtc_dsp/typedefs.h | 24 ++++++++++++++++++-
- 4 files changed, 75 insertions(+), 10 deletions(-)
+ 5 files changed, 98 insertions(+), 11 deletions(-)
diff --git a/libtgvoip.gyp b/libtgvoip.gyp
index 8c62b56..c362667 100644
@@ -130,6 +131,42 @@ index e49b748..68a2620 100644
#endif
static inline uint32_t RiffChunkSize(size_t bytes_in_payload) {
+diff --git a/webrtc_dsp/rtc_base/system/arch.h b/webrtc_dsp/rtc_base/system/arch.h
+index 326b83e..ef27c17 100644
+--- a/webrtc_dsp/rtc_base/system/arch.h
++++ b/webrtc_dsp/rtc_base/system/arch.h
+@@ -47,8 +47,30 @@
+ #elif defined(__pnacl__)
+ #define WEBRTC_ARCH_32_BITS
+ #define WEBRTC_ARCH_LITTLE_ENDIAN
++#elif defined(__powerpc64__)
++#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
++#define WEBRTC_ARCH_LITTLE_ENDIAN
++#else
++#define WEBRTC_ARCH_BIG_ENDIAN
++#endif
++#define WEBRTC_ARCH_64_BITS
++#elif defined(__powerpc__)
++#define WEBRTC_ARCH_BIG_ENDIAN
++#define WEBRTC_ARCH_32_BITS
++#else
++/* instead of failing, use typical unix defines... */
++#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
++#define WEBRTC_ARCH_LITTLE_ENDIAN
++#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
++#define WEBRTC_ARCH_BIG_ENDIAN
+ #else
+-#error Please add support for your architecture in typedefs.h
++#error __BYTE_ORDER__ is not defined
++#endif
++#if defined(__LP64__)
++#define WEBRTC_ARCH_64_BITS
++#else
++#define WEBRTC_ARCH_32_BITS
++#endif
+ #endif
+
+ #if !(defined(WEBRTC_ARCH_LITTLE_ENDIAN) ^ defined(WEBRTC_ARCH_BIG_ENDIAN))
diff --git a/webrtc_dsp/typedefs.h b/webrtc_dsp/typedefs.h
index c960d95..d6ce35e 100644
--- a/webrtc_dsp/typedefs.h
5 years, 11 months