[libtgvoip] Initial release.
by Vitaly Zaitsev
Summary of changes:
7f59b60... Initial release. (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 3 months
[libtgvoip/f26] Initial release.
by Vitaly Zaitsev
Summary of changes:
7f59b60... Initial release. (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 3 months
[libtgvoip/f25] Initial release.
by Vitaly Zaitsev
Summary of changes:
7f59b60... Initial release. (*)
(*) This commit already existed in another branch; no separate mail sent
7 years, 3 months
[libtgvoip/el7] Initial release.
by Vitaly Zaitsev
commit 7f59b60be99d98318209c25451b6df224d7f327a
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri Aug 4 16:24:09 2017 +0500
Initial release.
.gitignore | 1 +
libtgvoip-build-fixes.patch | 40 ++++++++++++++++++++++
libtgvoip.spec | 83 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 125 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..540f46b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libtgvoip-bfd5cfe.tar.gz
diff --git a/libtgvoip-build-fixes.patch b/libtgvoip-build-fixes.patch
new file mode 100644
index 0000000..cbd631f
--- /dev/null
+++ b/libtgvoip-build-fixes.patch
@@ -0,0 +1,40 @@
+From b53352e8801e65c6a2e7ef1573d6f2bf0696c7cd 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.
+
+---
+ libtgvoip.gyp | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/libtgvoip.gyp b/libtgvoip.gyp
+index 527708d..c5d2cd5 100644
+--- a/libtgvoip.gyp
++++ b/libtgvoip.gyp
+@@ -4,7 +4,8 @@
+ 'targets': [
+ {
+ 'target_name': 'libtgvoip',
+- 'type': 'static_library',
++ 'type': 'shared_library',
++ 'product_extension': 'so.<!(echo -n "$VOIPVER")',
+ 'dependencies': [],
+ 'defines': [
+ 'WEBRTC_APM_DEBUG_DUMP=0',
+@@ -13,11 +14,11 @@
+ 'variables': {
+ 'tgvoip_src_loc': '.',
+ 'official_build_target%': '',
+- 'linux_path_opus_include%': '<(DEPTH)/../../../Libraries/opus/include',
+ },
+ 'include_dirs': [
+ '<(tgvoip_src_loc)/webrtc_dsp',
+- '<(linux_path_opus_include)',
++ '<!(rpm --eval "%{_includedir}")',
++ '<!(rpm --eval "%{_includedir}/opus")',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+--
+2.13.3
+
diff --git a/libtgvoip.spec b/libtgvoip.spec
new file mode 100644
index 0000000..ed38009
--- /dev/null
+++ b/libtgvoip.spec
@@ -0,0 +1,83 @@
+%global commit0 bfd5cfecb3970de2d077ec25e6fbb01797e5afe1
+%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
+%global date 20170801
+
+Summary: VoIP library for Telegram clients
+Name: libtgvoip
+Version: 1.0
+Release: 2.%{date}git%{shortcommit0}%{?dist}
+
+# Libtgvoip shared library - Public Domain.
+# Bundled webrtc library - BSD with patented echo cancellation algorithms.
+License: Public Domain and BSD
+URL: https://github.com/grishka/%{name}
+
+Source0: %{url}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
+Patch0: %{name}-build-fixes.patch
+
+Provides: bundled(webrtc-audio-processing) = 0.3
+BuildRequires: pulseaudio-libs-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: opus-devel
+BuildRequires: gcc-c++
+BuildRequires: cmake
+BuildRequires: gcc
+BuildRequires: gyp
+
+%if 0%{?fedora} >= 26
+BuildRequires: compat-openssl10-devel
+%else
+BuildRequires: openssl-devel
+%endif
+
+%description
+Provides VoIP library for Telegram clients.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description devel
+%{summary}.
+
+%prep
+%autosetup -n %{name}-%{commit0}
+
+%build
+export VOIPVER="%{version}"
+gyp --format=cmake --depth=. --generator-output=. -Goutput_dir=out -Gconfig=Release %{name}.gyp
+
+pushd out/Release
+ %cmake .
+ %make_build
+popd
+
+%install
+# Installing shared library...
+mkdir -p "%{buildroot}%{_libdir}"
+install -m 0755 -p out/Release/lib.target/%{name}.so.%{version} "%{buildroot}%{_libdir}/%{name}.so.%{version}"
+ln -s %{name}.so.%{version} "%{buildroot}%{_libdir}/%{name}.so.1"
+ln -s %{name}.so.%{version} "%{buildroot}%{_libdir}/%{name}.so"
+
+# Installing additional development files...
+mkdir -p "%{buildroot}%{_includedir}/%{name}/audio"
+find . -maxdepth 1 -type f -name "*.h" -exec install -m 0644 -p '{}' %{buildroot}%{_includedir}/%{name} \;
+find audio -maxdepth 1 -type f -name "*.h" -exec install -m 0644 -p '{}' %{buildroot}%{_includedir}/%{name}/audio \;
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%license UNLICENSE
+%{_libdir}/%{name}.so.*
+
+%files devel
+%{_includedir}/%{name}
+%{_libdir}/%{name}.so
+
+%changelog
+* Wed Aug 02 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.0-2.20170801gitbfd5cfe
+- Updated to latest snapshot. Small SPEC fixes. Added virtual provides.
+
+* Tue Aug 01 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.0-1.20170727git01f2701
+- Initial release.
diff --git a/sources b/sources
index e69de29..b12815d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2480e46da1089a24e17f923d26a5ca69 libtgvoip-bfd5cfe.tar.gz
7 years, 3 months
[xpra-codecs-freeworld/f25: 2/2] - Update to 2.1
by Antonio
commit f1ff7cc2e152318c559e2db5db1dd505c47cfa7a
Merge: 3caa043 3a7e129
Author: sagitter <sagitter(a)fedoraproject.org>
Date: Fri Aug 4 11:07:14 2017 +0200
- Update to 2.1
.gitignore | 1 +
sources | 2 +-
xpra-codecs-freeworld.spec | 6 +++++-
3 files changed, 7 insertions(+), 2 deletions(-)
---
7 years, 3 months