Name alsa-utils
Description Utilities for configuring and using ALSA
Version 1.2.14-1
Package Base
Homepage https://www.alsa-project.org/
Maintainers ['Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>']
Contributors ['Elimar Riesebieter <riesebie@lxtec.de>', 'Jordi Mallach <jordi@debian.org>', 'Luke Yelavich <themuso@ubuntu.com>']
Distro-repo https://salsa.debian.org/alsa-team/alsa-utils
Sources ['https://sources.debian.org/data/main/a/alsa-utils/1.2.14-1/debian/watch', 'https://sources.debian.org/src/alsa-utils/1.2.14-1/debian/patches/Don-t-run-both-systemd-services-in-paralell.patch', 'https://sources.debian.org/src/alsa-utils/1.2.14-1/debian/patches/alsa-info_call_home.patch', 'https://sources.debian.org/src/alsa-utils/1.2.14-1/debian/patches/alsa-info_manpage.patch', 'https://sources.debian.org/src/alsa-utils/1.2.14-1/debian/patches/alsactl_home.patch', 'https://sources.debian.org/src/alsa-utils/1.2.14-1/debian/patches/alsactl_xdg_runtime.patch', 'https://sources.debian.org/src/alsa-utils/1.2.14-1/debian/patches/series', 'https://sources.debian.org/src/alsa-utils/1.2.14-1/debian/patches/spellfixes.patch', 'https://sources.debian.org/src/alsa-utils/1.2.14-1/debian/patches/systemd_Documentation_key.patch', 'https://sources.debian.org/src/alsa-utils/1.2.14-1/debian/patches/udev_test_alsactl.patch']
Dependencies ['kmod', 'libasound2t64', 'libatopology2t64', 'libc6', 'libfftw3-single3', 'libncursesw6', 'libsamplerate0', 'libtinfo6']
Optional-Dependencies ['dialog']
Build-Dependencies ['debhelper-compat', 'libasound2-dev', 'libatopology-dev', 'libfftw3-dev', 'libncurses-dev', 'libsamplerate-dev', 'pkgconf', 'python3-docutils', 'systemd-dev', 'xmlto']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 1e2b5f31fc826e1af25e2a12e37cd8d361ff25feaf224c6bbef3cc5d6cd2596b
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export deb_udevdir = $(shell pkg-config --variable=udevdir udev | sed s,^/,,)
export deb_systemdsystemunitdir = $(shell pkg-config --variable=systemdsystemunitdir systemd | sed s,^/,,)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
			--with-asound-state-dir=/var/lib/alsa \
			--with-alsactl-home-dir=/run/alsa \
			--with-alsactl-runtime-dir=/run/alsa/runtime \
			--with-systemdsystemunitdir=/$(deb_systemdsystemunitdir) \
			--disable-alsaconf

override_dh_auto_test:
	# 'container-test' and 'mapper-test' for axfer take a long time.
	# # They are designed to check robustness of internal
	# implementation of axfer and do not necessarily need to run in
	# a process of deb packaging. Let's suppress them.
	dh_auto_test -- TESTS=''

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp

# Kill *.la files, and make sure we install everything else
override_dh_install:
	mv debian/tmp/usr/sbin/alsa-info.sh debian/tmp/usr/sbin/alsa-info
	mv debian/tmp/usr/share/man/man8/alsa-info.sh.8 debian/tmp/usr/share/man/man8/alsa-info.8
	mv debian/tmp/usr/sbin/alsabat-test.sh debian/tmp/usr/sbin/alsabat-test
	find debian/tmp -name "*.la" -delete
	dh_install -Xusr/share/man/fr

override_dh_installchangelogs:
	dh_installchangelogs -XChangeLog

override_dh_installinit:
	dh_installinit --no-start