summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDean Bailey <alron@gentoo.org>2003-05-07 23:59:27 +0000
committerDean Bailey <alron@gentoo.org>2003-05-07 23:59:27 +0000
commit6e0ee74ab7e291d20b0ed338ef65d61c70a92373 (patch)
treeae4692ddb01e4582cbf5e72442f7fc5c21175d22 /media-sound/nforce-audio
parentadded filter for -fpmath=sse flag (diff)
downloadgentoo-2-6e0ee74ab7e291d20b0ed338ef65d61c70a92373.tar.gz
gentoo-2-6e0ee74ab7e291d20b0ed338ef65d61c70a92373.tar.bz2
gentoo-2-6e0ee74ab7e291d20b0ed338ef65d61c70a92373.zip
Initial import of nForce Audio kernel driver.
Diffstat (limited to 'media-sound/nforce-audio')
-rw-r--r--media-sound/nforce-audio/ChangeLog7
-rw-r--r--media-sound/nforce-audio/files/digest-nforce-audio-1.0.02561
-rw-r--r--media-sound/nforce-audio/nforce-audio-1.0.0256.ebuild56
3 files changed, 64 insertions, 0 deletions
diff --git a/media-sound/nforce-audio/ChangeLog b/media-sound/nforce-audio/ChangeLog
new file mode 100644
index 000000000000..5b4b67ab6b9c
--- /dev/null
+++ b/media-sound/nforce-audio/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for media-sound/nforce-audio
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/nforce-audio/ChangeLog,v 1.1 2003/05/07 23:59:27 alron Exp $
+
+*nforce-audio-1.0.256 (07 May 2003)
+
+ 07 May 2003; Dean Bailey <alron@gentoo.org> :initial ebuild.
diff --git a/media-sound/nforce-audio/files/digest-nforce-audio-1.0.0256 b/media-sound/nforce-audio/files/digest-nforce-audio-1.0.0256
new file mode 100644
index 000000000000..d18cd981bcb1
--- /dev/null
+++ b/media-sound/nforce-audio/files/digest-nforce-audio-1.0.0256
@@ -0,0 +1 @@
+MD5 3ad2e2371946b7881471e4cadddf108e NVIDIA_nforce-1.0-0256.tar.gz 75752
diff --git a/media-sound/nforce-audio/nforce-audio-1.0.0256.ebuild b/media-sound/nforce-audio/nforce-audio-1.0.0256.ebuild
new file mode 100644
index 000000000000..a1fb07ac0247
--- /dev/null
+++ b/media-sound/nforce-audio/nforce-audio-1.0.0256.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/nforce-audio/nforce-audio-1.0.0256.ebuild,v 1.1 2003/05/07 23:59:27 alron Exp $
+
+inherit gcc
+
+# Make sure Portage does _NOT_ strip symbols. Need both lines for
+# Portage 1.8.9+
+DEBUG="yes"
+RESTRICT="nostrip"
+
+NV_V="${PV/1.0./1.0-}"
+NV_PACKAGE="NVIDIA_nforce-${NV_V}"
+S="${WORKDIR}/nforce"
+DESCRIPTION="Linux kernel module for the NVIDIA's nForce1/2 SoundStorm audio chipset"
+SRC_URI="http://download.nvidia.com/XFree86/nforce/${NV_V}/${NV_PACKAGE}.tar.gz"
+HOMEPAGE="http://www.nvidia.com/"
+
+# The slow needs to be set to $KV to prevent unmerges of
+# modules for other kernels.
+LICENSE="NVIDIA GPL-2"
+SLOT="${KV}"
+KEYWORDS="-* ~x86"
+
+DEPEND="virtual/linux-sources >=sys-apps/portage-1.9.10"
+
+src_compile() {
+ # Portage should determine the version of the kernel sources
+ check_KV
+ cd ${S}/nvaudio
+ make KERNSRC="/usr/src/linux" || die
+}
+
+src_install() {
+ # The driver goes into the standard modules location
+ insinto /lib/modules/${KV}/kernel/drivers/sound
+ doins nvaudio/nvaudio.o
+
+ # Docs
+ dodoc ${S}/ReleaseNotes.html ${S}/GNULicense.txt ${S}/NVLicense.txt
+}
+
+pkg_postinst() {
+ if [ "${ROOT}" = "/" ]
+ then
+ # Update module dependency
+ [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
+ fi
+
+ echo
+ einfo "You need to add \"nvaudio\" to your /etc/modules.autoload to load"
+ einfo "this module when the system is started. Alternatively, you can"
+ einfo "use the 'hotplug' package ('emerge hotplug' then 'rc-update add"
+ einfo "hotplug default') to auto-detect and load \"nvaudio\" on startup."
+}
+