summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-04-12 07:51:35 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-04-12 07:51:35 +0000
commitbcc18cb4a1265063cfd5f2a602107bf1b58b7560 (patch)
tree53ee9dadf3c48a440d367244fc35a0100fc25bfa /media-sound
parentRemoving old versions. (diff)
downloadgentoo-2-bcc18cb4a1265063cfd5f2a602107bf1b58b7560.tar.gz
gentoo-2-bcc18cb4a1265063cfd5f2a602107bf1b58b7560.tar.bz2
gentoo-2-bcc18cb4a1265063cfd5f2a602107bf1b58b7560.zip
Killing off 0.9 alsa.
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/alsa-driver/ChangeLog6
-rw-r--r--media-sound/alsa-driver/alsa-driver-0.9.8.ebuild89
-rw-r--r--media-sound/alsa-driver/alsa-driver-1.0.9_rc2.ebuild8
-rw-r--r--media-sound/alsa-driver/files/digest-alsa-driver-0.9.81
4 files changed, 12 insertions, 92 deletions
diff --git a/media-sound/alsa-driver/ChangeLog b/media-sound/alsa-driver/ChangeLog
index 4363e4d54f65..980eb374f083 100644
--- a/media-sound/alsa-driver/ChangeLog
+++ b/media-sound/alsa-driver/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/alsa-driver
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.141 2005/04/04 22:30:57 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/ChangeLog,v 1.142 2005/04/12 07:51:35 eradicator Exp $
+
+ 12 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org>
+ -alsa-driver-0.9.8.ebuild, alsa-driver-1.0.9_rc2.ebuild:
+ Killing off 0.9 alsa.
04 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org>
-alsa-driver-1.0.5a.ebuild, -alsa-driver-1.0.6a.ebuild,
diff --git a/media-sound/alsa-driver/alsa-driver-0.9.8.ebuild b/media-sound/alsa-driver/alsa-driver-0.9.8.ebuild
deleted file mode 100644
index 2523b2e6400a..000000000000
--- a/media-sound/alsa-driver/alsa-driver-0.9.8.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-0.9.8.ebuild,v 1.16 2005/01/18 08:42:48 dragonheart Exp $
-
-inherit eutils
-
-DESCRIPTION="Advanced Linux Sound Architecture kernel modules"
-HOMEPAGE="http://www.alsa-project.org/"
-LICENSE="GPL-2 LGPL-2.1"
-
-# By default, drivers for all supported cards will be compiled.
-# If you want to only compile for specific card(s), set ALSA_CARDS
-# environment to a space-separated list of drivers that you want to build.
-# For example:
-#
-# env ALSA_CARDS='emu10k1 intel8x0 ens1370' emerge alsa-driver
-#
-[ x"${ALSA_CARDS}" = x ] && ALSA_CARDS=all
-
-IUSE="oss"
-
-# Need the baselayout 1.7.9 or newer for the init script to work correctly.
-DEPEND="sys-devel/autoconf
- virtual/linux-sources"
-RDEPEND=">=sys-apps/baselayout-1.7.9"
-PROVIDE="virtual/alsa"
-
-SLOT="${KV}"
-KEYWORDS="x86 ppc -sparc amd64"
-
-SRC_URI="mirror://alsaproject/driver/${P}.tar.bz2"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- # The makefile still installs an alsasound initscript,
- # which we REALLY dont want.
- # This patch stops that
- epatch ${FILESDIR}/makefile.patch
- epatch ${FILESDIR}/${P}-au-fix.patch
-}
-
-
-src_compile() {
- # Portage should determine the version of the kernel sources
- check_KV
-
- myconf=""
- use oss && myconf="$myconf --with-oss=yes" || \
- myconf="$myconf --with-oss=no"
-
- ./configure \
- $myconf \
- --host=${CHOST} \
- --prefix=/usr \
- --with-kernel="${ROOT}usr/src/linux" \
- --with-isapnp=yes \
- --with-sequencer=yes \
- --with-cards="${ALSA_CARDS}" \
- || die "./configure failed"
-
- emake || die "Parallel Make Failed"
-}
-
-
-src_install() {
- dodir /usr/include/sound
- make DESTDIR=${D} install || die
-
- rm doc/Makefile
- dodoc CARDS-STATUS COPYING FAQ INSTALL README WARNING TODO doc/*
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = / ]
- then
- [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
- fi
-
- einfo
- einfo "The alsasound initscript and modules.d/alsa have now moved to alsa-utils"
- einfo
- einfo "Also, remember that all mixer channels will be MUTED by default."
- einfo "Use the 'alsamixer' program to unmute them."
- einfo
-
- einfo "If you are using a SBLive Value and experience problems with alsa-driver-0.9.8,"
- einfo "please try a newer version."
-}
diff --git a/media-sound/alsa-driver/alsa-driver-1.0.9_rc2.ebuild b/media-sound/alsa-driver/alsa-driver-1.0.9_rc2.ebuild
index 552226840311..1a56aa9000bd 100644
--- a/media-sound/alsa-driver/alsa-driver-1.0.9_rc2.ebuild
+++ b/media-sound/alsa-driver/alsa-driver-1.0.9_rc2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.9_rc2.ebuild,v 1.2 2005/04/04 22:30:57 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-driver/alsa-driver-1.0.9_rc2.ebuild,v 1.3 2005/04/12 07:51:35 eradicator Exp $
IUSE="oss doc"
inherit linux-mod flag-o-matic eutils
@@ -55,6 +55,12 @@ pkg_setup() {
fi
linux-mod_pkg_setup
+
+ if [[ "$(tc-arch)" == "sparc" && "$(tc-arch-kernel)" == "sparc64" ]] ; then
+ export CROSS_COMPILE="sparc64-unknown-linux-gnu-"
+ export CBUILD="sparc-unknown-linux-gnu"
+ export CHOST="sparc64-unknown-linux-gnu"
+ fi
}
src_unpack() {
diff --git a/media-sound/alsa-driver/files/digest-alsa-driver-0.9.8 b/media-sound/alsa-driver/files/digest-alsa-driver-0.9.8
deleted file mode 100644
index 65ea1dda25f5..000000000000
--- a/media-sound/alsa-driver/files/digest-alsa-driver-0.9.8
+++ /dev/null
@@ -1 +0,0 @@
-MD5 f658b7338106360503f4050373a1fca1 alsa-driver-0.9.8.tar.bz2 1647382