public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tony Vroon" <chainsaw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/alsa-utils/
Date: Tue,  1 Dec 2015 18:14:34 +0000 (UTC)	[thread overview]
Message-ID: <1448466933.3dd9ae07f5f8a2ddba09c1f728ef6495ac318ee2.chainsaw@gentoo> (raw)

commit:     3dd9ae07f5f8a2ddba09c1f728ef6495ac318ee2
Author:     Joe Konno <joe.konno <AT> intel <DOT> com>
AuthorDate: Fri Nov 20 01:05:49 2015 +0000
Commit:     Tony Vroon <chainsaw <AT> gentoo <DOT> org>
CommitDate: Wed Nov 25 15:55:33 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dd9ae07

media-sound/alsa-utils: version bump to 1.1.0

Bump to version 1.1.0. The cross-compile patch from 1.0.29 does not
apply, nor does it appear necessary, so omitting from the 1.1.0 ebuild.
Masking all archs until gentoo-sound team deems it "stable".

Had to add a "bat" USE flag handler to 1.1.0. By default, the configure
script sets a hard requirement for the Basic Audio Tester (BAT) utility,
requiring FFTW3 (sci-libs/fftw). Let the user set the "bat" USE flag if
they require the BAT utility.

Rudimentary testing performed on amd64 architecture.

ALSA Project release notes at:
    http://www.alsa-project.org/main/index.php/Changes_v1.0.29_v1.1.0

Package-Manager: Portage 2.2.20.1

