commit 480f891c5b1f9956be4280deee4ea6004a74fd65
Author: Gergely Gombos <gombosg(a)disroot.org>
Date: Sat Sep 25 16:05:16 2021 +0200
initial 0.3.36
.gitignore | 1 +
pipewire-codec-aptx.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 52 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..03f525e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pipewire-0.3.36.tar.gz
diff --git a/pipewire-codec-aptx.spec b/pipewire-codec-aptx.spec
new file mode 100644
index 0000000..9a24a25
--- /dev/null
+++ b/pipewire-codec-aptx.spec
@@ -0,0 +1,50 @@
+%global spaversion 0.2
+
+%global pipewire_version 0.3.36
+
+Name: pipewire-codec-aptx
+Summary: PipeWire Bluetooth aptX codec plugin
+Version: %{pipewire_version}
+Release: 3%{?dist}
+License: MIT
+URL:
https://pipewire.org/
+Source0:
https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/%{version}/pip...
+
+BuildRequires: meson >= 0.49.0
+BuildRequires: gcc-c++
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(bluez)
+BuildRequires: sbc-devel
+BuildRequires: libfreeaptx-devel
+
+Requires: pipewire >= %{pipewire_version}
+
+%description
+PipeWire media server Bluetooth aptX codec plugin.
+
+%prep
+%autosetup -p1 -n pipewire-%{version}
+
+%build
+%meson --auto-features=disabled -D examples=disabled \
+ -D bluez5=enabled -D bluez5-codec-aptx=enabled
+%meson_build spa-codec-bluez5-aptx
+
+%install
+mkdir -p %{buildroot}%{_libdir}/spa-%{spaversion}/bluez5
+install -pm 0755 %{_vpath_builddir}/spa/plugins/bluez5/libspa-codec-bluez5-aptx.so \
+ %{buildroot}%{_libdir}/spa-%{spaversion}/bluez5/
+
+%files
+%license COPYING
+%{_libdir}/spa-%{spaversion}/bluez5/libspa-codec-bluez5-aptx.so
+
+%changelog
+* Wed Sep 22 2021 Gergely Gombos <gombosg(a)disroot.org> - 0.3.36-3
+- Review fixes
+
+* Tue Sep 21 2021 Gergely Gombos <gombosg(a)disroot.org> - 0.3.36-2
+- Initial packaging
+
+* Thu Sep 16 2021 Pauli Virtanen <pav(a)iki.fi> - 0.3.36-1
+- Initial version (kudos!)
diff --git a/sources b/sources
index e69de29..a6449fd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (pipewire-0.3.36.tar.gz) =
f0fc68ea005018b420a4f65a24dc9c85eb6263c24e66852a7ce2b03f966990d62487b388c7d73ff5adfc10c80c439b1200ae876e41d78f91db190036a1799a14