public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/alsa-utils/
Date: Tue,  7 Dec 2021 06:47:09 +0000 (UTC)	[thread overview]
Message-ID: <1638859621.6b573690ef9b3c5b73b1f81e9127eac83cc80beb.polynomial-c@gentoo> (raw)

commit:     6b573690ef9b3c5b73b1f81e9127eac83cc80beb
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  7 06:42:14 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Dec  7 06:47:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b573690

media-sound/alsa-utils: Bump to version 1.2.6

Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-sound/alsa-utils/Manifest                |  1 +
 media-sound/alsa-utils/alsa-utils-1.2.6.ebuild | 77 ++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest
index 18a001e78c52..d47eefde5388 100644
--- a/media-sound/alsa-utils/Manifest
+++ b/media-sound/alsa-utils/Manifest
@@ -1,2 +1,3 @@
 DIST alsa-utils-1.2.4.tar.bz2 1286259 BLAKE2B 41eb0b8186c1956c19d8f8b28863ab54c66ff531b9ec5c48cc6c5ed8ca249d135614112ce412d6adb6f21982235e06a4148591777cce00d17ea537aacbd664ad SHA512 13080abda55269513b3751044dac292d695e273073a62d74ed4a32c68f448a2b015fe16604650821a6398b6ef6a7b6008cb9f0b7fb7f4ee1fa2b4eb2dcf29770
 DIST alsa-utils-1.2.5.1.tar.bz2 1326965 BLAKE2B 79f96fd3ba1d92e72dc634dc01439acd3ccd02555c39cc1714c52bbd1e4bc8b68ec7bf5d219a704533e4a61587c3528504ef9cd7c652924d74daafa90f74e42a SHA512 bbafeb9189ec5802965c4e69cf6e7cd4c132ffb77b57f164d6585649890f96edd052c72697171fd629b39e12f78648fea634468df34c1a80255227ca397907bf
+DIST alsa-utils-1.2.6.tar.bz2 1334063 BLAKE2B 3b81cccc836e0de9f6d98f311dc3a316a02179ec1fc7520da9658192f27e7701c6dc41b04a82639d6269d6943afd8a89cb6477406cbc36ac450e57919cff46f2 SHA512 6842f0f4c2f7cc5ac3ba94736ee259d9988b5d3e0d2b522f858d712e16938d2845fa9ef64f4aa60222b8ef6738e053f9113a5ea24a197f2c0d6c4dbd70030f5e

