diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-08-25 00:08:21 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-08-25 00:08:21 +0000 |
commit | f8a161812b2b62b2f12af6a675193837e8a8e601 (patch) | |
tree | eda301ced6f2f5c66be8c6b1d4a847415ff0fba1 /media-sound/alsa-utils | |
parent | Changed cp -a to cp -pPR for BSD compatibility. (diff) | |
download | historical-f8a161812b2b62b2f12af6a675193837e8a8e601.tar.gz historical-f8a161812b2b62b2f12af6a675193837e8a8e601.tar.bz2 historical-f8a161812b2b62b2f12af6a675193837e8a8e601.zip |
Added ebuild for alsa 1.0.10_rc1. Added patch to better fix largefile support.
Package-Manager: portage-2.0.51.22
Diffstat (limited to 'media-sound/alsa-utils')
-rw-r--r-- | media-sound/alsa-utils/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/alsa-utils/Manifest | 10 | ||||
-rw-r--r-- | media-sound/alsa-utils/alsa-utils-1.0.10_rc1.ebuild | 86 | ||||
-rw-r--r-- | media-sound/alsa-utils/files/alsa-utils-1.0.10_rc1-largefile.patch | 14 | ||||
-rw-r--r-- | media-sound/alsa-utils/files/alsa-utils-1.0.10_rc1-nls.patch | 60 | ||||
-rw-r--r-- | media-sound/alsa-utils/files/digest-alsa-utils-1.0.10_rc1 | 1 |
6 files changed, 179 insertions, 1 deletions
diff --git a/media-sound/alsa-utils/ChangeLog b/media-sound/alsa-utils/ChangeLog index c03da38eabb4..d22f1037b0f4 100644 --- a/media-sound/alsa-utils/ChangeLog +++ b/media-sound/alsa-utils/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/alsa-utils # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.104 2005/08/24 19:43:07 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.105 2005/08/25 00:08:20 flameeyes Exp $ + +*alsa-utils-1.0.10_rc1 (25 Aug 2005) + + 25 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> + +files/alsa-utils-1.0.10_rc1-largefile.patch, + +files/alsa-utils-1.0.10_rc1-nls.patch, +alsa-utils-1.0.10_rc1.ebuild: + Added ebuild for alsa 1.0.10_rc1. Added patch to better fix largefile support. 24 Aug 2005; Aron Griffis <agriffis@gentoo.org> alsa-utils-1.0.9a.ebuild: stable on ia64 diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest index a693a283d540..aaa49c0258a2 100644 --- a/media-sound/alsa-utils/Manifest +++ b/media-sound/alsa-utils/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 d8be97acd28e31075b4c30fd2f753050 ChangeLog 16227 MD5 7c440e4d4995b7d2f394ceb1c87218fd alsa-utils-1.0.10_rc1.ebuild 2606 MD5 a2a37bf9cb817343a6a58e20cfea9bb8 alsa-utils-1.0.7.ebuild 2272 @@ -15,3 +18,10 @@ MD5 f4f492c382b243ebf558809a372fd6b7 files/alsasound.confd 515 MD5 2bfc6eaf49d769272a46ed2046b73944 files/digest-alsa-utils-1.0.9a-r1 70 MD5 954b0951b5fed9bf591abf9e7cc1963e files/alsa-modules.conf-rc 1162 MD5 2bfc6eaf49d769272a46ed2046b73944 files/digest-alsa-utils-1.0.9a 70 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFDDQwEj5H05b2HAEkRAmmSAJ9pedKQpTqlKDgzVkFV6OKaiBDBzgCgoAoh +4vRZPBHfiMOYRq9lie+m+Sg= +=qhAf +-----END PGP SIGNATURE----- diff --git a/media-sound/alsa-utils/alsa-utils-1.0.10_rc1.ebuild b/media-sound/alsa-utils/alsa-utils-1.0.10_rc1.ebuild new file mode 100644 index 000000000000..9f59633a6dec --- /dev/null +++ b/media-sound/alsa-utils/alsa-utils-1.0.10_rc1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2005 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.10_rc1.ebuild,v 1.1 2005/08/25 00:08:21 flameeyes Exp $ + +MY_P="${P/_rc/rc}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" +HOMEPAGE="http://www.alsa-project.org/" +SRC_URI="mirror://alsaproject/utils/${MY_P}.tar.bz2" + +inherit flag-o-matic + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86" +IUSE="nls" + +DEPEND=">=sys-libs/ncurses-5.1 + dev-util/dialog + >=media-libs/alsa-lib-1.0.9" +RDEPEND="${DEPEND} + sys-apps/pciutils" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-largefile.patch + epatch ${FILESDIR}/${P}-nls.patch + + aclocal || die "aclocal failed" + autoconf || die "autoconf failed" + automake || die "automake failed" +} + +src_compile() { + econf \ + $(use_enable nls) \ + || die "configure failed" + + emake || die "make failed" +} + +src_install() { + local ALSA_UTILS_DOCS="ChangeLog README TODO + seq/aconnect/README.aconnect + seq/aseqnet/README.aseqnet" + + make DESTDIR="${D}" install || die "Installation Failed" + + dodoc ${ALSA_UTILS_DOCS} + newdoc alsamixer/README README.alsamixer + + newconfd ${FILESDIR}/alsasound.confd alsasound + insinto /etc/modules.d + newins ${FILESDIR}/alsa-modules.conf-rc alsa + newinitd ${FILESDIR}/alsasound +} + +pkg_postinst() { + echo + einfo "The alsasound initscript is now provided by alsa-utils" + einfo "instead of alsa-driver for compatibility with kernel-sources" + einfo "which provide ALSA internally." + echo + einfo "To take advantage of this, and automate the process of" + einfo "loading and unloading the ALSA sound drivers as well as" + einfo "storing and restoring sound-card mixer levels you should" + einfo "add alsasound to the boot runlevel. You can do this as" + einfo "root like so:" + einfo " # rc-update add alsasound boot" + echo + einfo "You will also need to edit the file /etc/modules.d/alsa" + einfo "and run modules-update. You can do this like so:" + einfo " # nano -w /etc/modules.d/alsa && modules-update" + echo + + if use sparc; then + ewarn "Old versions of alsa-drivers had a broken snd-ioctl32 module" + ewarn "which causes sparc64 machines to lockup on such tasks as" + ewarn "changing the volume. Because of this, it is VERY important" + ewarn "that you do not use the snd-ioctl32 modules contained in" + ewarn "development-sources or <=gentoo-dev-sources-2.6.7-r14. Doing so" + ewarn "may result in an unbootable system if you start alsasound at boot." + fi +} diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.10_rc1-largefile.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.10_rc1-largefile.patch new file mode 100644 index 000000000000..295bb7368a08 --- /dev/null +++ b/media-sound/alsa-utils/files/alsa-utils-1.0.10_rc1-largefile.patch @@ -0,0 +1,14 @@ +Index: alsa-utils-1.0.10rc1/configure.in +=================================================================== +--- alsa-utils-1.0.10rc1.orig/configure.in ++++ alsa-utils-1.0.10rc1/configure.in +@@ -81,6 +81,9 @@ AC_HEADER_TIME + dnl Checks for library functions. + AC_PROG_GCC_TRADITIONAL + ++dnl Enable largefile support ++AC_SYS_LARGEFILE ++ + SAVE_UTIL_VERSION + + AC_OUTPUT(Makefile alsactl/Makefile alsamixer/Makefile amidi/Makefile amixer/Makefile \ diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.10_rc1-nls.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.10_rc1-nls.patch new file mode 100644 index 000000000000..3233516dde9b --- /dev/null +++ b/media-sound/alsa-utils/files/alsa-utils-1.0.10_rc1-nls.patch @@ -0,0 +1,60 @@ +Index: alsa-utils-1.0.10rc1/aplay/aplay.c +=================================================================== +--- alsa-utils-1.0.10rc1.orig/aplay/aplay.c ++++ alsa-utils-1.0.10rc1/aplay/aplay.c +@@ -362,8 +362,10 @@ int main(int argc, char *argv[]) + int do_names_list = 0, do_device_list = 0, do_pcm_list = 0; + snd_pcm_info_t *info; + ++#ifdef ENABLE_NLS + setlocale(LC_ALL, ""); + textdomain(PACKAGE); ++#endif + + snd_pcm_info_alloca(&info); + +Index: alsa-utils-1.0.10rc1/seq/aconnect/aconnect.c +=================================================================== +--- alsa-utils-1.0.10rc1.orig/seq/aconnect/aconnect.c ++++ alsa-utils-1.0.10rc1/seq/aconnect/aconnect.c +@@ -278,8 +278,10 @@ int main(int argc, char **argv) + snd_seq_port_subscribe_t *subs; + snd_seq_addr_t sender, dest; + ++#ifdef ENABLE_NLS + setlocale(LC_ALL, ""); + textdomain(PACKAGE); ++#endif + + while ((c = getopt_long(argc, argv, "dior:t:elx", long_option, NULL)) != -1) { + switch (c) { +Index: alsa-utils-1.0.10rc1/seq/aseqnet/aseqnet.c +=================================================================== +--- alsa-utils-1.0.10rc1.orig/seq/aseqnet/aseqnet.c ++++ alsa-utils-1.0.10rc1/seq/aseqnet/aseqnet.c +@@ -97,8 +97,10 @@ int main(int argc, char **argv) + int port = DEFAULT_PORT; + char *source = NULL, *dest = NULL; + ++#ifdef ENABLE_NLS + setlocale(LC_ALL, ""); + textdomain(PACKAGE); ++#endif + + while ((c = getopt_long(argc, argv, "p:s:d:vi", long_option, NULL)) != -1) { + switch (c) { +Index: alsa-utils-1.0.10rc1/speaker-test/speaker-test.c +=================================================================== +--- alsa-utils-1.0.10rc1.orig/speaker-test/speaker-test.c ++++ alsa-utils-1.0.10rc1/speaker-test/speaker-test.c +@@ -499,8 +499,10 @@ int main(int argc, char *argv[]) { + {NULL, 0, NULL, 0 }, + }; + ++#ifdef ENABLE_NLS + setlocale(LC_ALL, ""); + textdomain(PACKAGE); ++#endif + + snd_pcm_hw_params_alloca(&hwparams); + snd_pcm_sw_params_alloca(&swparams); diff --git a/media-sound/alsa-utils/files/digest-alsa-utils-1.0.10_rc1 b/media-sound/alsa-utils/files/digest-alsa-utils-1.0.10_rc1 new file mode 100644 index 000000000000..dcee501683e6 --- /dev/null +++ b/media-sound/alsa-utils/files/digest-alsa-utils-1.0.10_rc1 @@ -0,0 +1 @@ +MD5 98e757012434ad3f2b9241ca04afd521 alsa-utils-1.0.10rc1.tar.bz2 989632 |