!1 Initial packaging
From: @zhang__3125 Reviewed-by: @dwl301 Signed-off-by: @dwl301
This commit is contained in:
commit
5d8ada7ca6
BIN
callaudiod-0.1.4.tar.gz
Normal file
BIN
callaudiod-0.1.4.tar.gz
Normal file
Binary file not shown.
59
callaudiod.spec
Normal file
59
callaudiod.spec
Normal file
@ -0,0 +1,59 @@
|
||||
Name: callaudiod
|
||||
Version: 0.1.4
|
||||
Release: 1
|
||||
Summary: Daemon for dealing with audio routing during phone calls
|
||||
License: GPLv3+
|
||||
URL: https://gitlab.com/mobian1/callaudiod
|
||||
Source0: https://gitlab.com/mobian1/callaudiod/-/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc gcc-c++ meson
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||
BuildRequires: pkgconfig(libpulse)
|
||||
BuildRequires: pkgconfig(libpulse-mainloop-glib)
|
||||
|
||||
%description
|
||||
callaudiod is a daemon for dealing with audio routing during phone calls.
|
||||
It provides a D-Bus interface allowing other programs to:
|
||||
|
||||
switch audio profiles
|
||||
output audio to the speaker or back to its original port
|
||||
mute the microphone
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/callaudiocli
|
||||
%{_libdir}/libcallaudio-0.1.so.0
|
||||
%{_datadir}/dbus-1/interfaces/org.mobian_project.CallAudio.xml
|
||||
%{_datadir}/dbus-1/services/org.mobian_project.CallAudio.service
|
||||
|
||||
%files devel
|
||||
%{_includedir}/libcallaudio-0.1/libcallaudio.h
|
||||
%{_includedir}/libcallaudio-0.1/libcallaudio-enums.h
|
||||
%{_libdir}/libcallaudio-0.1.so
|
||||
%{_libdir}/pkgconfig/libcallaudio-0.1.pc
|
||||
|
||||
%changelog
|
||||
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.1.4-1
|
||||
- Initial packaging
|
||||
4
callaudiod.yaml
Normal file
4
callaudiod.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: git
|
||||
src_repo: https://gitlab.com/mobian1/callaudiod.git
|
||||
tag_prefix: ^
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user