diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2007-06-27 15:33:47 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2007-06-27 15:33:47 +0000 |
commit | ed942cfeb3c3003f36e57f0abf9f628c5c1f0479 (patch) | |
tree | 501f7395f9cba84dd456b3ea11d90c83298996de /media-sound | |
parent | Stable on ppc; bug #183312. (diff) | |
download | gentoo-2-ed942cfeb3c3003f36e57f0abf9f628c5c1f0479.tar.gz gentoo-2-ed942cfeb3c3003f36e57f0abf9f628c5c1f0479.tar.bz2 gentoo-2-ed942cfeb3c3003f36e57f0abf9f628c5c1f0479.zip |
Version bump to 1.0.14 final as requested in bug #181042.
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/alsa-utils/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/alsa-utils/alsa-utils-1.0.14.ebuild | 86 | ||||
-rw-r--r-- | media-sound/alsa-utils/files/alsa-utils-1.0.14-seq.patch | 37 | ||||
-rw-r--r-- | media-sound/alsa-utils/files/digest-alsa-utils-1.0.14 | 3 |
4 files changed, 133 insertions, 1 deletions
diff --git a/media-sound/alsa-utils/ChangeLog b/media-sound/alsa-utils/ChangeLog index 64325c38227b..2b20c5735c41 100644 --- a/media-sound/alsa-utils/ChangeLog +++ b/media-sound/alsa-utils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/alsa-utils # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.207 2007/05/27 08:00:12 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.208 2007/06/27 15:33:47 chainsaw Exp $ + +*alsa-utils-1.0.14 (27 Jun 2007) + + 27 Jun 2007; Tony Vroon <chainsaw@gentoo.org> + +files/alsa-utils-1.0.14-seq.patch, +alsa-utils-1.0.14.ebuild: + Version bump to 1.0.14 final as requested in bug #181042. 27 May 2007; Joshua Kinard <kumba@gentoo.org> alsa-utils-1.0.14_rc2-r3.ebuild: diff --git a/media-sound/alsa-utils/alsa-utils-1.0.14.ebuild b/media-sound/alsa-utils/alsa-utils-1.0.14.ebuild new file mode 100644 index 000000000000..366f996c12e5 --- /dev/null +++ b/media-sound/alsa-utils/alsa-utils-1.0.14.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/alsa-utils-1.0.14.ebuild,v 1.1 2007/06/27 15:33:47 chainsaw Exp $ + +WANT_AUTOMAKE="latest" +WANT_AUTOCONF="latest" + +inherit eutils autotools + +MY_P="${P/_rc/rc}" + +DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="nls midi" + +DEPEND=">=sys-libs/ncurses-5.1 + dev-util/dialog + >=media-libs/alsa-lib-1.0.14_rc1" +RDEPEND="${DEPEND} + virtual/modutils + sys-apps/pciutils" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if use midi && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "" + eerror "To be able to build alsa-utils with midi support you need" + eerror "to have built media-libs/alsa-lib with midi USE flag." + die "Missing midi USE flag on media-libs/alsa-lib" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-1.0.11_rc2-nls.patch" + epatch "${FILESDIR}/${PN}-1.0.11_rc5-alsaconf-redirect.patch" + epatch "${FILESDIR}/${P}-seq.patch" + + AT_M4DIR="m4" eautoreconf +} + +src_compile() { + econf \ + $(use_enable nls) \ + $(use_enable midi sequencer) \ + || die "configure failed" + + emake || die "make failed" +} + +src_install() { + local ALSA_UTILS_DOCS="ChangeLog README TODO + seq/aconnect/README.aconnect + seq/aseqnet/README.aseqnet" + + emake DESTDIR="${D}" install || die "Installation Failed" + + dodoc ${ALSA_UTILS_DOCS} + newdoc alsamixer/README README.alsamixer + + newinitd "${FILESDIR}/alsasound.initd" alsasound + newconfd "${FILESDIR}/alsasound.confd" alsasound + insinto /etc/modules.d + newins "${FILESDIR}/alsa-modules.conf-rc" alsa + + keepdir /var/lib/alsa +} + +pkg_postinst() { + echo + elog "To take advantage of the init script, and automate the process of" + elog "loading and unloading the ALSA sound drivers as well as" + elog "storing 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" + echo +} diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.14-seq.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.14-seq.patch new file mode 100644 index 000000000000..5bc071f826cb --- /dev/null +++ b/media-sound/alsa-utils/files/alsa-utils-1.0.14-seq.patch @@ -0,0 +1,37 @@ +diff -uNr alsa-utils-1.0.14.ORIG/configure.in alsa-utils-1.0.14/configure.in +--- alsa-utils-1.0.14.ORIG/configure.in 2007-06-27 16:22:05.000000000 +0100 ++++ alsa-utils-1.0.14/configure.in 2007-06-27 16:22:37.000000000 +0100 +@@ -82,6 +82,18 @@ + TESTSOUND="$dir/test.wav") + AC_SUBST(TESTSOUND) + ++AC_ARG_ENABLE([sequencer], ++ [AC_HELP_STRING([--disable-sequencer], [Disable sequencer utilities (aconnect, aplaymidi, aseqdump, aseqnet)])] ) ++ ++if test "x$enable_sequencer" != "xno"; then ++ AC_CHECK_LIB([asound], [snd_seq_open], [has_seq=yes], [has_seq=no]) ++fi ++if test "x$enable_sequencer" = "xyes" && test "x$has_seq" = "xno"; then ++ AC_MSG_FAILURE([cannot find snd_seq_open. ALSA was built without sequencer support]) ++fi ++ ++AM_CONDITIONAL([BUILD_SEQ], [test "x$has_seq" = "xyes"]) ++ + AM_CONFIG_HEADER(include/aconfig.h) + + dnl Checks for typedefs, structures, and compiler characteristics. +diff -uNr alsa-utils-1.0.14.ORIG/Makefile.am alsa-utils-1.0.14/Makefile.am +--- alsa-utils-1.0.14.ORIG/Makefile.am 2007-06-27 16:22:05.000000000 +0100 ++++ alsa-utils-1.0.14/Makefile.am 2007-06-27 16:25:06.000000000 +0100 +@@ -4,7 +4,10 @@ + else + ALSAMIXER_DIR= + endif +-SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset seq speaker-test utils m4 po ++if BUILD_SEQ ++SEQ_DIR=seq ++endif ++SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset $(SEQ_DIR) speaker-test utils m4 po + EXTRA_DIST= config.rpath config.rpath mkinstalldirs ChangeLog INSTALL TODO README configure hgcompile depcomp + AUTOMAKE_OPTIONS=foreign + ACLOCAL_AMFLAGS = -I m4 diff --git a/media-sound/alsa-utils/files/digest-alsa-utils-1.0.14 b/media-sound/alsa-utils/files/digest-alsa-utils-1.0.14 new file mode 100644 index 000000000000..53fead4703ee --- /dev/null +++ b/media-sound/alsa-utils/files/digest-alsa-utils-1.0.14 @@ -0,0 +1,3 @@ +MD5 6d3009c157ac6fc803696d6590a48366 alsa-utils-1.0.14.tar.bz2 1013872 +RMD160 e912588fc6ad223c7176847b8f99c80dd2ca7bb5 alsa-utils-1.0.14.tar.bz2 1013872 +SHA256 307d630f0ed15e7e92fa35dc0c961737fa9aed22bd7a4a6054a72f85145fa5cb alsa-utils-1.0.14.tar.bz2 1013872 |