diff --git a/media-sound/alsa-utils/alsa-utils-1.2.6.ebuild b/media-sound/alsa-utils/alsa-utils-1.2.6.ebuild
new file mode 100644
index 000000000000..78f480047b42
--- /dev/null
+++ b/media-sound/alsa-utils/alsa-utils-1.2.6.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit systemd udev
+
+DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
+HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
+SRC_URI="https://www.alsa-project.org/files/pub/utils/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0.9"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="bat doc +libsamplerate +ncurses nls selinux"
+
+CDEPEND=">=media-libs/alsa-lib-${PV}
+	libsamplerate? ( media-libs/libsamplerate )
+	ncurses? ( >=sys-libs/ncurses-5.7-r7:0= )
+	bat? ( sci-libs/fftw:= )"
+DEPEND="${CDEPEND}
+	doc? ( app-text/xmlto )"
+RDEPEND="${CDEPEND}
+	selinux? ( sec-policy/selinux-alsa )"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.1.8-missing_header.patch
+)
+
+src_configure() {
+	local myeconfargs=(
+		# --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214
+		--disable-alsaconf
+		--disable-maintainer-mode
+		--with-asound-state-dir="${EPREFIX}"/var/lib/alsa
+		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+		--with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d
+		$(use_enable bat)
+		$(use_enable libsamplerate alsaloop)
+		$(use_enable ncurses alsamixer)
+		$(use_enable nls)
+		$(usex doc '' --disable-xmlto)
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+	dodoc seq/*/README.*
+
+	newinitd "${FILESDIR}"/alsasound.initd-r8 alsasound
+	newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound
+
+	insinto /etc/modprobe.d
+	newins "${FILESDIR}"/alsa-modules.conf-rc alsa.conf
+
+	keepdir /var/lib/alsa
+
+	# ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not
+	# scan directory /usr/share/alsa/ucm: No such file or directory
+	# alsaucm: unable to obtain card list: No such file or directory
+	keepdir /usr/share/alsa/ucm
+}
+
+pkg_postinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		elog
+		elog "To take advantage of the init script, and automate the process of"
+		elog "saving and restoring sound-card mixer levels you should"
+		elog "add alsasound to the boot runlevel. You can do this as"
+		elog "root like so:"
+		elog "# rc-update add alsasound boot"
+		ewarn
+		ewarn "The ALSA core should be built into the kernel or loaded through other"
+		ewarn "means. There is no longer any modular auto(un)loading in alsa-utils."
+	fi
+}


             reply	other threads:[~2021-12-07  6:47 UTC|newest]

Thread overview: 141+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-07  6:47 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-12  4:26 [gentoo-commits] repo/gentoo:master commit in: media-sound/alsa-utils/ Sam James
2024-05-30  4:36 Ionen Wolkens
2024-04-24 14:41 Sam James
2024-04-24 14:30 Sam James
2024-04-24 14:30 Sam James
2024-04-24 14:22 Sam James
2024-04-24 14:22 Sam James
2024-04-24 14:15 Sam James
2024-04-24 14:15 Sam James
2024-02-17  6:42 Sam James
2024-02-17  6:40 Sam James
2024-01-28 17:35 Matt Turner
2023-12-06 17:57 Ionen Wolkens
2023-12-02  9:24 Arthur Zamarin
2023-12-02  4:03 Sam James
2023-12-02  4:03 Sam James
2023-12-02  4:03 Sam James
2023-12-02  4:03 Sam James
2023-12-02  4:03 Sam James
2023-12-02  4:03 Sam James
2023-09-07 20:50 Sam James
2023-09-02  7:58 Sam James
2023-08-02 15:11 Sam James
2023-08-01  7:48 Sam James
2023-07-24 20:33 Jakov Smolić
2023-07-24 20:33 Jakov Smolić
2023-07-24 20:33 Jakov Smolić
2023-07-24 18:34 Arthur Zamarin
2023-07-24 18:16 Sam James
2023-05-05  4:13 Sam James
2023-05-05  3:08 Sam James
2023-03-15 16:41 Arthur Zamarin
2023-03-07 11:42 Sam James
2023-03-04 17:44 Arthur Zamarin
2023-03-04  7:35 Arthur Zamarin
2023-03-04  6:20 Arthur Zamarin
2022-12-24 15:28 Pacho Ramos
2022-12-23 10:15 Pacho Ramos
2022-10-27  4:48 Sam James
2022-10-27  4:48 Sam James
2022-08-17 16:21 Matt Turner
2022-08-16 18:51 Arthur Zamarin
2022-07-31 11:10 Agostino Sarubbo
2022-07-31 11:08 Agostino Sarubbo
2022-07-31 11:05 Agostino Sarubbo
2022-07-30 16:27 Arthur Zamarin
2022-07-30 15:38 Arthur Zamarin
2022-07-30 11:28 Arthur Zamarin
2022-07-30  9:51 Arthur Zamarin
2022-07-29  2:54 Sam James
2022-06-01  7:21 Lars Wendler
2022-06-01  7:21 Lars Wendler
2022-05-19 11:24 WANG Xuerui
2022-05-04  4:01 Sam James
2022-04-25 20:20 Arthur Zamarin
2022-04-24  6:34 Agostino Sarubbo
2022-04-24  6:30 Agostino Sarubbo
2022-04-22 17:31 Arthur Zamarin
2022-04-22 17:31 Arthur Zamarin
2022-04-21 18:48 Arthur Zamarin
2022-04-21 18:27 Arthur Zamarin
2021-11-02  9:59 Sam James
2021-09-23  1:07 Matt Turner
2021-06-16 17:17 Lars Wendler
2021-06-16 17:12 Lars Wendler
2021-06-11  5:38 Sam James
2021-06-05 20:09 Lars Wendler
2021-05-31 19:14 Tony Vroon
2021-05-28 14:40 Sergei Trofimovich
2021-05-27 19:36 Sam James
2021-05-27 19:36 Sam James
2021-05-27 19:11 Sam James
2020-11-08 10:24 Sam James
2020-11-08  0:32 Sam James
2020-10-21  8:04 Lars Wendler
2020-10-20  7:04 Sergei Trofimovich
2020-10-20  6:51 Sergei Trofimovich
2020-10-19  3:19 Sam James
2020-10-18 16:02 Thomas Deutschmann
2020-10-18 15:24 Mikle Kolyada
2020-10-18  0:18 Sam James
2020-06-10  8:49 Lars Wendler
2020-06-02 12:13 Andreas Sturmlechner
2020-05-06 17:34 Sergei Trofimovich
2020-05-06  7:18 Sergei Trofimovich
2020-05-06  7:01 Sergei Trofimovich
2020-05-05 21:15 Sergei Trofimovich
2020-05-05 21:04 Mart Raudsepp
2020-05-04 15:51 Mikle Kolyada
2020-05-04  6:43 Agostino Sarubbo
2020-05-04  6:40 Agostino Sarubbo
2020-02-22 22:11 Lars Wendler
2020-02-21 21:09 Matt Turner
2020-02-21 21:09 Matt Turner
2020-02-20 15:49 Lars Wendler
2020-02-11 13:30 Agostino Sarubbo
2020-02-10 15:30 Jory Pratt
2020-01-27 10:22 Mikle Kolyada
2020-01-21 19:37 Sergei Trofimovich
2020-01-21 10:42 Agostino Sarubbo
2020-01-20 11:51 Agostino Sarubbo
2019-12-09 18:27 Sergei Trofimovich
2019-11-16 13:06 Lars Wendler
2019-10-12 23:50 Matt Turner
2019-09-30  6:59 Michał Górny
2019-09-14  1:32 Matt Turner
2019-08-28  7:22 Sergei Trofimovich
2019-08-28  6:54 Sergei Trofimovich
2019-05-13  9:44 Lars Wendler
2019-05-13  9:44 Lars Wendler
2019-04-24 21:33 Thomas Deutschmann
2019-03-28  5:50 Markus Meier
2019-03-23 17:11 Mikle Kolyada
2019-02-17 10:16 Sergei Trofimovich
2018-11-07 23:28 Sergei Trofimovich
2018-11-07 22:59 Sergei Trofimovich
2018-10-23 18:47 Markus Meier
2018-10-18 11:45 Tobias Klausmann
2018-10-17 12:07 Thomas Deutschmann
2018-10-17 10:25 Mikle Kolyada
2018-10-17  9:23 Lars Wendler
2018-10-17  9:23 Lars Wendler
2018-04-04  8:46 Lars Wendler
2018-03-02 18:09 Michał Górny
2017-11-15 17:40 Lars Wendler
2017-11-15 17:40 Lars Wendler
2017-05-18 11:38 Lars Wendler
2017-03-25 11:41 Jeroen Roovers
2017-03-04  8:32 Markus Meier
2017-02-28 11:22 Tobias Klausmann
2017-01-03 11:59 Fabian Groffen
2016-12-22 10:51 Lars Wendler
2016-12-22 10:51 Lars Wendler
2016-12-18 16:30 Agostino Sarubbo
2016-12-18 16:25 Agostino Sarubbo
2016-08-03  8:13 Lars Wendler
2016-08-03  8:13 Lars Wendler
2016-03-20 23:10 Stephen Klimaszewski
2015-12-01 18:14 Tony Vroon
2015-08-20 12:23 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1638859621.6b573690ef9b3c5b73b1f81e9127eac83cc80beb.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox