commit 5efe15636bbf5ba79d0ead8ae3e12150daf6128c70ccc2d54a32b35874afe4f5 Author: Takashi Iwai Date: Sun Aug 23 07:58:49 2015 +0000 Accepting request 325064 from home:XRevan86 OBS-URL: https://build.opensuse.org/request/show/325064 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/apulse?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/apulse-0.1.6.tar.gz b/apulse-0.1.6.tar.gz new file mode 100644 index 0000000..dd2bf8a --- /dev/null +++ b/apulse-0.1.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9ffbf7aff96680beff3243758e5c1e0d4ac9043d4bd6cbfb219890b4b91c9f3 +size 101938 diff --git a/apulse.changes b/apulse.changes new file mode 100644 index 0000000..4b01f1a --- /dev/null +++ b/apulse.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Aug 20 17:47:01 UTC 2015 - sor.alexei@meowr.ru + +- Initial package. diff --git a/apulse.spec b/apulse.spec new file mode 100644 index 0000000..fca2066 --- /dev/null +++ b/apulse.spec @@ -0,0 +1,65 @@ +# +# spec file for package apulse +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define __provides_exclude_from ^%{_libdir}/apulse/.*.so.*$ +Name: apulse +Version: 0.1.6 +Release: 0 +Summary: PulseAudio emulation for ALSA +License: MIT +Group: System/Libraries +Url: https://github.com/i-rinat/apulse +Source: https://github.com/i-rinat/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: baselibs.conf +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkg-config +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(libpulse) >= 5.0 +%if %{?_lib} == lib64 +Recommends: %{name}-32bit = %{version} +%endif + +%description +PulseAudio emulation intended to be used with Skype. + +%prep +%setup -q + +%build +%cmake \ + -DUSE_BUNDLED_PULSEAUDIO_HEADERS=0 \ + -DAPULSEPATH=%{_libdir}/%{name}/ +make %{?_smp_mflags} + +%install +%cmake_install +rm -f %{buildroot}%{_libdir}/%{name}/*.so + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc LICENSE.MIT README.md +%{_bindir}/%{name} +%{_libdir}/%{name}/ + +%changelog diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..ad6da5d --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +apulse