Merge branch 'upstream' into tizen_base 11/315511/1 accepted/tizen_base accepted/tizen_base_toolchain accepted/tizen_base_x accepted/tizen_base_x_asan tizen_base accepted/tizen/base/20240828.010436 accepted/tizen/base/toolchain/20241004.030043 accepted/tizen/base/x/20240828.015834 accepted/tizen/base/x/asan/20241010.014103
authorJaechul Lee <jcsing.lee@samsung.com>
Fri, 2 Aug 2024 02:31:16 +0000 (11:31 +0900)
committerJaechul Lee <jcsing.lee@samsung.com>
Fri, 2 Aug 2024 02:31:16 +0000 (11:31 +0900)
Change-Id: I0f08009e1d47097b86033fcb7a37e7b44c006c94

1  2 
alsactl/alsa-restore.service.in
alsactl/alsa-state.service.in
packaging/alsa-utils.spec

@@@ -13,6 -10,6 +10,7 @@@ ConditionPathExistsGlob=/dev/snd/contro
  
  [Service]
  Type=oneshot
 +SmackProcessLabel=System
+ RemainAfterExit=true
  ExecStart=-@sbindir@/alsactl restore
- StandardOutput=syslog
+ ExecStop=-@sbindir@/alsactl store
@@@ -6,12 -6,8 +6,8 @@@
  [Unit]
  Description=Manage Sound Card State (restore and store)
  ConditionPathExists=@daemonswitch@
- DefaultDependencies=no
- After=sysinit.target
- Before=shutdown.target
- Conflicts=shutdown.target
  
  [Service]
 -Type=simple
 +SmackProcessLabel=System
  ExecStart=-@sbindir@/alsactl -s -n 19 -c rdaemon
  ExecStop=-@sbindir@/alsactl -s kill save_and_quit
index 5067521,0000000..06671dc
mode 100644,000000..100644
--- /dev/null
@@@ -1,60 -1,0 +1,60 @@@
- Version:        1.0.29
 +Name:           alsa-utils
++Version:        1.2.12
 +Release:        1
 +License:        GPL-2.0
 +Summary:        Advanced Linux Sound Architecture (ALSA) utilities
 +Url:            http://www.alsa-project.org/
 +Group:          Applications/Multimedia
 +Source0:        ftp://ftp.alsa-project.org/pub/utils/%{name}-%{version}.tar.bz2
 +Source1001:     alsa-utils.manifest
 +BuildRequires:  libasound-devel
 +
 +%description
 +This package contains command line utilities for the Advanced Linux Sound
 +Architecture (ALSA).
 +
 +%package doc
 +Summary:        Man pages for alsa-utils
 +Group:          Documentation
 +Requires:       %{name} = %{version}
 +
 +%description doc
 +Man pages for alsa-utils
 +
 +%prep
 +%setup -q
 +cp %{SOURCE1001} .
 +
 +
 +%build
 +export CFLAGS+=" -fPIC -pie"
 +
 +%configure \
 +    --disable-static \
 +    --disable-nls \
 +    --disable-xmlto \
 +    --disable-alsamixer \
 +    --disable-alsatest \
 +    --with-udev-rules-dir=/lib/udev/rules.d
 +
 +%__make %{?_smp_mflags}
 +
 +%install
 +%make_install
 +mkdir -p %{buildroot}/var/lib/alsa
 +%if "%{tizen_profile_name}" == "tv"
 +rm -rf %{buildroot}%{_bindir}/speaker-test
 +%endif
 +
 +%remove_docs
 +
 +%files
 +%manifest %{name}.manifest
 +%license COPYING
 +%{_bindir}/*
 +%{_sbindir}/*
 +%exclude %{_sbindir}/alsaconf
 +%exclude %{_sbindir}/alsa-info.sh
 +%{_datadir}/alsa/*
 +%{_datadir}/sounds/*
 +/lib/udev/rules.d/90-alsa-restore.rules