Package bluez-alsa: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | %define git %nil %define b_user bluealsa %def_enable aptx %def_enable aac %def_enable ldac %def_enable mpg123 %def_enable mp3lame %def_disable lc3plus %def_disable debug # FIXME! needs running dbus-daemon %def_disable test %def_enable cli Name: bluez-alsa Version: 4.1.1 Release: alt1 Epoch: 5 Summary: BlueZ ALSA backend for Linux License: MIT Group: Sound URL: https://github.com/Arkq/bluez-alsa Packager: L.A. Kostis <lakostis@altlinux.ru> Source: %name-%version.tar Patch0: %name-%version-%release.patch Patch1: %name-4.0.0-alt-libfreeaptx.patch Provides: alsa-plugins-bluealsa = %EVR, bluealsa = %EVR BuildRequires: systemd-devel libdbus-glib-devel, libbluez-devel, libalsa-devel, libsbc-devel libgio-devel python3-module-docutils # Packet loss concealment for HFP with mSBC codec BuildRequires: libspandsp3-devel # Helper library for dumping incoming BT data BuildRequires: libsndfile-devel # bash-completion BuildRequires: bash-completion %{?_enable_aptx:BuildRequires: libfreeaptx-devel} %{?_enable_aac:BuildRequires: libfdk-aac-devel} %{?_enable_ldac:BuildRequires: libldac-devel} %{?_enable_mpg123:BuildRequires: libmpg123-devel} %{?_enable_mp3lame:BuildRequires: liblame-devel} %{?_enable_test:BuildRequires: libcheck-devel} %{?_enable_l3plus:BuildRequires: libl3plus-devel} %{?_enable_cli:BuildRequires: libreadline-devel} # for hcitop BuildRequires: libbsd-devel libncurses-devel %description This project is a rebirth of a direct integration between Bluez and ALSA. With this application (later named as BlueALSA), one can achieve the same goal as with PulseAudio, but with less dependencies and more bare-metal-like. BlueALSA registers all known Bluetooth audio profiles in Bluez, so in theory every Bluetooth device (with audio capabilities) can be connected. In order to access the audio stream, one has to connect to the ALSA PCM device called bluealsa. The device is based on the ALSA software PCM plugin. %package -n bash-completion-%name Summary: Bash completion for %name Group: Shells BuildArch: noarch Requires: bash-completion Requires: %name = %version-%release %description -n bash-completion-%name Bash completion for %name. %package -n hcitop Summary: a simple dynamic view of HCI activity Group: System/Configuration/Other %description -n hcitop hcitop provides a dynamic real-time view of activity statistics for each HCI interface. The view is refreshed at regular intervals, and also on demand by pressing a key. To quit the program press the 'q' key, or use Ctrl-C. %prep %setup -q %autopatch -p1 %build %autoreconf %configure \ %{subst_enable aac} \ %{subst_enable ldac} \ %{subst_enable mpg123} \ %{subst_enable mp3lame} \ %{subst_enable l3plus} \ %{subst_enable debug} \ %{subst_enable test} \ %{subst_enable cli} \ %{?_enable_aptx:--with-libfreeaptx --enable-aptx --enable-aptx-hd} \ --with-alsaconfdir=%_datadir/alsa/alsa.conf.d \ --with-bash-completion \ --with-bluealsauser=%b_user \ --with-bluealsaaplayuser=%b_user \ --enable-systemd \ --enable-upower \ --enable-ofono \ --enable-a2dpconf \ --disable-static \ --enable-manpages \ --enable-msbc \ --enable-faststream \ --enable-rfcomm \ --enable-hcitop \ --localstatedir=/var %install %make DESTDIR=%buildroot install install -m0700 -d %buildroot%_localstatedir/%b_user %if_enabled test %check %make check %endif %pre /usr/sbin/useradd -r -n -g audio -M -s /dev/null -c %b_user %b_user >/dev/null 2>&1 ||: %files %doc README.md NEWS LICENSE AUTHORS %_bindir/* %exclude %_bindir/hcitop %_libdir/alsa-lib/*.so %_datadir/alsa/alsa.conf.d/*.conf %_sysconfdir/dbus-1/system.d/*.conf %_unitdir/*.service %_man1dir/* %exclude %_man1dir/hcitop.1* %_man7dir/* %_man8dir/* %dir %attr(0700,%b_user,root) %_localstatedir/%b_user %files -n hcitop %_bindir/hcitop %_man1dir/hcitop.1* %files -n bash-completion-%name %_datadir/bash-completion/completions/* %changelog * Sat Jul 01 2023 L.A. Kostis <lakostis@altlinux.ru> 5:4.1.1-alt1 - 4.1.1. * Fri May 26 2023 L.A. Kostis <lakostis@altlinux.ru> 5:4.1.0-alt1 - 4.1.0. * Sat Jan 07 2023 L.A. Kostis <lakostis@altlinux.ru> 5:4.0.0-alt0.3.g871a208 - GIT 871a208. * Wed Dec 14 2022 L.A. Kostis <lakostis@altlinux.ru> 5:4.0.0-alt0.3.g204c224 - GIT 204c224. * Mon Nov 28 2022 L.A. Kostis <lakostis@altlinux.ru> 5:4.0.0-alt0.2 - Enable hcitop. * Sun Nov 27 2022 L.A. Kostis <lakostis@altlinux.ru> 5:4.0.0-alt0.1 - 4.0.0. - Enable -cli/-rfcomm utils. - Enable faststream support. - Enable bash-completion. * Fri Sep 03 2021 L.A. Kostis <lakostis@altlinux.ru> 5:3.1.0-alt2.gaac8742 - GIT aac8742. - Switch to libfreeaptx. - Disable debug flags. - Disable static libraries. - Enable manpages. * Mon Jun 14 2021 L.A. Kostis <lakostis@altlinux.ru> 5:3.1.0-alt1.g06dc8dd - GIT 06dc8dd. - use libopenaptx. * Thu Jan 07 2021 L.A. Kostis <lakostis@altlinux.ru> 5:3.0.0-alt2.g76929fd - GIT 76929fd. - Update buildrequires. * Thu Dec 10 2020 L.A. Kostis <lakostis@altlinux.ru> 5:3.0.0-alt1.gbb39d41 - GIT bb39d41. * Sat Mar 21 2020 L.A. Kostis <lakostis@altlinux.ru> 5:2.1.0-alt1 - 2.1.0. - Enable upower (to expose battery change percentage). * Wed Sep 18 2019 L.A. Kostis <lakostis@altlinux.ru> 5:1.4.0-alt0.5 - Added DBUS/systemd support. * Tue Sep 17 2019 L.A. Kostis <lakostis@altlinux.ru> 5:1.4.0-alt0.4 - Added serial to fix collision with old bluez-4.x package. * Tue Sep 17 2019 L.A. Kostis <lakostis@altlinux.ru> 1.4.0-alt0.3 - Added tests (can be only passed locally). * Mon Sep 16 2019 L.A. Kostis <lakostis@altlinux.ru> 1.4.0-alt0.2 - Added debug switch. * Mon Sep 16 2019 L.A. Kostis <lakostis@altlinux.ru> 1.4.0-alt0.1 - Initial build for ALTLinux. |