summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-11-05 18:05:36 +0000
committerMike Frysinger <vapier@gentoo.org>2002-11-05 18:05:36 +0000
commit89c0d6b63f9b86a42d771c190179e0f2a7963c4c (patch)
tree156831b929284dc7c072961e44eb8b61f16ba4c3
parentInitial ebuild (diff)
downloadgentoo-2-89c0d6b63f9b86a42d771c190179e0f2a7963c4c.tar.gz
gentoo-2-89c0d6b63f9b86a42d771c190179e0f2a7963c4c.tar.bz2
gentoo-2-89c0d6b63f9b86a42d771c190179e0f2a7963c4c.zip
old package, use emu10k1 now
-rw-r--r--media-sound/emu10k1-audigy/ChangeLog9
-rw-r--r--media-sound/emu10k1-audigy/emu10k1-audigy-20020214-r1.ebuild54
-rw-r--r--media-sound/emu10k1-audigy/files/audigy-script251
-rw-r--r--media-sound/emu10k1-audigy/files/config11
-rw-r--r--media-sound/emu10k1-audigy/files/digest-emu10k1-audigy-20020214-r11
-rw-r--r--media-sound/emu10k1-audigy/files/emu10k1.conf40
-rw-r--r--media-sound/emu10k1-audigy/files/modules-audigy1
7 files changed, 0 insertions, 367 deletions
diff --git a/media-sound/emu10k1-audigy/ChangeLog b/media-sound/emu10k1-audigy/ChangeLog
deleted file mode 100644
index b8292bb0cab2..000000000000
--- a/media-sound/emu10k1-audigy/ChangeLog
+++ /dev/null
@@ -1,9 +0,0 @@
-# ChangeLog for media-sound/emu10k1-audigy
-# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1-audigy/ChangeLog,v 1.1 2002/07/16 20:19:07 drobbins Exp $
-
-*emu10k1-audigy-20020214-r1 (16 Jul 2002)
-
- 16 Jul 2002; Daniel Robbins <drobbins@gentoo.org> : new version with a fixed
- audigy-script that includes the right path for emu-dspmgr. Also added
- LICENSE, SLOT and KEYWORDS variables. Oh. And this ChangeLog :)
diff --git a/media-sound/emu10k1-audigy/emu10k1-audigy-20020214-r1.ebuild b/media-sound/emu10k1-audigy/emu10k1-audigy-20020214-r1.ebuild
deleted file mode 100644
index afcd11e3658e..000000000000
--- a/media-sound/emu10k1-audigy/emu10k1-audigy-20020214-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1-audigy/emu10k1-audigy-20020214-r1.ebuild,v 1.2 2002/10/04 05:53:09 vapier Exp $
-
-S=${WORKDIR}/emu10k1-audigy
-DESCRIPTION="Drivers, utilities and effects for the SoundBlaster Audigy line of sound cards"
-SRC_URI="mirror://sourceforge/emu10k1/audigy-driver-2002-02-14.tar.gz"
-HOMEPAGE="http://www.sourceforge.net/projects/emu10k1/"
-DEPEND="virtual/linux-sources"
-RDEPEND="media-sound/aumix"
-KEYWORDS="x86 -ppc -sparc -sparc64"
-SLOT="$KV"
-LICENSE="GPL-2"
-
-src_unpack()
-{
- [ "$KV" = "" ] && die "Couldn't detect kernel version. Does /usr/src/linux exist?"
- unpack ${A}
- cp ${FILESDIR}/config ${S}
-}
-
-src_compile()
-{
- make
- make all
- make tools
-}
-
-src_install() {
- dodir /etc/audigy
- dodir /usr/sbin
- insinto /etc/audigy
- doins ${FILESDIR}/emu10k1.conf
- exeinto /usr/sbin
- doexe ${FILESDIR}/audigy-script
- insinto /etc/modules.d
- newins ${FILESDIR}/modules-audigy audigy
- make DESTDIR=${D} install
- insinto /usr/share/audigy/effects
- cd ${S}/utils/as10k1
- doins effects/*.bin
- dobin as10k1
- doman as10k1.1
- cd ${S}/utils/mixer
- dosbin emu-dspmgr emu-config
- doman doc/*.1
-}
-
-pkg_postinst() {
- if [ -e /usr/sbin/update-modules ]
- then
- ${ROOT}/usr/sbin/update-modules
- fi
-}
diff --git a/media-sound/emu10k1-audigy/files/audigy-script b/media-sound/emu10k1-audigy/files/audigy-script
deleted file mode 100644
index 6cf011079c43..000000000000
--- a/media-sound/emu10k1-audigy/files/audigy-script
+++ /dev/null
@@ -1,251 +0,0 @@
-#!/bin/bash -e
-#
-# audigy-script -- A setup script
-#
-# Author: Daniel Bertrand
-# Last Update: February, 2002
-# Version: 0.1
-#
-# Description:
-# -----------
-# You can use this script to automatically configure the card
-# on module load
-#
-# To do so, add the following line to your module.config (or conf.module) file
-# (and remove the leading '#'):
-#
-# post-install emu10k1 /usr/local/etc/emu-script
-#
-# if you want to save mixer levels, you can use the following:
-#
-# post-install emu10k1 /usr/local/etc/emu-script restore
-# pre-remove emu10k1 /usr/local/etc/emu-script save
-#
-# configuration is done in the file 'emu10k1.conf'
-#
-# Requirements:
-# ------------
-# This script needs the following to be installed:
-#
-# -the emu10k1 tools:
-# emu-config, emu-dspmgr and the dsp .bin files
-# -aumix (installed by default on many Linux distros)
-#
-#
-# Optional argument processing:
-# This script takes arguments which can override the settings in the
-# config file. The following flags are supported:
-#
-# -d [yes|no] use the digital output
-# -t [yes|no] enable the tone controls
-# -3 [yes|no] enable ac3 passthrough
-# -i [yes|no] enable livedrive ir
-# -r [yes|no] invert rear channels
-# -m [yes|no] enable multichannel mode
-# -s [yes|no] route all multichannel signals to sub
-# -b [yes|no] enable the 12dB front analog boost
-#
-# I don't include command line switches for enabling the various inputs
-# or selecting if the card is 5.1 since I can't see being able to set or
-# unset these on the fly being particularly useful.
-
-# Default location of programs:
-BASE_PATH=/usr
-DSPPATH=$BASE_PATH/share/audigy/effects
-
-
-#
-# To use something other than /dev/dsp
-# example "-D /dev/dsp1"
-DSPDEV=""
-
-# To use something other than /dev/dsp
-# example "-M /dev/mixer1"
-MIXERDEV=""
-
-DSPMGR=$BASE_PATH/sbin/emu-dspmgr $DSPDEV $MIXERDEV
-
-CONFIG=$BASE_PATH/bin/emu-config $DSPDEV $MIXERDEV
-
-DRIVER_VERSION=` $DSPMGR -q`
-
-SAVEARGS="$@"
-
-load(){
-
-# Source configurations
- . /etc/audigy/emu10k1.conf
-
-# Pick up any command line overrides
-while getopts d:t:i:r:m:s:b: OPT $SAVEARGS; do
- case "$OPT" in
- d)
- USE_DIGITAL_OUTPUT=$OPTARG
- ;;
- t)
- ENABLE_TONE_CONTROL=$OPTARG
- ;;
- 3)
- AC3PASSTHROUGH=$OPTARG
- ;;
- i)
- ENABLE_LIVEDRIVE_IR=$OPTARG
- ;;
- r)
- INVERT_REAR=$OPTARG
- ;;
- m)
- MULTICHANNEL=$OPTARG
- ;;
- s)
- ROUTE_ALL_TO_SUB=$OPTARG
- ;;
- *)
- exit 1
- ;;
- esac
- shift 2
-done
-
-#set some variables
-if [ "$USE_DIGITAL_OUTPUT" = yes ]; then
- FRONT="Dig Front"
- CENTER="Dig Center"
- SUB="Dig LFE"
- REAR="Dig rear"
- CTR_SUB="Dig ctr/sub"
-else
- FRONT="Front"
- CENTER="Center"
- SUB="sub"
- REAR="rear"
- CTR_SUB="ctr/sub"
-fi
-
-## functions to enable a inputs and volume controls
-enable_input(){
- INPUT=$@
- $DSPMGR -a"$INPUT:$FRONT" -a"$INPUT:$REAR" -a"$INPUT:Headphones"
-}
-enable_volume(){
- INPUT=$1
- VOLUME=$2
-
- $DSPMGR -p"$VOLUME Vol" -l"$INPUT" -f$DSPPATH/vol_2.bin -c"Vol_L" -m"${VOLUME}_l" -c"Vol_R" -m"${VOLUME}_r"
-}
-
-enable_with_vol(){
- INPUT=$1
- VOLUME=$2
-
- $DSPMGR -a"$INPUT:$FRONT" -a"$INPUT:$REAR" -a"$INPUT:Headphones"
- $DSPMGR -p"$VOLUME Vol" -l"$INPUT" -f$DSPPATH/vol_2.bin -c"Vol_L" -m"${VOLUME}_l" -c"Vol_R" -m"${VOLUME}_r"
-}
-#Start by clearing everything and stopping the FX8010
-$DSPMGR -x -z
-
-
-# Enable inputs (route them to the outputs) and volume controls
-
-# pcm can be up to 6 channels
-
-
-$DSPMGR -a"pcm:$FRONT" -a"pcm rear:$REAR" -a"pcm:headphones" -a"pcm:headphones" -a"pcm ctr/sub:$CTR_SUB"
-$DSPMGR -l"pcm" -l"pcm rear" -l"pcm ctr/sub" -f$DSPPATH/vol_pcm.bin -c"Vol_L" -m"pcm_l" -c"Vol_R" -m"pcm_r"
-
-
-
-# other inputs are only stereo
-
-if [ "$ENABLE_CD_Spdif" = yes ]; then
- enable_with_vol "CD-Spdif" "dig1"
-fi
-
-if [ "$ENABLE_OPTICAL_SPDIF" = yes ]; then
- enable_with_vol "Opt. Spdif" "dig2"
-fi
-if [ "$ENABLE_LINE2_MIC2" = yes ]; then
- enable_with_vol "Line2/Mic2" "line2"
-fi
-if [ "$ENABLE_RCA_SPDIF" = yes ]; then
- enable_with_vol "RCA Spdif" "dig3"
-fi
-if [ "$ENABLE_RCA_AUX" = yes ]; then
- enable_with_vol "RCA Aux2" "line3"
-fi
-
-
-# Analog-in is already routed to the analog front output
-# So we route it only to the remaining outputs
-
-$DSPMGR -a"analog:$REAR" -a"analog:Headphones"
-if [ "$USE_DIGITAL_OUTPUT" = yes ]; then
- $DSPMGR -a"analog:dig front"
-fi
-
-#Output volume controls:
-enable_volume "$FRONT" "vol"
-enable_volume "$REAR" "ogain"
-
-
-if [ "$ENABLE_TONE_CONTROL" = yes ] ; then
-
- TONE=tone.bin
-
- $DSPMGR -l"$FRONT L" -f$DSPPATH/$TONE -cbass -mbass -ctreble -mtreble
-#The next 3 'inherit' the oss control of the above line:
- $DSPMGR -l"$FRONT R" -f$DSPPATH/$TONE
- $DSPMGR -l"$REAR R" -f$DSPPATH/$TONE
- $DSPMGR -l"$REAR L" -f$DSPPATH/$TONE
-# $DSPMGR -l"$CENTER" -f$DSPPATH/$TONE
-
- aumix -t 68
- aumix -b 68
-fi
-
-
-
-# Need to toggle third output into digital mode
-
-if [ "$CARD_IS_5_1" = yes ] ; then
- if [ "$USE_DIGITAL_OUTPUT" = yes ] ; then
- $CONFIG -d
- else
- $CONFIG -a
- fi
-fi
-
-# See if we should enable IR
-
-if [ "$ENABLE_LIVEDRIVE_IR" = yes ] ; then
- $CONFIG -i
-fi
-
-# for digital output we can do ac3passthrough
-# this patch must be last in the signal chain
-if [ "$USE_DIGITAL_OUTPUT" = yes ]; then
- if [ "$AC3PASSTHROUGH" = yes ] ; then
- $DSPMGR -l"dig front" -F"$DSPPATH/ac3pass-audigy.bin"
- fi
-fi
-
-
-# Restart the FX8010
-$DSPMGR -y
-
-}
-
-case "$1" in
-
- restore | restart)
- load
- # restore mixer settings
- /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
- ;;
- save | stop)
- # save mixer settings
- /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
- ;;
- *)
- load
-esac
diff --git a/media-sound/emu10k1-audigy/files/config b/media-sound/emu10k1-audigy/files/config
deleted file mode 100644
index b4bb4d66830b..000000000000
--- a/media-sound/emu10k1-audigy/files/config
+++ /dev/null
@@ -1,11 +0,0 @@
-# Driver build options
-KERNEL_SOURCE :=/usr/src/linux
-DEBUG := n
-SEQUENCER_SUPPORT := n
-
-# say no unless you need to use the dbgemu tool,
-# note that this allows users raw access to any register
-# it should not be used in a normal driver.
-DBGEMU := n
-
-export KERNEL_SOURCE
diff --git a/media-sound/emu10k1-audigy/files/digest-emu10k1-audigy-20020214-r1 b/media-sound/emu10k1-audigy/files/digest-emu10k1-audigy-20020214-r1
deleted file mode 100644
index 0be33b6d82c2..000000000000
--- a/media-sound/emu10k1-audigy/files/digest-emu10k1-audigy-20020214-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 3efbd9bfceba5aa0eff006732dd07659 audigy-driver-2002-02-14.tar.gz 375260
diff --git a/media-sound/emu10k1-audigy/files/emu10k1.conf b/media-sound/emu10k1-audigy/files/emu10k1.conf
deleted file mode 100644
index 17848e53d077..000000000000
--- a/media-sound/emu10k1-audigy/files/emu10k1.conf
+++ /dev/null
@@ -1,40 +0,0 @@
-##
-## This file is used to configure Audigy's audigy-script
-##
-
-CARD_IS_5_1=no
-USE_DIGITAL_OUTPUT=no
-ENABLE_TONE_CONTROL=no
-
-# note, it's safe to say yes to the next option even if you're not going to
-# use it. When this option is enabled, the driver can autodetects AC3 data
-# and behaves normally with normal audio.
-# (Saying yes causes some of the soundcard's resourses to be used up)
-AC3PASSTHROUGH=no
-
-# Say yes if you have a live drive with the IR remote control.
-ENABLE_LIVEDRIVE_IR=no
-
-# Most Lives have their analog front signals inverted. If you have problems with
-# your setup (low bass), try changing this to 'yes'. (This option has no
-# effect with digital setups)
-INVERT_REAR=no
-
-#Multichannel playback (for 4 - 6 channel setups)
-MULTICHANNEL=yes
-
-
-# Extra Inputs
-#################
-
-## This connector is mounted on the card itself
-ENABLE_CD_Spdif=yes # Volume control is 'Digital1' in aumix/gmix/kmix
-
-# The next four inputs are found on Livedrives, some of these may also
-# be inputs on the older add-on daughter cards.
-
-ENABLE_OPTICAL_SPDIF=no # Volume control is 'Digital2'
-ENABLE_LINE2_MIC2=no # Volume control is 'Line2'
-ENABLE_RCA_SPDIF=no # Volume control is 'Digital3'
-ENABLE_RCA_AUX=no # Volume control is 'line3'
-
diff --git a/media-sound/emu10k1-audigy/files/modules-audigy b/media-sound/emu10k1-audigy/files/modules-audigy
deleted file mode 100644
index 67f17c534084..000000000000
--- a/media-sound/emu10k1-audigy/files/modules-audigy
+++ /dev/null
@@ -1 +0,0 @@
-post-install emu10k1 /usr/sbin/audigy-script