From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 91D331384B4 for ; Tue, 1 Dec 2015 18:14:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A5B921C068; Tue, 1 Dec 2015 18:14:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 705E221C07F for ; Tue, 1 Dec 2015 18:14:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 30786340885 for ; Tue, 1 Dec 2015 18:14:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A98BA95 for ; Tue, 1 Dec 2015 18:14:34 +0000 (UTC) From: "Tony Vroon" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tony Vroon" Message-ID: <1448466933.3dd9ae07f5f8a2ddba09c1f728ef6495ac318ee2.chainsaw@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/alsa-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/alsa-utils/Manifest media-sound/alsa-utils/alsa-utils-1.1.0.ebuild media-sound/alsa-utils/metadata.xml X-VCS-Directories: media-sound/alsa-utils/ X-VCS-Committer: chainsaw X-VCS-Committer-Name: Tony Vroon X-VCS-Revision: 3dd9ae07f5f8a2ddba09c1f728ef6495ac318ee2 X-VCS-Branch: master Date: Tue, 1 Dec 2015 18:14:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cd6afd0f-b5e6-4fbd-ad0a-590146e9b3a2 X-Archives-Hash: efb509ce8866b0a883d08b3bdc41ee95 commit: 3dd9ae07f5f8a2ddba09c1f728ef6495ac318ee2 Author: Joe Konno intel com> AuthorDate: Fri Nov 20 01:05:49 2015 +0000 Commit: Tony Vroon gentoo 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 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 @@ alsa-bugs@gentoo.org + install basic audio tester (BAT) util install utils that use libsamplerate (e.g. alsaloop) install utils that use ncurses (e.g. alsamixer)