v2: vapier: removed redundant argument for 'use_enable bat'; rebased on
    6d4b41d7904e ("app-emulation/docker-compose: move enum34
    dependence")

Signed-off-by: Joe Konno <joe.konno <AT> intel.com>

 media-sound/alsa-utils/Manifest                |  1 +
 media-sound/alsa-utils/alsa-utils-1.1.0.ebuild | 78 ++++++++++++++++++++++++++
 media-sound/alsa-utils/metadata.xml            |  1 +
 3 files changed, 80 insertions(+)

diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest
index 2e150b0..af489eb 100644
--- a/media-sound/alsa-utils/Manifest
+++ b/media-sound/alsa-utils/Manifest
@@ -1,3 +1,4 @@
 DIST alsa-utils-1.0.27.2.tar.bz2 1143802 SHA256 02bfac39092f3b68d743c23ad3d688d6c5aa8df69f2ccd692c5b8282edb352ea SHA512 c9a4943852ec1a71a5a8d2c99e1df0ba96a5d9d1196cabfdb6655f58c6a9a5a9d40dea62de019f5ed0fad0885800403c48a4a6c86b67af7fbd842097881c2bd6 WHIRLPOOL 9e95c37f307498bb9a7829fd721bf54888f3fe9ec78f014702cc26493e81369a44b571f1f5e65b3e32dbde926f97ab1152e22cf66fdff17be209e61ae34d9d46
 DIST alsa-utils-1.0.28.tar.bz2 1146887 SHA256 f3ff4c89b0125a7797b1b13cd094cc92276e655458274967386e812d03642acc SHA512 faa5abf3f066106c80d019944efa2298e2d3157469c1c7bc52deb9aa1bcd5f5439a2e22b04ad9210e292fcef97bdacc27aa75fc275d0d7cae2c2f88729c84786 WHIRLPOOL d58587d9f302f3f1a7ab4de45c3889ce82e5be782e4aa9a953c39a908a4693e99c8ea9aeeb5669f0f606d980983beb7d5fc53e4c76ce1bb76500c7c2bcb45013
 DIST alsa-utils-1.0.29.tar.bz2 1154497 SHA256 5160058f3e14483ced5de919dd473f93932059454530a9b7ef97dcabd6833e9b SHA512 0d83805aa7b1c975524cc5ecd4aa6eb36126bc434458f9e9475e4bd1b14bbb4bf9691096ca7973342a3798e97a361451c078f4595f8f4275db64d6b443ca5928 WHIRLPOOL ccad5115148045e0c5f139d70306e801e250aa3946f60d9cd0a47c84c72f6d8689e53105030589309c98ddd4a7b871bb8dc03f00fcc3d46cc3e08c4718299407
+DIST alsa-utils-1.1.0.tar.bz2 1181085 SHA256 3b1c3135b76e14532d3dd23fb15759ddd7daf9ffbc183f7a9a0a3a86374748f1 SHA512 c61f056959feba015bb4a6f49980c4beb6a0c34be09e7196864583897ea86373b593a8807999a07df9c87a3a0c714075b9aae516752e83a946d0d60bc8f90f98 WHIRLPOOL 50d8e1506fb9f969b3dfcd618933efbeda6f938c3350eccf99526fb8329afd1ea4381ff1a548590f0f9bae12bdb63c1e8ab068641743d52b3ba609eae2d337e5

diff --git a/media-sound/alsa-utils/alsa-utils-1.1.0.ebuild b/media-sound/alsa-utils/alsa-utils-1.1.0.ebuild
new file mode 100644
index 0000000..29cb357
--- /dev/null
+++ b/media-sound/alsa-utils/alsa-utils-1.1.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils systemd udev
+
+DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
+HOMEPAGE="http://www.alsa-project.org/"
+SRC_URI="mirror://alsaproject/utils/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0.9"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~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}
+	virtual/pkgconfig
+	doc? ( app-text/xmlto )"
+RDEPEND="${CDEPEND}
+	selinux? ( sec-policy/selinux-alsa )"
+
+src_prepare() {
+	epatch_user
+}
+
+src_configure() {
+	local myconf
+	use doc || myconf='--disable-xmlto'
+
+	# --disable-alsaconf because it doesn't work with sys-apps/kmod wrt #456214
+	econf \
+		--disable-maintainer-mode \
+		$(use_enable bat) \
+		$(use_enable libsamplerate alsaloop) \
+		$(use_enable nls) \
+		$(use_enable ncurses alsamixer) \
+		--disable-alsaconf \
+		"$(systemd_with_unitdir)" \
+		--with-udev-rules-dir="$(get_udevdir)"/rules.d \
+		${myconf}
+}
+
+src_install() {
+	default
+	dodoc seq/*/README.*
+
+	newinitd "${FILESDIR}"/alsasound.initd-r6 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
+}

diff --git a/media-sound/alsa-utils/metadata.xml b/media-sound/alsa-utils/metadata.xml
index 031bd1c..1285918 100644
--- a/media-sound/alsa-utils/metadata.xml
+++ b/media-sound/alsa-utils/metadata.xml
@@ -6,6 +6,7 @@
     <email>alsa-bugs@gentoo.org</email>
   </maintainer>
   <use>
+    <flag name="bat">install basic audio tester (BAT) util</flag>
     <flag name="libsamplerate">install utils that use libsamplerate (e.g. alsaloop)</flag>
     <flag name="ncurses">install utils that use ncurses (e.g. alsamixer)</flag>
   </use>


             reply	other threads:[~2015-12-01 18:14 UTC|newest]

Thread overview: 159+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-01 18:14 Tony Vroon [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-15 17:55 [gentoo-commits] repo/gentoo:master commit in: media-sound/alsa-utils/ Sam James
2025-03-02 12:38 Jakov Smolić
2025-02-23  5:11 Sam James
2025-02-09  9:26 Arthur Zamarin
2025-02-09  9:26 Arthur Zamarin
2025-02-09  9:26 Arthur Zamarin
2025-02-07  1:10 Sam James
2025-02-07  1:10 Sam James
2024-12-12 11:26 Sam James
2024-11-13 19:49 Sam James
2024-10-04 17:37 Andreas Sturmlechner
2024-09-22 18:59 Arthur Zamarin
2024-09-22 18:42 Arthur Zamarin
2024-09-22 18:40 Arthur Zamarin
2024-09-22 18:40 Arthur Zamarin
2024-09-22 18:40 Arthur Zamarin
2024-09-22 18:40 Arthur Zamarin
2024-09-22 18:02 Arthur Zamarin
2024-06-12  4:26 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-12-07  6:47 Lars Wendler
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-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=1448466933.3dd9ae07f5f8a2ddba09c1f728ef6495ac318ee2.chainsaw@gentoo \
    --to=chainsaw@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