]> git.pld-linux.org Git - packages/apulse.git/commitdiff
- new master
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Tue, 21 Dec 2021 14:19:00 +0000 (15:19 +0100)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Tue, 21 Dec 2021 14:19:00 +0000 (15:19 +0100)
apulse.spec [new file with mode: 0644]

diff --git a/apulse.spec b/apulse.spec
new file mode 100644 (file)
index 0000000..234787b
--- /dev/null
@@ -0,0 +1,60 @@
+Summary:       PulseAudio emulation for ALSA
+Summary(pl.UTF-8):     Emulacja PulseAudio dla Alsy
+Name:          apulse
+Version:       0.1.13
+Release:       1
+License:       MIT
+Group:         Libraries
+Source0:       https://github.com/i-rinat/apulse/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 90a9608a1b30f221925fb363dc2580a6
+URL:           https://github.com/i-rinat/apulse
+BuildRequires: alsa-lib-devel
+BuildRequires: glib2-devel
+BuildRequires: cmake >= 2.8.0
+BuildRequires: rpmbuild(macros) >= 1.605
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The program provides an alternative partial implementation of the
+PulseAudio API. It consists of a loader script and a number of shared
+libraries with the same names as from original PulseAudio, so
+applications could dynamically load them and think they are talking to
+PulseAudio. Internally, no separate sound mixing daemon is used.
+Instead, apulse relies on ALSA's `dmix`, `dsnoop`, and `plug` plugins
+to handle multiple sound sources and capture streams running at the
+same time. `dmix` plugin muxes multiple playback streams; `dsnoop`
+plugin allow multiple applications to capture from a single
+microphone; and `plug` plugin transparently converts audio between
+various sample formats, sample rates and channel numbers. For more
+than a decade now, ALSA comes with these plugins enabled and
+configured by default.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+%cmake \
+       ../
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_bindir}/apulse
+%{_prefix}/lib/apulse/libpulse-mainloop-glib.so
+%{_prefix}/lib/apulse/libpulse-mainloop-glib.so.0
+%{_prefix}/lib/apulse/libpulse-simple.so
+%{_prefix}/lib/apulse/libpulse-simple.so.0
+%{_prefix}/lib/apulse/libpulse.so
+%{_prefix}/lib/apulse/libpulse.so.0
+%{_mandir}/man1/apulse.1*
This page took 0.594877 seconds and 4 git commands to generate.