diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-20 22:40:53 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-20 22:40:53 +0000 |
commit | acac02f6344700bf20de6293a98adf82c449cbbc (patch) | |
tree | 153e2bb1d06ac65d695e2e4f2562d14bb4aa1aaf /media-sound | |
parent | Bump weekly 4.2 snapshot (diff) | |
download | gentoo-2-acac02f6344700bf20de6293a98adf82c449cbbc.tar.gz gentoo-2-acac02f6344700bf20de6293a98adf82c449cbbc.tar.bz2 gentoo-2-acac02f6344700bf20de6293a98adf82c449cbbc.zip |
Remove nforce-audio (2 days late).
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/nforce-audio/ChangeLog | 72 | ||||
-rw-r--r-- | media-sound/nforce-audio/Manifest | 30 | ||||
-rw-r--r-- | media-sound/nforce-audio/files/digest-nforce-audio-1.0.0292-r1 | 2 | ||||
-rw-r--r-- | media-sound/nforce-audio/files/digest-nforce-audio-1.0.0301 | 2 | ||||
-rw-r--r-- | media-sound/nforce-audio/files/digest-nforce-audio-1.0.0310 | 2 | ||||
-rw-r--r-- | media-sound/nforce-audio/files/nforce-2.6.10.patch | 36 | ||||
-rw-r--r-- | media-sound/nforce-audio/files/nforce-2.6.11.patch | 28 | ||||
-rw-r--r-- | media-sound/nforce-audio/metadata.xml | 5 | ||||
-rw-r--r-- | media-sound/nforce-audio/nforce-audio-1.0.0292-r1.ebuild | 71 | ||||
-rw-r--r-- | media-sound/nforce-audio/nforce-audio-1.0.0301.ebuild | 68 | ||||
-rw-r--r-- | media-sound/nforce-audio/nforce-audio-1.0.0310.ebuild | 68 |
11 files changed, 0 insertions, 384 deletions
diff --git a/media-sound/nforce-audio/ChangeLog b/media-sound/nforce-audio/ChangeLog deleted file mode 100644 index 22ac6792de0b..000000000000 --- a/media-sound/nforce-audio/ChangeLog +++ /dev/null @@ -1,72 +0,0 @@ -# ChangeLog for media-sound/nforce-audio -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/nforce-audio/ChangeLog,v 1.14 2006/02/04 23:29:09 weeve Exp $ - - 04 Feb 2006; Jason Wever <weeve@gentoo.org> - nforce-audio-1.0.0292-r1.ebuild, nforce-audio-1.0.0301.ebuild, - nforce-audio-1.0.0310.ebuild: - Changed dodoc to dohtml. - -*nforce-audio-1.0.0310 (13 Dec 2005) - - 13 Dec 2005; Luis Medinas <metalgod@gentoo.org> - +nforce-audio-1.0.0310.ebuild: - Version Bump. Closes bug #104471. - - 19 Oct 2005; Tony Vroon <chainsaw@gentoo.org> - nforce-audio-1.0.0301.ebuild: - Modify einfo statements in pkg_postinst, closes bug #94869. - - 16 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog: - Converted to UTF-8, fixed encoding screwups - - 30 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> - nforce-audio-1.0.0301.ebuild: - now we also install nvmix-reg, fixes #87292 - -*nforce-audio-1.0.0301 (25 Mar 2005) - - 25 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> - nforce-audio-1.0.0292-r1.ebuild, +nforce-audio-1.0.0301.ebuild: - new upstream version, fixes #84975. also fixed #86084 - - 12 Mar 2005; Stefan Schweizer <genstef@gentoo.org> - -nforce-audio-1.0.0256.ebuild, -nforce-audio-1.0.0261.ebuild, - nforce-audio-1.0.0292-r1.ebuild, -nforce-audio-1.0.0292.ebuild: - latest version stable, prune older versions. - -*nforce-audio-1.0.0292-r1 (07 Mar 2005) - - 07 Mar 2005; Stefan Schweizer <genstef@gentoo.org> - +files/nforce-2.6.10.patch, +files/nforce-2.6.11.patch, - +nforce-audio-1.0.0292-r1.ebuild: - Adding patches for 2.6.10/11 closes bug 82350 by Félix Dewaleyne - <draco.brasier@gmail.com>, thanks to Bols <bols2000@ibelgique.com> and Paul - Marks <pmarks@purdue.edu> for the patches in bug 81838 by Alain - <myth.384@wanadoo.nl> - -*nforce-audio-1.0.0292 (04 Feb 2005) - - 04 Feb 2005; Stefan Schweizer <genstef@gentoo.org> - +nforce-audio-1.0.0292.ebuild: - New ebuild thanks to Benoit C <bchesneau@gmail.com>, Lukas Miczka - <cpu@ztpnet.pl>, Jeremy Huddleston <eradicator@gentoo.org>, guiseppe - <giupil@aliceposta.it>, Cyrille M <cyrille.mertz@gmail.com>, Rav - <reen@otakumail.com>, Roel Brook <Rainmaker526@hotmail.com>, Justin - <yoosty69@netzero.net> and Bols <bols2000@ibelgique.com> in bug 68346 - - 20 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> - nforce-audio-1.0.0256.ebuild, nforce-audio-1.0.0261.ebuild: - Added IUSE. - -*nforce-audio-1.0.0261 (11 Jun 2003) - - 11 Jun 2003; Daniel Robbins <drobbins@gentoo.org>: updated build that now - disables SPDIF digital audio output by default, but tells the user how to - enable it. It needs to be disabled because with SPDIF enabled by default, the - sound chip will only play back at 48KHz, causing several audio players to - play back CD audio at the wrong speed. - -*nforce-audio-1.0.0256 (07 May 2003) - - 07 May 2003; Dean Bailey <alron@gentoo.org> :initial ebuild. diff --git a/media-sound/nforce-audio/Manifest b/media-sound/nforce-audio/Manifest deleted file mode 100644 index 1013ffb67fcf..000000000000 --- a/media-sound/nforce-audio/Manifest +++ /dev/null @@ -1,30 +0,0 @@ -MD5 0a908fcc0b5cdcb94c605c51e43cb6cf ChangeLog 2899 -RMD160 433ffe67f3dddab1733ff321e1fecee34ca73539 ChangeLog 2899 -SHA256 c5449f2ed9fbdb41ab1e318db3a3cfd52a900c9aebb0222ed699ce782ca67a33 ChangeLog 2899 -MD5 f4086b92b1ebc4bcb2c158a4562c0c76 files/digest-nforce-audio-1.0.0292-r1 163 -RMD160 224da20208cc67dd02ae6f7b28cefb80409fd1a8 files/digest-nforce-audio-1.0.0292-r1 163 -SHA256 426e39216114b5845f6bc7fe76cdb6e26305ba8824581d1967c9010eef942b1f files/digest-nforce-audio-1.0.0292-r1 163 -MD5 e511938c1bb02442f98225418c8c11bd files/digest-nforce-audio-1.0.0301 163 -RMD160 2c77c1843831c92ce441cb33ae43dd4df6068d6b files/digest-nforce-audio-1.0.0301 163 -SHA256 1ddbe81bd0ccc53e94adfca56fee8f8058b6de055a866461fdd9646004a1fa55 files/digest-nforce-audio-1.0.0301 163 -MD5 decf4ed7e7c1401c14adeb03763ddfe7 files/digest-nforce-audio-1.0.0310 163 -RMD160 d8078b0cd64ce496cd1275ba0497efbf70d09446 files/digest-nforce-audio-1.0.0310 163 -SHA256 a9464aa5470a277197a035886cebedfe41e45b2f327cc8af501b7d01cf3f57d0 files/digest-nforce-audio-1.0.0310 163 -MD5 f0522771af3cee1921f08aa5b46f930a files/nforce-2.6.10.patch 1437 -RMD160 2b26bf656c4242ed623ed47a49fe889d9a8b4c6b files/nforce-2.6.10.patch 1437 -SHA256 afcad6b115a2be3154b107c8305e94fb997794c4c707d2c9b9fd268e12eb36ce files/nforce-2.6.10.patch 1437 -MD5 30f72f2393d741767765a6e7fd6ca8d0 files/nforce-2.6.11.patch 1222 -RMD160 e4e7da89ffa8b1fc411bfebf532c3f4f9068eb8a files/nforce-2.6.11.patch 1222 -SHA256 e229003273b244c4245da5cdc7ae73367c8841bf62b53cf7baef1def7b233d71 files/nforce-2.6.11.patch 1222 -MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 -RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158 -SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata.xml 158 -MD5 ae02eb2e24c9f44f99342504ad0a9a20 nforce-audio-1.0.0292-r1.ebuild 1614 -RMD160 bf4b5e1dd9b1308f4565448d37a96e82c42cedea nforce-audio-1.0.0292-r1.ebuild 1614 -SHA256 6adab21a37ee72efcf38bb07a15dd166c507566e7891219666bf234f2f242e4c nforce-audio-1.0.0292-r1.ebuild 1614 -MD5 5788db0f57b986231346522b047d5630 nforce-audio-1.0.0301.ebuild 1714 -RMD160 3a59296e011f1b4f2e92f7fe0076444c2c480d96 nforce-audio-1.0.0301.ebuild 1714 -SHA256 31952d2dd8bdf1959ab800260e06c77235780587ca88bfe6bf9df99ab9eaec5c nforce-audio-1.0.0301.ebuild 1714 -MD5 ee00fe3e634f5952265a2259c0e47fd1 nforce-audio-1.0.0310.ebuild 1714 -RMD160 9dbd7874a316ed713fd2f0239aa513bf9f700dea nforce-audio-1.0.0310.ebuild 1714 -SHA256 741d7624c1bd472fceaf43aa04f8441eed08f2711c8ceab1d8a7125e7d1f1fa6 nforce-audio-1.0.0310.ebuild 1714 diff --git a/media-sound/nforce-audio/files/digest-nforce-audio-1.0.0292-r1 b/media-sound/nforce-audio/files/digest-nforce-audio-1.0.0292-r1 deleted file mode 100644 index 27b67a6c5101..000000000000 --- a/media-sound/nforce-audio/files/digest-nforce-audio-1.0.0292-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 a25ed74c1cfdd80363db88f3d027a455 NFORCE-Linux-x86-1.0-0292-pkg1.run 5613674 -MD5 fd571c820762755011003509ce2ddd5f NFORCE-Linux-x86_64-1.0-0292-pkg1.run 3341216 diff --git a/media-sound/nforce-audio/files/digest-nforce-audio-1.0.0301 b/media-sound/nforce-audio/files/digest-nforce-audio-1.0.0301 deleted file mode 100644 index 3e21c8970817..000000000000 --- a/media-sound/nforce-audio/files/digest-nforce-audio-1.0.0301 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 e424d0eb54c81d3832a29ec1436c09c7 NFORCE-Linux-x86-1.0-0301-pkg1.run 5867634 -MD5 116208cca29509f66694d8a47e4c5103 NFORCE-Linux-x86_64-1.0-0301-pkg1.run 3448574 diff --git a/media-sound/nforce-audio/files/digest-nforce-audio-1.0.0310 b/media-sound/nforce-audio/files/digest-nforce-audio-1.0.0310 deleted file mode 100644 index dd9d0c6b1374..000000000000 --- a/media-sound/nforce-audio/files/digest-nforce-audio-1.0.0310 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 9e0b636ff53f4f23768383af962cc68c NFORCE-Linux-x86-1.0-0310-pkg1.run 6031508 -MD5 52295218f89f5338b88ceb40f34eb3a3 NFORCE-Linux-x86_64-1.0-0310-pkg1.run 3469347 diff --git a/media-sound/nforce-audio/files/nforce-2.6.10.patch b/media-sound/nforce-audio/files/nforce-2.6.10.patch deleted file mode 100644 index 8c863972f118..000000000000 --- a/media-sound/nforce-audio/files/nforce-2.6.10.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -Nru NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/nvenet.c NFORCE-Linux-x86-1.0-0292-pkgz/nvnet/nvenet.c ---- NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/nvenet.c 2004-10-08 22:10:57.000000000 +0200 -+++ NFORCE-Linux-x86-1.0-0292-pkgz/nvnet/nvenet.c 2005-01-04 18:47:06.000000000 +0100 -@@ -1315,7 +1315,7 @@ - if (dev && dev->priv) - { - -- pci_save_state(priv->pdev, priv->pci_state); -+ pci_save_state(priv->pdev); - priv->pADApi->pfnGetPowerState(priv->pADApi->pADCX, &power_state); - if (netif_running(dev)) - { -@@ -1371,7 +1371,7 @@ - if (dev && dev->priv) - { - pci_set_power_state(priv->pdev, 0); -- pci_restore_state(priv->pdev, priv->pci_state); -+ pci_restore_state(priv->pdev); - pci_enable_wake(priv->pdev, 3, 0); - pci_enable_wake(priv->pdev, 4, 0); - -diff -Nru NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/Makefile.kbuild NFORCE-Linux-x86-1.0-0292-pkgz/nvsound/main/Makefile.kbuild ---- NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/Makefile.kbuild 2004-10-08 22:10:57.000000000 +0200 -+++ NFORCE-Linux-x86-1.0-0292-pkgz/nvsound/main/Makefile.kbuild 2005-01-04 14:58:19.000000000 +0100 -@@ -51,9 +51,9 @@ - - REMAP_PAGE_RANGE := $(shell sh $(src)/conftest.sh "$(CC)" "$(KERNEL_SOURCES)" "$(KERNEL_OUTPUT)" remap_page_range) - --ifeq ($(REMAP_PAGE_RANGE),5) -+#ifeq ($(REMAP_PAGE_RANGE),5) - EXTRA_CFLAGS += -DREMAP_NEW --endif -+#endif - - # - # KBUILD build parameters. diff --git a/media-sound/nforce-audio/files/nforce-2.6.11.patch b/media-sound/nforce-audio/files/nforce-2.6.11.patch deleted file mode 100644 index 9f7689a812e0..000000000000 --- a/media-sound/nforce-audio/files/nforce-2.6.11.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- NFORCE-Linux-x86-1.0-0292-pkg1/nvsound/main/nvmain.c 2004-10-08 15:10:57.000000000 -0500 -+++ nvmain.c 2005-03-06 03:39:31.000000000 -0500 -@@ -824,11 +824,7 @@ - unlock_kernel(); - return -EINVAL; - } --#if(REMAP_NEW) -- if (remap_page_range(vma, vma->vm_start, virt_to_phys(nvstream->vir_dmabuf), size, vma->vm_page_prot)) { --#else -- if (remap_page_range(vma->vm_start, virt_to_phys(nvstream->vir_dmabuf), size, vma->vm_page_prot)) { --#endif -+ if (remap_pfn_range(vma, vma->vm_start, virt_to_phys(nvstream->vir_dmabuf)>>PAGE_SHIFT, size, vma->vm_page_prot)) { - unlock_kernel(); - return -EAGAIN; - } -@@ -847,11 +843,7 @@ - unlock_kernel(); - return -EINVAL; - } --#if(REMAP_NEW) -- if (remap_page_range(vma, vma->vm_start, virt_to_phys(nvstream->vir_dmabuf), size, vma->vm_page_prot)) { --#else -- if (remap_page_range(vma->vm_start, virt_to_phys(nvstream->vir_dmabuf), size, vma->vm_page_prot)) { --#endif -+ if (remap_pfn_range(vma, vma->vm_start, virt_to_phys(nvstream->vir_dmabuf)>>PAGE_SHIFT, size, vma->vm_page_prot)) { - unlock_kernel(); - return -EAGAIN; - } diff --git a/media-sound/nforce-audio/metadata.xml b/media-sound/nforce-audio/metadata.xml deleted file mode 100644 index e1774e3d9ad7..000000000000 --- a/media-sound/nforce-audio/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>sound</herd> -</pkgmetadata> diff --git a/media-sound/nforce-audio/nforce-audio-1.0.0292-r1.ebuild b/media-sound/nforce-audio/nforce-audio-1.0.0292-r1.ebuild deleted file mode 100644 index d5388e01388b..000000000000 --- a/media-sound/nforce-audio/nforce-audio-1.0.0292-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/nforce-audio/nforce-audio-1.0.0292-r1.ebuild,v 1.6 2006/02/04 23:29:09 weeve Exp $ - -inherit eutils linux-mod - -PKG_V="pkg1" -NV_V="${PV/1.0./1.0-}" -X86_NV_PACKAGE="NFORCE-Linux-x86-${NV_V}" -AMD64_NV_PACKAGE="NFORCE-Linux-x86_64-${NV_V}" - -DESCRIPTION="Linux kernel module for the NVIDIA's nForce SoundStorm audio chipset" -HOMEPAGE="http://www.nvidia.com/" -SRC_URI="x86? ( http://download.nvidia.com/XFree86/nforce/${NV_V}/${X86_NV_PACKAGE}-${PKG_V}.run ) - amd64? ( http://download.nvidia.com/XFree86/nforce/amd64/${NV_V}/${AMD64_NV_PACKAGE}-${PKG_V}.run )" - -if use x86; then - NV_PACKAGE="${X86_NV_PACKAGE}" -elif use amd64; then - NV_PACKAGE="${AMD64_NV_PACKAGE}" -fi - -S=${WORKDIR}/${NV_PACKAGE}-${PKG_V}/nvsound - -LICENSE="NVIDIA" -SLOT="0" -KEYWORDS="-* x86 ~amd64" -RESTRICT="nostrip" -IUSE="" - -MODULE_NAMES="nvsound(:${S}/main)" -BUILD_PARAMS="SYSSRC=${KV_DIR}" -BUILD_TARGETS=" " - -src_unpack() { - unpack ${A} - - cd ${WORKDIR} - bash ${DISTDIR}/${NV_PACKAGE}-${PKG_V}.run --extract-only - if kernel_is 2 6 10; then - epatch ${FILESDIR}/nforce-2.6.10.patch - fi - if kernel_is gt 2 6 10; then - epatch ${FILESDIR}/nforce-2.6.11.patch - fi -} - -src_compile() { - cd ${S}/main - - if kernel_is 2 6 - then - rm makefile - ln -snf Makefile.kbuild Makefile - fi - - linux-mod_src_compile -} - -src_install() { - linux-mod_src_install - - dobin nvmixer - dohtml ${S}/ReleaseNotes.html -} - -pkg_postinst() { - linux-mod_pkg_postinst - - einfo "You may also be interested in media-sound/nforce-nvmixer" -} diff --git a/media-sound/nforce-audio/nforce-audio-1.0.0301.ebuild b/media-sound/nforce-audio/nforce-audio-1.0.0301.ebuild deleted file mode 100644 index 61eb60f7305c..000000000000 --- a/media-sound/nforce-audio/nforce-audio-1.0.0301.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/nforce-audio/nforce-audio-1.0.0301.ebuild,v 1.6 2006/02/04 23:29:09 weeve Exp $ - -inherit eutils linux-mod - -PKG_V="pkg1" -NV_V="${PV/1.0./1.0-}" -X86_NV_PACKAGE="NFORCE-Linux-x86-${NV_V}" -AMD64_NV_PACKAGE="NFORCE-Linux-x86_64-${NV_V}" - -DESCRIPTION="Linux kernel module for the NVIDIA's nForce SoundStorm audio chipset" -HOMEPAGE="http://www.nvidia.com/" -SRC_URI="x86? ( http://download.nvidia.com/XFree86/nforce/${NV_V}/${X86_NV_PACKAGE}-${PKG_V}.run ) - amd64? ( http://download.nvidia.com/XFree86/nforce/amd64/${NV_V}/${AMD64_NV_PACKAGE}-${PKG_V}.run )" - -if use x86; then - NV_PACKAGE="${X86_NV_PACKAGE}" -elif use amd64; then - NV_PACKAGE="${AMD64_NV_PACKAGE}" -fi - -S=${WORKDIR}/${NV_PACKAGE}-${PKG_V}/nvsound - -LICENSE="NVIDIA" -SLOT="0" -KEYWORDS="-* ~x86 ~amd64" -RESTRICT="nostrip" -IUSE="" - -MODULE_NAMES="nvsound(:${S}/main)" -BUILD_PARAMS="SYSSRC=${KV_DIR}" -BUILD_TARGETS=" " - -src_unpack() { - unpack ${A} - - cd ${WORKDIR} - bash ${DISTDIR}/${NV_PACKAGE}-${PKG_V}.run --extract-only -} - -src_compile() { - cd ${S}/main - - if kernel_is 2 6 - then - rm makefile - ln -snf Makefile.kbuild Makefile - fi - - linux-mod_src_compile -} - -src_install() { - linux-mod_src_install - dobin nvmixer nvmix-reg - dohtml ${S}/ReleaseNotes.html -} - -pkg_postinst() { - linux-mod_pkg_postinst - - einfo "If you want to restore your volume settings between sessions add this line to your" - einfo "/etc/conf.d/local.start:" - einfo "/usr/bin/nvmix-reg -f /etc/nvmixrc -L >/dev/null 2>&1" - einfo "And this line to your /etc/conf.d/local.stop" - einfo "/usr/bin/nvmix-reg -f /etc/nvmixrc -S >/dev/null 2>&1" -} diff --git a/media-sound/nforce-audio/nforce-audio-1.0.0310.ebuild b/media-sound/nforce-audio/nforce-audio-1.0.0310.ebuild deleted file mode 100644 index 2bfa973f5106..000000000000 --- a/media-sound/nforce-audio/nforce-audio-1.0.0310.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/nforce-audio/nforce-audio-1.0.0310.ebuild,v 1.2 2006/02/04 23:29:09 weeve Exp $ - -inherit eutils linux-mod - -PKG_V="pkg1" -NV_V="${PV/1.0./1.0-}" -X86_NV_PACKAGE="NFORCE-Linux-x86-${NV_V}" -AMD64_NV_PACKAGE="NFORCE-Linux-x86_64-${NV_V}" - -DESCRIPTION="Linux kernel module for the NVIDIA's nForce SoundStorm audio chipset" -HOMEPAGE="http://www.nvidia.com/" -SRC_URI="x86? ( http://download.nvidia.com/XFree86/nforce/${NV_V}/${X86_NV_PACKAGE}-${PKG_V}.run ) - amd64? ( http://download.nvidia.com/XFree86/nforce/amd64/${NV_V}/${AMD64_NV_PACKAGE}-${PKG_V}.run )" - -if use x86; then - NV_PACKAGE="${X86_NV_PACKAGE}" -elif use amd64; then - NV_PACKAGE="${AMD64_NV_PACKAGE}" -fi - -S=${WORKDIR}/${NV_PACKAGE}-${PKG_V}/nvsound - -LICENSE="NVIDIA" -SLOT="0" -KEYWORDS="-* ~x86 ~amd64" -RESTRICT="nostrip" -IUSE="" - -MODULE_NAMES="nvsound(:${S}/main)" -BUILD_PARAMS="SYSSRC=${KV_DIR}" -BUILD_TARGETS=" " - -src_unpack() { - unpack ${A} - - cd ${WORKDIR} - bash ${DISTDIR}/${NV_PACKAGE}-${PKG_V}.run --extract-only -} - -src_compile() { - cd ${S}/main - - if kernel_is 2 6 - then - rm makefile - ln -snf Makefile.kbuild Makefile - fi - - linux-mod_src_compile -} - -src_install() { - linux-mod_src_install - dobin nvmixer nvmix-reg - dohtml ${S}/ReleaseNotes.html -} - -pkg_postinst() { - linux-mod_pkg_postinst - - einfo "If you want to restore your volume settings between sessions add this line to your" - einfo "/etc/conf.d/local.start:" - einfo "/usr/bin/nvmix-reg -f /etc/nvmixrc -L >/dev/null 2>&1" - einfo "And this line to your /etc/conf.d/local.stop" - einfo "/usr/bin/nvmix-reg -f /etc/nvmixrc -S >/dev/null 2>&1" -} |