diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-21 16:03:38 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-21 16:03:38 +0000 |
commit | d3325211fa37ef61ad008d62ccc01d356fa16f84 (patch) | |
tree | 3e944b622509f478286795ad25ef31092a4014ce | |
parent | Patch applied by Benoit Jacob upstream, fixes compilation issue with GCC 4.1.... (diff) | |
download | historical-d3325211fa37ef61ad008d62ccc01d356fa16f84.tar.gz historical-d3325211fa37ef61ad008d62ccc01d356fa16f84.tar.bz2 historical-d3325211fa37ef61ad008d62ccc01d356fa16f84.zip |
old
Package-Manager: portage-2.2_rc38/cvs/Linux x86_64
37 files changed, 7 insertions, 1445 deletions
diff --git a/media-sound/alsa-tools/Manifest b/media-sound/alsa-tools/Manifest index 0a577a8323f0..27f7f6b159fb 100644 --- a/media-sound/alsa-tools/Manifest +++ b/media-sound/alsa-tools/Manifest @@ -1,6 +1,5 @@ AUX alsa-tools-1.0.11-asneeded.patch 1845 RMD160 f1b3fa1fca50da0827beff8f87f514814d938833 SHA1 63a368a5d0e435f085e8d84ff7968bb1ac6e78f3 SHA256 95d69d5b9400818243806b643450f8b75e9411efa2acb8ad02e5063fea0de33c AUX alsa-tools-1.0.14-asneeded.patch 256 RMD160 db252d8994605036e5ab200af2d7a9dc633650b5 SHA1 94cd80b03fd5d58ef564e26711c60b95ece3b4d6 SHA256 d309bee615d0d22da845f7448e4be48d9838a006a4b53b745149410123a34ca8 -AUX alsa-tools-1.0.18-asneeded.patch 2898 RMD160 44f2ac59f5868b1bd8ecf6aef3c81a7c49075dc1 SHA1 1233b39b8df8a89581fc69ab24a6b387946f7af7 SHA256 b35d80c761f0994174147dd1ccf36b6d9d707f437246d5784db3fc73c4f850ae AUX alsa-tools-1.0.20+glibc-2.10.patch 1114 RMD160 db6a6108717fc014f8928d614b2c641a612ccfeb SHA1 8f3a622bafb0d743a402bbaca1d562c690d3db5e SHA256 a4bbb12be580743523a48f9de088a269ce4675bc8723de14ff64bd49d21d1bc3 AUX alsa-tools-1.0.20-hdspconf-asneeded.patch 998 RMD160 336b2671326ee124a1b65bf32d2edf2b7e4fb48c SHA1 066bf73ccd59a0cb6105099b45c2fdfcffb331d6 SHA256 0ee59df8c9c2d6c9510b9081ee2d207cf52e42891157d7db3043e8317f4696a6 DIST alsa-tools-1.0.16.tar.bz2 1545984 RMD160 f855e72f76efc6c07edd23ffd868f40900d63126 SHA1 8fbd576986e3bc44e6bcdc4f028febe12839140d SHA256 2e62b6a0c04547148539e9c3fb074aa5beb389e0ae2cb6cabb59f67b11cb6565 diff --git a/media-sound/alsa-tools/files/alsa-tools-1.0.18-asneeded.patch b/media-sound/alsa-tools/files/alsa-tools-1.0.18-asneeded.patch deleted file mode 100644 index 841c3a392c2f..000000000000 --- a/media-sound/alsa-tools/files/alsa-tools-1.0.18-asneeded.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 56970e8143b4d171a118d114b1ddfa7621401127 Mon Sep 17 00:00:00 2001 -From: =?utf-8?q?Diego=20'Flameeyes'=20Petten=C3=B2?= <flameeyes@gmail.com> -Date: Thu, 13 Nov 2008 13:13:53 +0100 -Subject: [PATCH] Fix building of alsa-tools when using the --as-needed linker option. -MIME-Version: 1.0 -Content-Type: text/plain; charset=utf-8 -Content-Transfer-Encoding: 8bit - -Please note that LDFLAGS is the _wrong_ variable to pass libraries -with, automake tells you to use _LDADD for binaries and _LIBADD for -libraries, while autoconf wants them in the LIBS variable. - -Signed-off-by: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> ---- - echomixer/Makefile.am | 2 +- - envy24control/Makefile.am | 2 +- - hdspmixer/configure.in | 2 +- - rmedigicontrol/Makefile.am | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/echomixer/Makefile.am b/echomixer/Makefile.am -index a9dfaf0..1af72c0 100644 ---- a/echomixer/Makefile.am -+++ b/echomixer/Makefile.am -@@ -2,7 +2,7 @@ AM_CFLAGS = @ECHOMIXER_CFLAGS@ - bin_PROGRAMS = echomixer - man_MANS = - echomixer_SOURCES = echomixer.c --echomixer_LDFLAGS = @ECHOMIXER_LIBS@ -+echomixer_LDADD = @ECHOMIXER_LIBS@ - EXTRA_DIST = gitcompile configure.in-gtk1 configure.in-gtk2 - AUTOMAKE_OPTIONS = foreign - -diff --git a/envy24control/Makefile.am b/envy24control/Makefile.am -index 72fe707..e29c408 100644 ---- a/envy24control/Makefile.am -+++ b/envy24control/Makefile.am -@@ -4,7 +4,7 @@ man_MANS = envy24control.1 - envy24control_SOURCES = envy24control.c envy24control.h levelmeters.c midi.c \ - mixer.c patchbay.c hardware.c driverevents.c volume.c \ - profiles.c profiles.h midi.h config.c config.h --envy24control_LDFLAGS = @ENVY24CONTROL_LIBS@ -+envy24control_LDADD = @ENVY24CONTROL_LIBS@ - EXTRA_DIST = gitcompile envy24control.1 depcomp configure.in-gtk1 \ - configure.in-gtk2 strstr_icase_blank.c new_process.c \ - README.profiles -diff --git a/hdspmixer/configure.in b/hdspmixer/configure.in -index 6fb5abe..8f2c498 100644 ---- a/hdspmixer/configure.in -+++ b/hdspmixer/configure.in -@@ -36,6 +36,6 @@ FLTK_CXXFLAGS="`$FLTK_CONFIG --cxxflags` -fno-exceptions" - FLTK_LIBS="`$FLTK_CONFIG --ldflags`" - - CXXFLAGS="$CXXFLAGS $ALSA_CFLAGS $FLTK_CXXFLAGS" --LDFLAGS="$LDFLAGS $ALSA_LIBS $FLTK_LIBS" -+LIBS="$LIBS $ALSA_LIBS $FLTK_LIBS" - - AC_OUTPUT(Makefile src/Makefile pixmaps/Makefile) -diff --git a/rmedigicontrol/Makefile.am b/rmedigicontrol/Makefile.am -index 88e9a3f..bf24c5c 100644 ---- a/rmedigicontrol/Makefile.am -+++ b/rmedigicontrol/Makefile.am -@@ -2,7 +2,7 @@ AM_CFLAGS = @RMEDIGICONTROL_CFLAGS@ - bin_PROGRAMS = rmedigicontrol - rmedigicontrol_SOURCES = rmedigicontrol.c rmedigicontrol.h level.c loopback.c - --rmedigicontrol_LDFLAGS = @RMEDIGICONTROL_LIBS@ -+rmedigicontrol_LDADD = @RMEDIGICONTROL_LIBS@ - - EXTRA_DIST = gitcompile depcomp configure.in-gtk1 configure.in-gtk2 - AUTOMAKE_OPTIONS = foreign --- -1.6.0.3 - diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest index a73616917c0a..a0adb9e789d3 100644 --- a/media-sound/alsa-utils/Manifest +++ b/media-sound/alsa-utils/Manifest @@ -5,15 +5,11 @@ AUX alsa-utils-1.0.14-alsaconf-modules-update.patch 1337 RMD160 9910bf0845f27960 AUX alsa-utils-1.0.17-seq.patch 1633 RMD160 8363501d3b7a52d95105cf43cb2b9cccf380f112 SHA1 29a69aa7bd8cc08a1d369ff0e16700d5c613a86e SHA256 a9c2df9b16c9907c4388513739db939ffe31a49b61e3c5d93b4b8c1bf3038e78 AUX alsa-utils-1.0.20-init_default.patch 811 RMD160 851dcc7c4b17ae703adc5e1eb82c1ee839d3a3e1 SHA1 8171fc924abdb2a1179d56d2100b5474ddcfd35d SHA256 f10e23e5f8cdb29039cabef9a97804db81841bee245bc632ee9940516640cf1d AUX alsa-utils-1.0.20-modprobe.d.patch 501 RMD160 4b2aa8676fc23b029a66e8a699be5f811c7c932c SHA1 4598144173d13e02be8727e17098c4b0c8fa8bc6 SHA256 f7d3a49f26995118d22c2c06383da59a649030a938dd25911ac074f5bb7a1c3d -AUX alsasound-1.0.10_rc2 7183 RMD160 7c1368905cc0fbe266e840f358a3502bbedb6d9c SHA1 70260ad940df48464a4089f014b73956a690eb3e SHA256 f9f51f35e0fafb87ac9d5f2b48835142e34bcaecc30eb28c92e2af6b16d4c083 AUX alsasound-1.0.19-r1.initd 6868 RMD160 9e7e9ac4a2c2e98def8c1e5498bb6631fd269a9d SHA1 c5a716afde0da422d7d3a3160f5a21024f7ea660 SHA256 b9d53242b7aae9b6517677b65ff4d9412fb347769adc8f9efb7d902b28731130 AUX alsasound-1.0.19.confd 1012 RMD160 42d0abf97bb01236bcfb7f1cf758696844550a84 SHA1 d0b1ae65379cb8f54a9dc1b9bed9229c5cd9c187 SHA256 3740d675d0c403530a71813472332decbfe9620545e4c248511cacd89b85f35b -AUX alsasound-1.0.19.initd 6847 RMD160 9d89c8a441c30e08a9f808ebe1279bc786801803 SHA1 b131425b10e163ebd5c074a24973c689e7299780 SHA256 b9e0c52d5154abf3491728b50a2493b5e490251510eb436a3830e49270d97160 -AUX alsasound-init-20070218 7657 RMD160 283ed673ec6f61c3aac77957393bd84ba05ff8d2 SHA1 16105ee86f8f208526eda4ce8ec6ff6b8206bedf SHA256 0330f7c58719e5669e39224be60bb6c2a1ba09b138801785655ffd245dc9d1e8 AUX alsasound.confd 1052 RMD160 b3a788626e239a844ac71119e887066074be3b30 SHA1 6386e6097629dcd405b61fd950370e610362a712 SHA256 073015ea00ffcbe536fd15258d30d17cdd8cacd6c334f330882d5ed9bdcf83ad AUX alsasound.confd-r3 874 RMD160 2e3ea587fd55757ec26c60a3bb86fcd697f48e67 SHA1 9561a56c1a3a1d0ecdef42655ecc1e2c12340852 SHA256 e5d26a6ea993540ca2d67aee4b40f1351b13f2c8023d53cb67c22cb3707e72de AUX alsasound.initd 6557 RMD160 6e58e7b93619a505f87f8de7fecc6489daf5638f SHA1 fb1c5436e2ddfa191119fb19d439fe43e9f797f1 SHA256 09e54f5e4f75331a1de3af641623edcf4d687b49f23180f8bc14b42fc471acfe -AUX alsasound.initd-r3 6196 RMD160 dc9592ccb23d3707a0269554beb5a35cfdfe6ec2 SHA1 a28c2fbc8a5a44d345cf53c37bc10e1cd066bb01 SHA256 89c5eb6f975bc1ab642a647a1b1c1cd1edd39fe37510d729a4ae4a444ebfe934 AUX alsasound.initd-r4 6231 RMD160 39e28ae5d17c7bb45a1010a9e9a25d79d1b6fc60 SHA1 d68c209ee7b6c04248bfd01ad5bae52fa21aa789 SHA256 b6909ef321a57b586a2cc1f2665c544cf2cfc9b07e3e66592cc649abee57f576 DIST alsa-utils-1.0.17.tar.bz2 1016532 RMD160 6dbc55ffab43a6552bc5032099a071101be467ab SHA1 e71f752b79357fd8ad1c86e4e926cbce19de19d3 SHA256 6a06f457d66eca75ac1ab065e64539e4ccf22ed4e53703a70194cb85203b3125 DIST alsa-utils-1.0.19.tar.bz2 1040697 RMD160 4334c151fb2881aa773297cfc87dd6ddc4f0c7d6 SHA1 7a84764e126188e1951f1db96c5153ba03397541 SHA256 1f4924f5ae7857ce64a3d6ecbeb98133c74ff1ead2b0f48187623d6e4b838cad diff --git a/media-sound/alsa-utils/files/alsasound-1.0.10_rc2 b/media-sound/alsa-utils/files/alsasound-1.0.10_rc2 deleted file mode 100644 index 5403489ebe53..000000000000 --- a/media-sound/alsa-utils/files/alsasound-1.0.10_rc2 +++ /dev/null @@ -1,255 +0,0 @@ -#!/sbin/runscript -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound-1.0.10_rc2,v 1.2 2005/12/15 22:42:46 flameeyes Exp $ -# -# Gentoo users: add this script to 'boot' run level. -# ================================================== -# -# alsasound This shell script takes care of starting and stopping -# the ALSA sound driver. -# -# This script requires /usr/sbin/alsactl and /usr/bin/aconnect programs -# from the alsa-utils package. -# -# Copyright (c) by Jaroslav Kysela <perex@suse.cz> -# -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -# ChangeLog: -# -# 2003.07.29 - John Mylchreest <johnm@gentoo.org> -# Edited to support Linux kernel 2.5 and above as well as 2.4 -# -# 2004.06.02 - Jeremy Huddleston <eradicator@gentoo.org> -# Rewritten for better support for built-in drivers -# -# 2004.10.29 - Jeremy Huddleston <eradicator@gentoo.org> -# Cleaned up to work better for mixed builtin/module systems -# -# 2004.11.29 - Jeremy Huddleston <eradicator@gentoo.org> -# Added save option thanks to Ben Anderson <roothorick@new.rr.com> -# -# 2005.04.21 - Jeremy Huddleston <eradicator@gentoo.org> -# Added restore option and oss option. -# Cleaned up code to use bash builtins instead of test. - -alsactl=/usr/sbin/alsactl -asoundcfg=/etc/asound.state -aconnect=/usr/bin/aconnect -alsascrdir=/etc/alsa.d - -opts="${opts} save restore" - -depend() { - need bootmisc localmount - after modules isapnp coldplug hotplug -} - -load_modules() { - # List of drivers for each card. - local DRIVERS="$(modprobe -c | grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | awk '{print $2}')" - - # Fall back on the automated aliases if we don't have ALSA configured properly... - if [[ -z "${DRIVERS}" && ! ( -d /proc/asound && -z "$(grep ' no soundcards ' /proc/asound/cards)" ) ]] ; then - ewarn "Could not detect custom ALSA settings. Loading all detected alsa drivers." - DRIVERS="$(modprobe -c | grep pci: | awk '{ print $3 }' | grep snd.* | sort | uniq)" - [[ -z "${DRIVERS}" ]] && eerror "Unable to find any ALSA drivers. Have you compiled alsa-drivers correctly?" - fi - - if [[ ${ENABLE_OSS_EMUL} == "yes" ]] && modprobe -c | grep -q "snd.*oss$" ; then - # Test for use of OSS - local OSS="$(modprobe -l | grep "snd.*oss" | sed -e "s:\/.*\/::" -e "s:\..*::")" - # Add oss modules to list - local i - for i in ${OSS} - do - DRIVERS="${DRIVERS} ${i}" - done - fi - - # We want to ensure snd-seq is loaded as it is needed for things like - # timidity even if we don't use a real sequencer. - DRIVERS="${DRIVERS} $(modprobe -l | grep "snd.seq\." | sed -e "s:\/.*\/::" -e "s:\..*::")" - - # We want to ensure snd-ioctl32 is loaded as it is needed for 32bit - # compatibility - DRIVERS="${DRIVERS} $(modprobe -l | grep "snd.ioctl32\." | sed -e "s:\/.*\/::" -e "s:\..*::")" - - local DRIVER - for DRIVER in ${DRIVERS} - do - if [[ "${DRIVER}" != "off" && - -z $(cut -d' ' -f1 /proc/modules | egrep "^${DRIVER}\$") && - -z $(cut -d' ' -f1 /proc/modules | egrep "^${DRIVER//-/_}\$") ]] ; then - ebegin " Loading: ${DRIVER}" - /sbin/modprobe ${DRIVER} - eend $? - fi - done - - sleep 1 - - if [[ -f /proc/asound/seq/drivers ]] ; then - local SEQUENCERS="$(awk -F, '$2~/^empty$/ {print $1}' /proc/asound/seq/drivers)" - local SEQUENCER - for SEQUENCER in ${SEQUENCERS} - do - if [[ -z $(cut -d' ' -f1 /proc/modules | egrep "^${SEQUENCER}\$") && - -z $(cut -d' ' -f1 /proc/modules | egrep "^${SEQUENCER//-/_}\$") ]] ; then - ebegin " Loading: ${SEQUENCER}" - /sbin/modprobe ${SEQUENCER} - eend $? - fi - done - fi - - for DRIVER in ${DRIVERS} - do - local TMP=${DRIVER##snd-} - TMP=${TMP##snd_} - if [[ -x "${alsascrdir}/${TMP}" ]] ; then - ebegin " Running: ${alsascrdir}/${TMP}" - ${alsascrdir}/${TMP} - eend $? - fi - done - - if [[ ! -d /proc/asound || -n "$(grep ' no soundcards ' /proc/asound/cards)" ]] ; then - eerror "ERROR: Failed to load necessary drivers" - fi -} - -unload_modules() { - local LOADED_MODULES="$(/sbin/lsmod | grep -E "^snd" | awk '{print $1}')" - local MODULE - for MODULE in ${LOADED_MODULES} - do - /sbin/rmmod ${MODULE} >& /dev/null - done - /sbin/rmmod soundcore >& /dev/null - /sbin/rmmod gameport >& /dev/null - - # Return success if the modules are unloaded - [[ -z "$(/sbin/lsmod | grep -E "^snd" | awk '{print $1}')" ]] -} - -terminate() { - # - # Kill processes holding open sound devices - # - # DEVS=`find /dev/ -follow -type c -maxdepth 1 -print 2>/dev/null | xargs ls -dils | grep "1*1[46]," | cut -d: -f2 | cut -d" " -f2; echo /proc/asound/dev/*` - local ossdevs="/dev/admmidi? /dev/adsp? /dev/amidi? /dev/audio* /dev/dmfm* \ - /dev/dmmidi? /dev/dsp* /dev/dspW* /dev/midi0? /dev/mixer? /dev/music \ - /dev/patmgr? /dev/sequencer* /dev/sndstat" - local alsadevs="/proc/asound/dev/* /dev/sound/* /dev/snd/*" - fuser -k ${ossdevs} ${alsadevs} >& /dev/null - - # - # remove all sequencer connections if any - # - [[ -f /proc/asound/seq/clients && -x ${aconnect} ]] && ${aconnect} --removeall -} - -restore_mixer() { - if [[ ${RESTORE_ON_START} == "no" ]] ; then - return 0 - fi - - restore -} - -restore() { - ebegin "Restoring Mixer Levels" - - local val=0 - - if [[ ! -r ${asoundcfg} ]] ; then - ewarn "No mixer config in ${asoundcfg}, you have to unmute your card!" - elif [[ -x ${alsactl} ]] ; then - local CARDS="$(cat /proc/asound/cards | awk '/: / { print $1 }')" - local CARDNUM - for CARDNUM in ${CARDS} - do - [[ -e /dev/snd/controlC0 ]] || sleep 2 - [[ -e /dev/snd/controlC0 ]] || sleep 2 - [[ -e /dev/snd/controlC0 ]] || sleep 2 - [[ -e /dev/snd/controlC0 ]] || sleep 2 - ${alsactl} -f ${asoundcfg} restore ${CARDNUM} || ewarn "Errors while restoring defaults, ignoring" - done - else - eerror -e "ERROR: Cannot find alsactl, did you forget to install media-sound/alsa-utils?" - val=1 - fi - - eend ${val} - return ${val} -} - -save() { - ebegin "Storing ALSA Mixer Levels" - - local val=0 - - if [[ -x ${alsactl} ]] ; then - ${alsactl} -f ${asoundcfg} store - val=$? - else - eerror -e "ERROR: Cannot find alsactl." - val=1 - fi - - eend ${val} - return ${val} -} - -start() { - if [[ -f /proc/modules ]] ; then - ebegin "Loading ALSA modules" - if load_modules ; then - eend 0 - else - eend 1 - return 1 - fi - fi - - if [[ ${RESTORE_ON_START} == "yes" ]]; then - restore_mixer - fi -} - -stop() { - if [[ ! -d /proc/asound ]] ; then - eerror "ALSA is not loaded" - return 0 - fi - - if [[ ${SAVE_ON_STOP} == "yes" ]]; then - save - fi - - ebegin "Unloading ALSA" - terminate - eend 0 - - if [[ -f /proc/modules ]]; then - ebegin "Unloading ALSA modules" - if unload_modules; then - eend 0 - else - eend 1 - fi - fi -} diff --git a/media-sound/alsa-utils/files/alsasound-1.0.19.initd b/media-sound/alsa-utils/files/alsasound-1.0.19.initd deleted file mode 100644 index 90bd11f0dfc9..000000000000 --- a/media-sound/alsa-utils/files/alsasound-1.0.19.initd +++ /dev/null @@ -1,241 +0,0 @@ -#!/sbin/runscript -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound-1.0.19.initd,v 1.1 2009/01/19 17:21:11 chainsaw Exp $ -# Copyright 2007,2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -alsastatedir=/var/lib/alsa -alsascrdir=/etc/alsa.d - -opts="save restore" - -depend() { - need localmount - after bootmisc modules isapnp coldplug hotplug -} - -load_modules() { - # List of drivers for each card. - local DRIVERS="$(modprobe -c | sed -n -e 's/^alias \(snd-card-[[:digit:]]\+\) .*/\1/p')" - - # Fall back on the automated aliases if we don't have ALSA configured properly... - if [ -z "${DRIVERS}" ] && \ - ( [ ! -r /proc/asound/cards ] || grep -q ' no soundcards ' /proc/asound/cards 2>/dev/null ) ; then - ewarn "Could not detect custom ALSA settings. Loading all detected alsa drivers." - DRIVERS="$(modprobe -c | sed -n -e '/^alias pci:.* snd.*/ s/^alias pci:[^ ]* \(.*\)/\1/p' | sort | uniq)" - if [ -z "${DRIVERS}" ] ; then - eerror "Unable to find any ALSA drivers. Have you configured your kernel correctly?" - fi - fi - - if [ "${ENABLE_OSS_EMUL}" = "yes" ] ; then - DRIVERS="${DRIVERS} $(modprobe -l | sed -n -e '/snd.*oss/ s:\/.*\/\(.*\).ko:\1:p')" - fi - - # We want to ensure snd-seq is loaded as it is needed for things like - # timidity even if we don't use a real sequencer. - DRIVERS="${DRIVERS} $(modprobe -l | sed -n -e '/snd.seq\./ s:\/.*\/\(.*\).ko:\1:p')" - - # We want to ensure snd-ioctl32 is loaded as it is needed for 32bit - # compatibility - DRIVERS="${DRIVERS} $(modprobe -l | sed -n -e '/snd.ioctl32\./ s:\/.*\/\(.*\).ko:\1:p')" - - local DRIVER= DMOD= - for DRIVER in ${DRIVERS} ; do - [ "${DRIVER}" = "off" ] && continue - DMOD="$(echo "${DRIVER}" | sed -e 's/-/_/g')" - if ! grep -q "^${DMOD} " /proc/modules ; then - ebegin "Loading: ${DRIVER}" - modprobe ${DRIVER} - eend $? - fi - done - - if [ -f /proc/asound/seq/drivers ] ; then - local SEQUENCERS="$(sed -n -e 's/\([^,]*\),empty,.*/\1/p' /proc/asound/seq/drivers)" - local SEQUENCER - for SEQUENCER in ${SEQUENCERS} ; do - DMOD="$(echo "${SEQUENCER}" | sed -e 's/-/_/g')" - if ! grep -q "^${DMOD} " /proc/modules ; then - ebegin "Loading: ${SEQUENCER}" - modprobe ${SEQUENCER} - eend $? - fi - done - fi - - for DRIVER in ${DRIVERS} - do - local TMP=${DRIVER##snd-} - TMP=${TMP##snd_} - if [ -x "${alsascrdir}/${TMP}" ] ; then - ebegin "Running: ${alsascrdir}/${TMP}" - "${alsascrdir}/${TMP}" - eend $? - fi - done - - if [ ! -d /proc/asound ] || grep -q ' no soundcards ' /proc/asound/cards ; then - eerror "ERROR: Failed to load necessary drivers" - return 1 - fi -} - -unload_modules_24() { - local LOADED_MODULES="$(lsmod | sed -n -e 's/^\(snd[^ ]*\) .*/\1/p')" - local MODULE - for MODULE in ${LOADED_MODULES} ; do - rmmod "${MODULE}" - done - rmmod soundcore 2>/dev/null - rmmod gameport 2>/dev/null - - lsmod | grep -vq '^snd' -} - -unload_modules_recursive() { - local revdeps="$(lsmod | sed -n -e "s/,/ /g" -e "s/^$1 *[0-9]* *[0-9]* \(.*\)/\1/p")" - - for module in ${revdeps} ; do - unload_modules_recursive "${module}" - done - - vebegin "Unloading: $1" - rmmod --wait "$1" - veend $? -} - -unload_modules_26() { - # First of all, remove the snd module and all the modules depending - # on it, this should remove already most of ALSA modules. - lsmod | grep -q "^snd[[:space:]]" && unload_modules_recursive snd - - # Then find the remaining ones, and handle them too. - for module in $(lsmod | sed -n -e 's/^\(snd[^ ]*\) .*/\1/p'); do - unload_modules_recursive "${module}" - done - - lsmod | grep -vq "^snd" -} - -terminate() { - # - # Kill processes holding open sound devices - # - # DEVS=`find /dev/ -follow -type c -maxdepth 1 -print 2>/dev/null | xargs ls -dils | grep "1*1[46]," | cut -d: -f2 | cut -d" " -f2; echo /proc/asound/dev/*` - local ossdevs="/dev/admmidi* /dev/adsp* /dev/amidi* /dev/audio* /dev/dmfm* \ - /dev/dmmidi* /dev/dsp* /dev/dspW* /dev/midi0* /dev/mixer* /dev/music \ - /dev/patmgr* /dev/sequencer* /dev/sndstat" - local alsadevs="/proc/asound/dev/* /dev/sound/* /dev/snd/*" - fuser -k ${ossdevs} ${alsadevs} >/dev/null 2>/dev/null - - # remove all sequencer connections if any - [ -f /proc/asound/seq/clients ] && type aconnect >/dev/null 2>/dev/null && aconnect --removeall -} - -restore() { - ebegin "Restoring Mixer Levels" - - if [ ! -r "${alsastatedir}/asound.state" ] ; then - ewarn "No mixer config in ${alsastatedir}/asound.state, you have to unmute your card!" - eend 0 - return 0 - fi - - local cards="$(sed -n -e 's/ *\([[:digit:]]*\) .*/\1/p' /proc/asound/cards)" - local CARDNUM - for cardnum in ${cards}; do - [ -e /dev/snd/controlC${cardnum} ] || sleep 2 - [ -e /dev/snd/controlC${cardnum} ] || sleep 2 - [ -e /dev/snd/controlC${cardnum} ] || sleep 2 - [ -e /dev/snd/controlC${cardnum} ] || sleep 2 - alsactl -f "${alsastatedir}/asound.state" restore ${cardnum} \ - || ewarn "Errors while restoring defaults, ignoring" - done - - for ossfile in "${alsastatedir}"/oss/card*_pcm* ; do - [ -e "${ossfile}" ] || continue - # We use cat because I'm not sure if cp works properly on /proc - local procfile=${ossfile##${alsastatedir}/oss} - procfile="$(echo "${procfile}" | sed -e 's,_,/,g')" - if [ -e /proc/asound/"${procfile}"/oss ] ; then - cat "${ossfile}" > /proc/asound/"${procfile}"/oss - fi - done - - eend 0 -} - -save() { - ebegin "Storing ALSA Mixer Levels" - - mkdir -p "${alsastatedir}" - if ! alsactl -f "${alsastatedir}/asound.state" store; then - eerror "Error saving levels." - eend 1 - return 1 - fi - - for ossfile in /proc/asound/card*/pcm*/oss; do - [ -e "${ossfile}" ] || continue - local device=${ossfile##/proc/asound/} ; device=${device%%/oss} - device="$(echo "${device}" | sed -e 's,/,_,g')" - mkdir -p "${alsastatedir}/oss/" - cp "${ossfile}" "${alsastatedir}/oss/${device}" - done - - eend 0 -} - -start() { - if [ -f /proc/modules ] && [ "${LOAD_ON_START}" = "yes" ]; then - ebegin "Loading ALSA modules" - eindent - load_modules - eoutdent - eend $? || return 1 - fi - - if [ ! -d /proc/asound ]; then - eerror "ALSA failed to load." - eend 1 - return 1 - elif [ "${RESTORE_ON_START}" = "yes" ]; then - restore - fi - - return 0 -} - -stop() { - if [ ! -d /proc/asound ] ; then - eerror "ALSA is not loaded" - return 0 - fi - - [ "${SAVE_ON_STOP}" = "yes" ] && save - - if [ "${KILLPROC_ON_STOP}" = "yes" ] ; then - ewarn "You are using the unsupported KILLPROC_ON_STOP option." - ewarn "Consider unsetting it. Do not file bugs until you have done so." - ebegin "Killing processes using ALSA" - terminate - eend 0 - fi - - if [ -f /proc/modules ] && [ "${UNLOAD_ON_STOP}" = "yes" ]; then - ewarn "You are using the unsupported UNLOAD_ON_STOP option." - ewarn "Consider unsetting it. Do not file bugs until you have done so." - local ver="26" - case "$(uname -r)" in - 2.[01234].*) ver="24";; - *) ver="26";; - esac - ebegin "Unloading ALSA modules" - eindent - unload_modules_${ver} - eend $? - eoutdent - fi - - return 0 -} diff --git a/media-sound/alsa-utils/files/alsasound-init-20070218 b/media-sound/alsa-utils/files/alsasound-init-20070218 deleted file mode 100644 index 57be91eaa57b..000000000000 --- a/media-sound/alsa-utils/files/alsasound-init-20070218 +++ /dev/null @@ -1,267 +0,0 @@ -#!/sbin/runscript -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound-init-20070218,v 1.3 2007/02/18 14:00:58 flameeyes Exp $ -# -# Gentoo users: add this script to 'boot' run level. -# ================================================== -# -# alsasound This shell script takes care of starting and stopping -# the ALSA sound driver. -# -# Copyright (c) by Jaroslav Kysela <perex@suse.cz> -# -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -alsastatedir=/var/lib/alsa -alsascrdir=/etc/alsa.d - -opts="${opts} save restore" - -depend() { - need bootmisc localmount - after modules isapnp coldplug hotplug -} - -load_modules() { - # List of drivers for each card. - local DRIVERS="$(modprobe -c | grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | awk '{print $2}')" - - # Fall back on the automated aliases if we don't have ALSA configured properly... - if [[ -z "${DRIVERS}" && ! ( -d /proc/asound && -z "$(grep ' no soundcards ' /proc/asound/cards)" ) ]] ; then - ewarn "Could not detect custom ALSA settings. Loading all detected alsa drivers." - DRIVERS="$(modprobe -c | grep pci: | awk '{ print $3 }' | grep snd.* | sort | uniq)" - [[ -z "${DRIVERS}" ]] && eerror "Unable to find any ALSA drivers. Have you compiled alsa-drivers correctly?" - fi - - if [[ ${ENABLE_OSS_EMUL} == "yes" ]] && modprobe -c | grep -q "snd.*oss$" ; then - # Test for use of OSS - local OSS="$(modprobe -l | grep "snd.*oss" | sed -e "s:\/.*\/::" -e "s:\..*::")" - # Add oss modules to list - local i - for i in ${OSS} - do - DRIVERS="${DRIVERS} ${i}" - done - fi - - # We want to ensure snd-seq is loaded as it is needed for things like - # timidity even if we don't use a real sequencer. - DRIVERS="${DRIVERS} $(modprobe -l | grep "snd.seq\." | sed -e "s:\/.*\/::" -e "s:\..*::")" - - # We want to ensure snd-ioctl32 is loaded as it is needed for 32bit - # compatibility - DRIVERS="${DRIVERS} $(modprobe -l | grep "snd.ioctl32\." | sed -e "s:\/.*\/::" -e "s:\..*::")" - - local DRIVER - for DRIVER in ${DRIVERS} - do - if [[ "${DRIVER}" != "off" && - -z $(cut -d' ' -f1 /proc/modules | egrep "^${DRIVER}\$") && - -z $(cut -d' ' -f1 /proc/modules | egrep "^${DRIVER//-/_}\$") ]] ; then - ebegin " Loading: ${DRIVER}" - /sbin/modprobe ${DRIVER} - eend $? - fi - done - - sleep 1 - - if [[ -f /proc/asound/seq/drivers ]] ; then - local SEQUENCERS="$(awk -F, '$2~/^empty$/ {print $1}' /proc/asound/seq/drivers)" - local SEQUENCER - for SEQUENCER in ${SEQUENCERS} - do - if [[ -z $(cut -d' ' -f1 /proc/modules | egrep "^${SEQUENCER}\$") && - -z $(cut -d' ' -f1 /proc/modules | egrep "^${SEQUENCER//-/_}\$") ]] ; then - ebegin " Loading: ${SEQUENCER}" - /sbin/modprobe ${SEQUENCER} - eend $? - fi - done - fi - - for DRIVER in ${DRIVERS} - do - local TMP=${DRIVER##snd-} - TMP=${TMP##snd_} - if [[ -x "${alsascrdir}/${TMP}" ]] ; then - ebegin " Running: ${alsascrdir}/${TMP}" - ${alsascrdir}/${TMP} - eend $? - fi - done - - if [[ ! -d /proc/asound || -n "$(grep ' no soundcards ' /proc/asound/cards)" ]] ; then - eerror "ERROR: Failed to load necessary drivers" - return 1 - fi -} - -unload_modules_24() { - local LOADED_MODULES="$(/sbin/lsmod | grep -E "^snd" | awk '{print $1}')" - local MODULE - for MODULE in ${LOADED_MODULES} - do - /sbin/rmmod ${MODULE} >& /dev/null - done - /sbin/rmmod soundcore >& /dev/null - /sbin/rmmod gameport >& /dev/null - - # Return success if the modules are unloaded - [[ -z "$(/sbin/lsmod | grep -E "^snd" | awk '{print $1}')" ]] -} - -unload_modules_recursive() { - local revdeps=$(/sbin/lsmod | egrep "^$1\>" | awk '{ print $4 }') - - for module in ${revdeps//,/ }; do - unload_modules_recursive "${module}" - done - - /sbin/rmmod --wait "$1" -} - -unload_modules_26() { - # First of all, remove the snd module and all the modules depending - # on it, this should remove already most of ALSA modules. - unload_modules_recursive snd - - # Then find the remaining ones, and handle them too. - for module in $(lsmod | egrep '^snd' | awk '{ print $1 }'); do - unload_modules_recursive "${module}" - done - - if lsmod | egrep -q '^snd'; then - return 1 - else - return 0; - fi -} - -terminate() { - # - # Kill processes holding open sound devices - # - # DEVS=`find /dev/ -follow -type c -maxdepth 1 -print 2>/dev/null | xargs ls -dils | grep "1*1[46]," | cut -d: -f2 | cut -d" " -f2; echo /proc/asound/dev/*` - local ossdevs="/dev/admmidi? /dev/adsp? /dev/amidi? /dev/audio* /dev/dmfm* \ - /dev/dmmidi? /dev/dsp* /dev/dspW* /dev/midi0? /dev/mixer? /dev/music \ - /dev/patmgr? /dev/sequencer* /dev/sndstat" - local alsadevs="/proc/asound/dev/* /dev/sound/* /dev/snd/*" - fuser -k ${ossdevs} ${alsadevs} >& /dev/null - - # remove all sequencer connections if any - [[ -f /proc/asound/seq/clients && -n $(type -p aconnect) ]] && aconnect --removeall -} - -restore() { - ebegin "Restoring Mixer Levels" - - if [[ ! -r "${alsastatedir}/asound.state" ]] ; then - ewarn "No mixer config in ${alsastatedir}/asound.state, you have to unmute your card!" - eend 0 - return 0 - fi - - local cards="$( awk '/: / { print $1 }' /proc/asound/cards )" - local CARDNUM - for cardnum in ${cards}; do - [[ -e /dev/snd/controlC${cardnum} ]] || sleep 2 - [[ -e /dev/snd/controlC${cardnum} ]] || sleep 2 - [[ -e /dev/snd/controlC${cardnum} ]] || sleep 2 - [[ -e /dev/snd/controlC${cardnum} ]] || sleep 2 - alsactl -f "${alsastatedir}/asound.state" restore ${cardnum} \ - || ewarn "Errors while restoring defaults, ignoring" - done - - push_opts=$(shopt -p nullglob); shopt -s nullglob - for ossfile in "${alsastatedir}"/oss/card?_pcm??; do - # We use cat because I'm not sure if cp works properly on /proc - local procfile=${ossfile##${alsastatedir}/oss} - cat "${ossfile}" > /proc/asound/${procfile/_/\/}/oss - done - eval $push_opts - - eend 0 -} - -save() { - ebegin "Storing ALSA Mixer Levels" - - mkdir -p "${alsastatedir}" - if ! alsactl -f "${alsastatedir}/asound.state" store; then - eerror "Error saving levels." - - eend 1 - return 1 - fi - - push_opts=$(shopt -p nullglob); shopt -s nullglob - for ossfile in /proc/asound/card?/pcm??/oss; do - local device=${ossfile##/proc/asound/}; device=${device%%/oss}; device=${device/\//_} - - mkdir -p "${alsastatedir}/oss/" - cp "${ossfile}" "${alsastatedir}/oss/${device}" - done - eval $push_opts - - eend 0 -} - -start() { - if [[ -f /proc/modules ]] ; then - ebegin "Loading ALSA modules" - if load_modules ; then - eend 0 - else - eend 1 - return 1 - fi - fi - - if [[ ! -d /proc/asound ]]; then - eerror "ALSA failed to load." - eend 1 - return 1 - fi - - [[ ${RESTORE_ON_START} == "yes" ]] && restore -} - -stop() { - if [[ ! -d /proc/asound ]] ; then - eerror "ALSA is not loaded" - return 0 - fi - - [[ ${SAVE_ON_STOP} == "yes" ]] && save - - ebegin "Killing processes using ALSA" - terminate - eend 0 - - if [[ -f /proc/modules ]]; then - local ver # used to carry the version of kernel used, - # and then to execute the right function. - /sbin/rmmod --version | grep -q module-init-tools \ - && ver="26" || ver="24" - - ebegin "Unloading ALSA modules" - if unload_modules_${ver}; then - eend 0 - else - eend 1 - fi - fi -} diff --git a/media-sound/alsa-utils/files/alsasound.initd-r3 b/media-sound/alsa-utils/files/alsasound.initd-r3 deleted file mode 100644 index a9c63234a10a..000000000000 --- a/media-sound/alsa-utils/files/alsasound.initd-r3 +++ /dev/null @@ -1,218 +0,0 @@ -#!/sbin/runscript -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound.initd-r3,v 1.1 2009/07/31 21:49:39 beandog Exp $ -# Copyright 2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -alsastatedir=/var/lib/alsa -alsascrdir=/etc/alsa.d - -opts="save restore" - -depend() { - need localmount - after bootmisc modules isapnp coldplug hotplug -} - -load_modules() { - # List of drivers for each card. - local DRIVERS="$(modprobe -c | sed -n -e 's/^alias \(snd-card-[[:digit:]]\+\) .*/\1/p')" - - # Fall back on the automated aliases if we don't have ALSA configured properly... - if [ -z "${DRIVERS}" ] && \ - ( [ ! -r /proc/asound/cards ] || grep -q ' no soundcards ' /proc/asound/cards 2>/dev/null ) ; then - ewarn "Could not detect custom ALSA settings. Loading all detected alsa drivers." - DRIVERS="$(modprobe -c | sed -n -e '/^alias pci:.* snd.*/ s/^alias pci:[^ ]* \(.*\)/\1/p' | sort | uniq)" - if [ -z "${DRIVERS}" ] ; then - eerror "Unable to find any ALSA drivers. Have you compiled alsa-drivers correctly?" - fi - fi - - if [ "${ENABLE_OSS_EMUL}" = "yes" ] ; then - DRIVERS="${DRIVERS} $(modprobe -l | sed -n -e '/snd.*oss/ s:\/.*\/\(.*\).ko:\1:p')" - fi - - # We want to ensure snd-seq is loaded as it is needed for things like - # timidity even if we don't use a real sequencer. - DRIVERS="${DRIVERS} $(modprobe -l | sed -n -e '/snd.seq\./ s:\/.*\/\(.*\).ko:\1:p')" - - # We want to ensure snd-ioctl32 is loaded as it is needed for 32bit - # compatibility - DRIVERS="${DRIVERS} $(modprobe -l | sed -n -e '/snd.ioctl32\./ s:\/.*\/\(.*\).ko:\1:p')" - - local DRIVER= DMOD= - for DRIVER in ${DRIVERS} ; do - [ "${DRIVER}" = "off" ] && continue - DMOD="$(echo "${DRIVER}" | sed -e 's/-/_/g')" - if ! grep -q "^${DMOD} " /proc/modules ; then - ebegin "Loading: ${DRIVER}" - modprobe ${DRIVER} - eend $? - fi - done - - if [ -f /proc/asound/seq/drivers ] ; then - local SEQUENCERS="$(sed -n -e 's/\([^,]*\),empty,.*/\1/p' /proc/asound/seq/drivers)" - local SEQUENCER - for SEQUENCER in ${SEQUENCERS} ; do - DMOD="$(echo "${SEQUENCER}" | sed -e 's/-/_/g')" - if ! grep -q "^${DMOD} " /proc/modules ; then - ebegin "Loading: ${SEQUENCER}" - modprobe ${SEQUENCER} - eend $? - fi - done - fi - - for DRIVER in ${DRIVERS} - do - local TMP=${DRIVER##snd-} - TMP=${TMP##snd_} - if [ -x "${alsascrdir}/${TMP}" ] ; then - ebegin "Running: ${alsascrdir}/${TMP}" - "${alsascrdir}/${TMP}" - eend $? - fi - done - - if [ ! -d /proc/asound ] || grep -q ' no soundcards ' /proc/asound/cards ; then - eerror "ERROR: Failed to load necessary drivers" - return 1 - fi -} - -unload_modules_24() { - local LOADED_MODULES="$(lsmod | sed -n -e 's/^\(snd[^ ]*\) .*/\1/p')" - local MODULE - for MODULE in ${LOADED_MODULES} ; do - rmmod "${MODULE}" - done - rmmod soundcore 2>/dev/null - rmmod gameport 2>/dev/null - - lsmod | grep -vq '^snd' -} - -unload_modules_recursive() { - local revdeps="$(lsmod | sed -n -e "s/,/ /g" -e "s/^$1 *[0-9]* *[0-9]* \(.*\)/\1/p")" - - for module in ${revdeps} ; do - unload_modules_recursive "${module}" - done - - vebegin "Unloading: $1" - rmmod --wait "$1" - veend $? -} - -unload_modules_26() { - # First of all, remove the snd module and all the modules depending - # on it, this should remove already most of ALSA modules. - lsmod | grep -q "^snd[[:space:]]" && unload_modules_recursive snd - - # Then find the remaining ones, and handle them too. - for module in $(lsmod | sed -n -e 's/^\(snd[^ ]*\) .*/\1/p'); do - unload_modules_recursive "${module}" - done - - lsmod | grep -vq "^snd" -} - -terminate() { - # - # Kill processes holding open sound devices - # - # DEVS=`find /dev/ -follow -type c -maxdepth 1 -print 2>/dev/null | xargs ls -dils | grep "1*1[46]," | cut -d: -f2 | cut -d" " -f2; echo /proc/asound/dev/*` - local ossdevs="/dev/admmidi* /dev/adsp* /dev/amidi* /dev/audio* /dev/dmfm* \ - /dev/dmmidi* /dev/dsp* /dev/dspW* /dev/midi0* /dev/mixer* /dev/music \ - /dev/patmgr* /dev/sequencer* /dev/sndstat" - local alsadevs="/proc/asound/dev/* /dev/sound/* /dev/snd/*" - fuser -k ${ossdevs} ${alsadevs} >/dev/null 2>/dev/null - - # remove all sequencer connections if any - [ -f /proc/asound/seq/clients ] && type aconnect >/dev/null 2>/dev/null && aconnect --removeall -} - -restore() { - ebegin "Restoring Mixer Levels" - - if [ ! -r "${alsastatedir}/asound.state" ] ; then - ewarn "No mixer config in ${alsastatedir}/asound.state, you have to unmute your card!" - eend 0 - return 0 - fi - - local cards="$(sed -n -e 's/ *\([[:digit:]]*\) .*/\1/p' /proc/asound/cards)" - local CARDNUM - for cardnum in ${cards}; do - [ -e /dev/snd/controlC${cardnum} ] || sleep 2 - [ -e /dev/snd/controlC${cardnum} ] || sleep 2 - [ -e /dev/snd/controlC${cardnum} ] || sleep 2 - [ -e /dev/snd/controlC${cardnum} ] || sleep 2 - alsactl -f "${alsastatedir}/asound.state" restore ${cardnum} \ - || ewarn "Errors while restoring defaults, ignoring" - done - - for ossfile in "${alsastatedir}"/oss/card*_pcm* ; do - [ -e "${ossfile}" ] || continue - # We use cat because I'm not sure if cp works properly on /proc - local procfile=${ossfile##${alsastatedir}/oss} - procfile="$(echo "${procfile}" | sed -e 's,_,/,g')" - if [ -e /proc/asound/"${procfile}"/oss ] ; then - cat "${ossfile}" > /proc/asound/"${procfile}"/oss - fi - done - - eend 0 -} - -save() { - ebegin "Storing ALSA Mixer Levels" - - mkdir -p "${alsastatedir}" - if ! alsactl -f "${alsastatedir}/asound.state" store; then - eerror "Error saving levels." - eend 1 - return 1 - fi - - for ossfile in /proc/asound/card*/pcm*/oss; do - [ -e "${ossfile}" ] || continue - local device=${ossfile##/proc/asound/} ; device=${device%%/oss} - device="$(echo "${device}" | sed -e 's,/,_,g')" - mkdir -p "${alsastatedir}/oss/" - cp "${ossfile}" "${alsastatedir}/oss/${device}" - done - - eend 0 -} - -start() { - if [ -f /proc/modules ] && [ "${LOAD_ON_START}" = "yes" ]; then - ebegin "Loading ALSA modules" - eindent - load_modules - eoutdent - eend $? || return 1 - fi - - if [ ! -d /proc/asound ]; then - eerror "ALSA failed to load." - eend 1 - return 1 - elif [ "${RESTORE_ON_START}" = "yes" ]; then - restore - fi - - return 0 -} - -stop() { - if [ ! -d /proc/asound ] ; then - eerror "ALSA is not loaded" - return 0 - fi - - [ "${SAVE_ON_STOP}" = "yes" ] && save - - return 0 -} diff --git a/media-sound/apetag/Manifest b/media-sound/apetag/Manifest index 43a025487267..ee7039e68c60 100644 --- a/media-sound/apetag/Manifest +++ b/media-sound/apetag/Manifest @@ -1,4 +1,3 @@ -AUX apetag-1.10-gcc43.patch 1185 RMD160 0174921863b348e0f320e9fe1cc4a495ea949cae SHA1 e40ae2a2150cb88c4affec27f01b3c99a7367007 SHA256 fa6ca65fbefda9e3553a44872ae50a7502cc9ef3cb31ca5642926cb2a2d3208b DIST apetag.1.12.tar.gz 29942 RMD160 84b9282b03e7214baac316c0cab415f13955bf07 SHA1 1ccd809537567795f4fddaf27234c1b658584764 SHA256 7376c326483098c9e1f200cbbb2f238705adc0cbafe854ca583febedf42737e9 EBUILD apetag-1.12.ebuild 828 RMD160 fa4d9a55afd9aafacc488edff2885c243bc51c95 SHA1 c4c6e6530d920d528c114fe4c6829b1acf3a11f6 SHA256 253d86277b1b4123567af02f458145bd97e43bbe072c6df877f718d4fab0e282 MISC ChangeLog 1693 RMD160 74d7958d8692b448797449c39940d39dc28742c8 SHA1 bb50f2436fab71a577206ec23ab06eb70eac38e0 SHA256 c6b1553608391afd58005e4e997701430dee6acdd6a1c1288e50c6399a782ead diff --git a/media-sound/apetag/files/apetag-1.10-gcc43.patch b/media-sound/apetag/files/apetag-1.10-gcc43.patch deleted file mode 100644 index 8e76f30bfb95..000000000000 --- a/media-sound/apetag/files/apetag-1.10-gcc43.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -NrU5 Apetag.orig/basic.C Apetag/basic.C ---- Apetag.orig/basic.C 2008-06-15 12:32:43.000000000 +0200 -+++ Apetag/basic.C 2008-06-15 12:46:06.000000000 +0200 -@@ -24,10 +24,11 @@ - /* ================================================================== */ - - using namespace std; - - #include <string> -+#include <cstdlib> - #include "basic.H" - - /* ================================================================== */ - // special imports - /* ================================================================== */ -@@ -268,11 +269,11 @@ - { - exit(-1); - } - - // ======================================================================== --LOCALFUN VOID DefaultSignalHandler(int arg) -+LOCALFUN VOID DefaultSignalHandler(int __attribute__((unused)) arg) - { - if( !has_executed_before ) - { - TraceCallBack(); - TerminateCallBack(); -diff -NrU5 Apetag.orig/switch.H Apetag/switch.H ---- Apetag.orig/switch.H 2008-06-15 12:32:43.000000000 +0200 -+++ Apetag/switch.H 2008-06-15 12:36:59.000000000 +0200 -@@ -17,10 +17,12 @@ - */ - - #ifndef SWITCH_H - #define SWITCH_H - -+#include <cstdlib> -+ - typedef enum - { - SWITCH_TYPE_INVALID, - SWITCH_TYPE_BOOL, - SWITCH_TYPE_INT32, diff --git a/media-sound/codecgraph/Manifest b/media-sound/codecgraph/Manifest index 2a636e5d382b..89a0710d1a57 100644 --- a/media-sound/codecgraph/Manifest +++ b/media-sound/codecgraph/Manifest @@ -1,7 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX 20080311-makefile-prefix.diff 183 RMD160 4bd5e80d9b6cbcdb27b2d1bce8ad2f2bbe577f00 SHA1 24773e44cd5510fca1621a929e87b97ac6a25e15 SHA256 862d74b42dd74df3253e68feacb4fd1920e7d0129271a3c28f4b939a5766589d AUX 20080422-makefile-prefix.diff 223 RMD160 6ed0f1080adfe73d3fa875a6c66983c511993292 SHA1 303ef78f02c5f401683f1d2a083396c888b03dbf SHA256 e8c08c799223af9606f835afd9b8f3e1cd72d4d6baf27fbffe00c9b45c9a0bb4 AUX 20080507-makefile-prefix.diff 223 RMD160 86a542890a3e63575368b68aa7f82b97f14a4832 SHA1 9e1e1a215b6ee356296ee6cb164d62157b991c02 SHA256 5ad9bda3541373dc68fc0027ffd6e8137e4543e8513f198401b812e4ba28b37c DIST codecgraph-20080422.tar.gz 49261 RMD160 5875eb66888c959dbe6439f2a385cac245d8b17f SHA1 ddd274625682fbbb8e550b3904405449fb682710 SHA256 076680a9035a26cc5adc3af176c11e10b3dcb6829a8a6f14c8eb2ba2d0576d32 @@ -10,10 +6,3 @@ EBUILD codecgraph-20080422.ebuild 802 RMD160 5141cfa225f3f2d9a8c2cc0a77cb798b86d EBUILD codecgraph-20080507.ebuild 802 RMD160 8ccb31aaff98852335ff26a1258142992726c992 SHA1 8c181829772d3a3bbe56305b4d7feea3fb651291 SHA256 dac57b3358c3064ce542adb379ffbf2c44d4df355f4d66e7c3fc37330f4a3d86 MISC ChangeLog 866 RMD160 42e1ce9f4fac7fa078c0e9d1a990b9e86c6167a1 SHA1 b65990badda56ef40bbaca8a95f17ae6e6274362 SHA256 6a0638a843158b9444869bca99213c1f7397930d06dc188e74e58acda2c7d922 MISC metadata.xml 248 RMD160 f9de13e16a150195633b055ebe61bb4cea95160d SHA1 4ea80510c4e90c385ac851b4f82c36b4f91d9402 SHA256 6a8ca116bded5cdd92cb700f92acd22b01ae159ef1b69c60a03fc9859bb9b3d6 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkgiPr0ACgkQp5vW4rUFj5oV8ACgu8n3dmeR7icjlk0uQYplTE/j -dj4An3Tr72urLsDo4Pspulc1Ac1x4o9m -=4hhY ------END PGP SIGNATURE----- diff --git a/media-sound/codecgraph/files/20080311-makefile-prefix.diff b/media-sound/codecgraph/files/20080311-makefile-prefix.diff deleted file mode 100644 index 25ce6c4583be..000000000000 --- a/media-sound/codecgraph/files/20080311-makefile-prefix.diff +++ /dev/null @@ -1,8 +0,0 @@ ---- Makefile.ORIG 2008-03-14 10:54:23.000000000 +0000 -+++ Makefile 2008-03-14 10:54:56.000000000 +0000 -@@ -1,4 +1,4 @@ --PREFIX = /usr/local -+PREFIX = /usr - DOTTY = dot - - samples = \ diff --git a/media-sound/freebirth/Manifest b/media-sound/freebirth/Manifest index ff74900d2b83..10af300dd3be 100644 --- a/media-sound/freebirth/Manifest +++ b/media-sound/freebirth/Manifest @@ -1,5 +1,4 @@ AUX freebirth-0.3.2-gentoo-2.patch 7009 RMD160 c359696b5fbc4e3d41f9921903d69fc02be4ebc1 SHA1 fd561c82227d90456f4040336ae757348c3b9b04 SHA256 ca81db2ef80597afe385a9a19699362780cd737fe3fbdb6f0cb65cc5c71079f7 -AUX freebirth-0.3.2-gentoo.patch 433 RMD160 811f061e9864c504016d92783f7379fda2392d7c SHA1 e257f3b65532237ace8dabe95181f3fa9679f64c SHA256 185d33fbb21c60eb99df056741fcbfc5c23f6480a29d9a7ffd7a21b783f0fdd4 DIST freebirth-0.3.2.tar.gz 2456900 RMD160 45d86fe5f8a8ad18c71d6814e0b844e32d9d3f60 SHA1 958673def46ec95980c97a3debebaf97a698c441 SHA256 8cdee757be747eae337826ec9ca9244798c36f75c82f10dfd2c09facfc623f96 EBUILD freebirth-0.3.2-r1.ebuild 945 RMD160 eee0fefb9f721570d01f5db49600005aafe669c3 SHA1 8f585b20250a9a9d81e7fdd3c417ba331ce6f80e SHA256 bdd03e13b78313dccfb9690cd0af57c6abe5dc4772b68ee632b6fda89731172e MISC ChangeLog 1958 RMD160 349c27c22d72f6dee063bc282bcb4d195ee60d7d SHA1 f5202633588feee5c26187fa36dc7653bdedfd22 SHA256 64baa5b11da61583ee1957aee368187098b83dccd5105d4cdb18026a7c0da3e6 diff --git a/media-sound/freebirth/files/freebirth-0.3.2-gentoo.patch b/media-sound/freebirth/files/freebirth-0.3.2-gentoo.patch deleted file mode 100644 index 6171ac5496ab..000000000000 --- a/media-sound/freebirth/files/freebirth-0.3.2-gentoo.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Naur freebirth-0.3.2.orig/raw_wave.h freebirth-0.3.2/raw_wave.h ---- freebirth-0.3.2.orig/raw_wave.h 2000-01-14 03:44:05.000000000 +0900 -+++ freebirth-0.3.2/raw_wave.h 2003-05-31 21:35:42.000000000 +0900 -@@ -62,7 +62,7 @@ - event *event_pitch_change_new(int seq_handle, double pitch); - - // #define FB_SAMPLES "/usr/local/lib/freebirth" --#define FB_SAMPLES "." -+#define FB_SAMPLES "/usr/lib/freebirth" - - /* - Local Variables: - diff --git a/media-sound/galan/Manifest b/media-sound/galan/Manifest index d04e725ebfca..d5df75d65e17 100644 --- a/media-sound/galan/Manifest +++ b/media-sound/galan/Manifest @@ -1,7 +1,4 @@ -AUX galan-0.3.0_beta3-gcc2_fix.patch 726 RMD160 17285a66bf39f6205cafcadc31f01a896af794bb SHA1 2d4263b9213670ffd3b5ab3500f470ff690a4c55 SHA256 af5cd8d79542c76baa552e1184a2220f70c9c2047689595efe74ed01a7ebf6a2 -DIST galan-0.3.0_beta6.tar.gz 1138910 RMD160 37e1b4cd0d30f96dbb8a5955b9e4ea113d1ab4c7 SHA1 58b637555c55d2e227fe03300103a7b187e76fe1 SHA256 856c9e59d0f343d92bf0b0cff4ea66007eae0cba33fbeb174146a170346c57a2 DIST galan-0.3.0_beta7.tar.gz 1138937 RMD160 fea5e8eab22baf43e9bdce3e24e57a11e6445dce SHA1 18552a8f095f13b4b807af8f77db0f03a574c0e5 SHA256 1dfe1a876a73870afb530f1f9ea66735d73cf26fda9c881f2a1006b1dc155a07 -EBUILD galan-0.3.0_beta6.ebuild 974 RMD160 fd9c5292f3909a98166d67c40ac1295e460313df SHA1 7908c43eb6e327bb54a868e6567abf02c084ac44 SHA256 87e771cde5cf95349e23738b401d39e716f888b7f301c98c86a777fe5d1e356b EBUILD galan-0.3.0_beta7.ebuild 973 RMD160 4adb7161934fb0e109c36c62e8a637b67810078c SHA1 f8ea2f4adc6fa7358e8055e0aa49caec7808bf7a SHA256 e398f56da6d9674609d0a024424ced4a6b5d751bb1ee6f109d3860711b01b1eb MISC ChangeLog 3407 RMD160 512938e9afd27589072d0177543ae5d465996f3f SHA1 b09da2d69384e5c84d2744831ed0d06ae9f94434 SHA256 6eb7d49f850fdcb96d41712fe712c631b7907fb1d29b5fdb3a86fab16e09ba26 MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b diff --git a/media-sound/galan/files/galan-0.3.0_beta3-gcc2_fix.patch b/media-sound/galan/files/galan-0.3.0_beta3-gcc2_fix.patch deleted file mode 100644 index c5d518692d3f..000000000000 --- a/media-sound/galan/files/galan-0.3.0_beta3-gcc2_fix.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -Naur galan-0.3.0_beta3.orig/plugins/filerequester.la.c galan-0.3.0_beta3/plugins/filerequester.la.c ---- galan-0.3.0_beta3.orig/plugins/filerequester.la.c 2004-01-22 10:02:36.000000000 -0500 -+++ galan-0.3.0_beta3/plugins/filerequester.la.c 2004-02-05 13:01:26.000000000 -0500 -@@ -69,6 +69,7 @@ - - PRIVATE gpointer req_thread( Generator *g ) { - -+ GtkWidget *fs; - Data *data = g->data; - - while( 1 ) { -@@ -79,7 +80,7 @@ - - gdk_threads_enter(); - -- GtkWidget *fs = gtk_file_selection_new("Select File"); -+ fs = gtk_file_selection_new("Select File"); - - gtk_object_set_data(GTK_OBJECT(fs), "Generator", g); - gtk_signal_connect(GTK_OBJECT(GTK_FILE_SELECTION(fs)->ok_button), "clicked", diff --git a/media-sound/galan/galan-0.3.0_beta6.ebuild b/media-sound/galan/galan-0.3.0_beta6.ebuild deleted file mode 100644 index a445cfe94685..000000000000 --- a/media-sound/galan/galan-0.3.0_beta6.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/galan/galan-0.3.0_beta6.ebuild,v 1.9 2008/04/13 21:51:24 aballier Exp $ - -IUSE="vorbis alsa opengl esd jack" - -DESCRIPTION="gAlan - Graphical Audio Language" -HOMEPAGE="http://galan.sourceforge.net/" -SRC_URI="mirror://sourceforge/galan/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" - -KEYWORDS="~amd64 ~ppc ~sparc ~x86" - -RDEPEND=">=x11-libs/gtk+-2.0 - vorbis? ( >=media-sound/vorbis-tools-1.0 ) - alsa? ( >=media-libs/alsa-lib-0.9.0_rc1 ) - opengl? ( >=x11-libs/gtkglarea-1.99.0 ) - esd? ( media-sound/esound ) - jack? ( >=media-sound/jack-audio-connection-kit-0.80.0 ) - media-libs/liblrdf - media-libs/ladspa-sdk - media-libs/audiofile - media-libs/libsndfile - =sci-libs/fftw-2*" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -src_install() { - make DESTDIR="${D}" install || die "install failed" - dodoc AUTHORS ChangeLog NEWS README TODO doc/ -} diff --git a/media-sound/gqmpeg/Manifest b/media-sound/gqmpeg/Manifest index aede128be813..3c9858e64a5b 100644 --- a/media-sound/gqmpeg/Manifest +++ b/media-sound/gqmpeg/Manifest @@ -1,4 +1,3 @@ -AUX gqmpeg.desktop 127 RMD160 db1e62168a979bf7e3397bb84ea3a9d5c78bd53f SHA1 086952d3ac63e06e09fea81859368b14baff172e SHA256 1a96574500a0491289db447cf2ff981148270e5d14aaa18a2b2e473d7734d420 DIST gqmpeg-0.91.1.tar.gz 1078478 RMD160 7e10b097bc2af3010f43c47a1f905e6103c8dd5f SHA1 23d81dbf49a2d44ceda58bea2b324716b42edbb5 SHA256 78502bf9b9119c9d4495a640e7467c67aa992b30d8b5b2a51c1db86ada045df5 EBUILD gqmpeg-0.91.1.ebuild 816 RMD160 7155f9c3a240df3c1d1897ec5567f8e62863614d SHA1 d40c6b0a1b94c99db6324c88f42389f4a7f3b3d9 SHA256 344f086d3140b8675aba11d1a9d43df67fc46057d0245c9445a7d84350c5edae MISC ChangeLog 3143 RMD160 b42cd5458ead55ac976e9d17ecfdb58b6b86f5c0 SHA1 eba182b2a24094c2ce97cc9490eff80d7b4a3c37 SHA256 5df895c5c42442d6ae263e2140ff43d39741efc30bb40c8e2e51039dd10f35ce diff --git a/media-sound/gqmpeg/files/gqmpeg.desktop b/media-sound/gqmpeg/files/gqmpeg.desktop deleted file mode 100644 index 98d87b29f38f..000000000000 --- a/media-sound/gqmpeg/files/gqmpeg.desktop +++ /dev/null @@ -1,7 +0,0 @@ -[Desktop Entry] -Name=GQmpeg -Comment=front end to various audio players -Exec=gqmpeg -Icon=gqmpeg.png -Terminal=0 -Type=Application diff --git a/media-sound/jack-audio-connection-kit/Manifest b/media-sound/jack-audio-connection-kit/Manifest index bb4197cd1ba4..5c33af45ee33 100644 --- a/media-sound/jack-audio-connection-kit/Manifest +++ b/media-sound/jack-audio-connection-kit/Manifest @@ -1,10 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX jack-audio-connection-kit-0.103.0-ppc64fix.patch 2688 RMD160 f5e56bf524078be13f5b9114e1629c5bc4d2d0ac SHA1 bd4b823c54e06debec3b93b3bf850af06b69f045 SHA256 80e12c89348728ad9dc3022d00322b030102dbe7c5bd2b300a2b45dd696afb68 AUX jack-audio-connection-kit-0.103.0-riceitdown.patch 1588 RMD160 9a4c86b480b580e16d407f88fc30b23fcd339efb SHA1 2e082c75e0927525f225e58e73f1a59811eb238c SHA256 4b26b1528cc9ec17bad3968af81ded11d378a5a2379a553f401c1ff2ec03a3c4 -AUX jack-audio-connection-kit-0.98.1-configure.patch 1459 RMD160 0c370ce569a13488f331fdafea2ebec4d93c003d SHA1 e7d6ff3378c48fba942f99ac088491a7d94c2178 SHA256 43656c1854b21796ceebe74de8206966713631ad6bc9c38f28ff0865103003a0 -AUX jack-audio-connection-kit-0.99.0-jackstart.patch 515 RMD160 d8b01094e8dca70344cb1c45f6c26afd4482f9f8 SHA1 ade17d25f28a9f04cca51c0ba31aa33998d9fb7f SHA256 f0848f287efdd0161079666f36f97e113edcd5eeb8481d637643bb37a0fd0ae0 AUX jack-audio-connection-kit-sparc-cpuinfo.patch 659 RMD160 b14b46eef7a70c91d8501b5766f69e718b67e842 SHA1 26a4c95457b6c987ddc616dabe33ecea69554673 SHA256 256d48109d32ce8af89042401508392fbb90c499d4cf8b056104dc1a47522fe5 AUX jack-audio-connection-kit-transport.patch 309 RMD160 7b7130dd922ed14988eb591059d643ece39f6757 SHA1 ed8f9d90ec62476643f41ff60735d4aaaee84886 SHA256 74f1d155f365deb1461d070b37ccd7836c32c521d31960a3f4e6c3f2e528bada DIST jack-audio-connection-kit-0.109.2.tar.gz 831141 RMD160 1e382cf6751b4df3d5d4ea75be7ee94adbc7746a SHA1 5a23c9817fb72858d5bc7b3077224575140b7f55 SHA256 27a7a70e5be0dbcdd98ee1a505399e006e06b4f58fcd3b8cd25763aa7e43bfd4 @@ -14,10 +9,3 @@ EBUILD jack-audio-connection-kit-0.109.2-r1.ebuild 3747 RMD160 18060514d4976090b EBUILD jack-audio-connection-kit-0.116.2.ebuild 1876 RMD160 0f1c428b140c9f195dfaffb29d2ca23188cd94c0 SHA1 20a7ea7e8f86fe9c270f20ec67bb9a51f43d1e4e SHA256 aacb65b7d32dd7d9a9b18fc694d42f79bd7dc6402d9dbcb806b10972aa49d2d8 MISC ChangeLog 23513 RMD160 1677fc9ba7ee1b83d7f2db52ff7a35b614cf6fd8 SHA1 013ed38e54d228378415757c5780f81df6b4c936 SHA256 840a776cb02c704388377edda40fb4f15feda1bd76a634a4ceb0a06f7aceb7f0 MISC metadata.xml 423 RMD160 6adb075f07c8fa999f472c9b74565cacd3f30ee8 SHA1 b972d137f4b16aadd0a6ee6c6eb3fb83a1a001b1 SHA256 fc69eb157777984f0b8118f8c3cebbc998df7d1e4378e76853bfe995be498f33 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAko8EigACgkQvFcC4BYPU0qhXACfZBBlzNhhjL9WWs+5HE0HLZSA -iK8An0Xja4PtbGNc/x2KnS750ikpaavx -=qsQg ------END PGP SIGNATURE----- diff --git a/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-0.98.1-configure.patch b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-0.98.1-configure.patch deleted file mode 100644 index 69974111076c..000000000000 --- a/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-0.98.1-configure.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- configure.in.orig 2004-04-20 16:28:13.000000000 -0700 -+++ configure.in 2004-05-04 20:21:45.418353000 -0700 -@@ -149,8 +149,7 @@ - - JACK_CORE_CFLAGS="-I\$(top_builddir)/config -I\$(top_srcdir) \ - -I\$(top_builddir) -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall" --JACK_OPT_CFLAGS="$JACK_CORE_CFLAGS -g -march=pentium2 -mcpu=pentium4 -O3 \ ---ffast-math -funroll-loops -fprefetch-loop-arrays" -+JACK_OPT_CFLAGS="$JACK_CORE_CFLAGS -g -O3 -ffast-math -funroll-loops -fprefetch-loop-arrays" - JACK_CFLAGS="$JACK_CORE_CFLAGS $CFLAGS" - - dnl -@@ -514,10 +513,26 @@ - fi - AC_SUBST(READLINE_DEPS) - --# you need doxygen to make dist. --AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false) --if test $HAVE_DOXYGEN = "false"; then -- AC_MSG_WARN([*** doxygen not found, docs will not be built]) -+AC_ARG_ENABLE(html-docs, -+ [ --enable-html-docs build the html documentation (default yes)], -+ [ if test "x$enable_html_docs" != "xno" ; then -+ ENABLE_HTML_DOCS="yes" -+ AC_MSG_RESULT([JACK will build html docs]) -+ else -+ AC_MSG_RESULT([JACK will not build html docs]) -+ fi; -+ ], -+ [ ENABLE_HTML_DOCS="yes"; ] -+) -+ -+if test "$ENABLE_HTML_DOCS" == "yes" ; then -+ # you need doxygen to make dist. -+ AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, true, false) -+ if test $HAVE_DOXYGEN == "false"; then -+ AC_MSG_ERROR([*** doxygen not found, unable to build docs.]) -+ fi -+else -+ HAVE_DOXYGEN="false" - fi - - AM_CONDITIONAL(HAVE_SNDFILE, $HAVE_SNDFILE) diff --git a/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-0.99.0-jackstart.patch b/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-0.99.0-jackstart.patch deleted file mode 100644 index c9c1df5f8b12..000000000000 --- a/media-sound/jack-audio-connection-kit/files/jack-audio-connection-kit-0.99.0-jackstart.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -uprN jackd.orig/Makefile.in jackd/Makefile.in ---- jackd.orig/Makefile.in 2005-05-21 17:24:19.000000000 +0200 -+++ jackd/Makefile.in 2005-05-21 17:24:48.000000000 +0200 -@@ -38,7 +38,7 @@ NORMAL_UNINSTALL = : - PRE_UNINSTALL = : - POST_UNINSTALL = : - host_triplet = @host@ --bin_PROGRAMS = jackd$(EXEEXT) $(am__EXEEXT_1) -+bin_PROGRAMS = jackstart$(EXEEXT) jackd$(EXEEXT) $(am__EXEEXT_1) - subdir = jackd - DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ - $(srcdir)/Makefile.in $(srcdir)/jackd.1.in ChangeLog diff --git a/media-sound/kmp/Manifest b/media-sound/kmp/Manifest index c89f81a496c1..50c3158454ed 100644 --- a/media-sound/kmp/Manifest +++ b/media-sound/kmp/Manifest @@ -1,4 +1,3 @@ -AUX kmp-0.01-gcc34.patch 483 RMD160 e339e89dabf1a5d8ae650292c4605c68a3fcf8b2 SHA1 8fb93c53c6b2bda1b21eaa293afcec97f070e34e SHA256 732d95dae1e9c565ca40dcbeda897579510fcba419cd3e265eed633a73c0b2a9 DIST kmp-0.5.tar.bz2 493316 RMD160 3ec76ae54244ad7dff45f714e20f36b71164e001 SHA1 5ecc920f71846800759c8aedf57f3db4092506b1 SHA256 80630908fb164d5444740b489eb40af7d3659cdbe7b4a2eb321982804ac2554d EBUILD kmp-0.5.ebuild 1031 RMD160 4b9243c73c6eec3f2f6688419171c3700d31cf47 SHA1 399ec6fc3d05d9eca26a713ecf91241379900f17 SHA256 42250a98c76fceb4dc475f08f045c2574b43f978b4daf6ac6d95a19b65730e5c MISC ChangeLog 1768 RMD160 e147ecf523d7e93f3790e443d7a9b68c6ddbac1e SHA1 064bfe57810d26d84efc6bde2534c6beb5866040 SHA256 a705c4d8170a2829177c0adf7423d326f59ac16ff3d6a5a51e5c63e0cd19bb99 diff --git a/media-sound/kmp/files/kmp-0.01-gcc34.patch b/media-sound/kmp/files/kmp-0.01-gcc34.patch deleted file mode 100644 index 91205f086e81..000000000000 --- a/media-sound/kmp/files/kmp-0.01-gcc34.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur kmp-0.01.orig/linkedlist.h kmp-0.01/linkedlist.h ---- kmp-0.01.orig/linkedlist.h 2004-08-25 16:05:47.366049280 +0000 -+++ kmp-0.01/linkedlist.h 2004-08-25 16:06:16.632600088 +0000 -@@ -121,7 +121,7 @@ - int linkedList<ItemType>::add(ItemType Item, int location) { - node* parent; - node* nextspot; -- if(!find(location, root_, parent)) return 0; -+ if(!find(location, root, parent)) return 0; - nextspot = parent->next; - parent->next = new node; - parent->next->next = nextspot; diff --git a/media-sound/lastfmplayer/Manifest b/media-sound/lastfmplayer/Manifest index 08162394906a..db6158d0f689 100644 --- a/media-sound/lastfmplayer/Manifest +++ b/media-sound/lastfmplayer/Manifest @@ -1,5 +1,3 @@ -AUX lastfm.protocol 159 RMD160 863935a9ee6f66f5c901f39182278346117f80b3 SHA1 827723dfcc15714fa676671ec6656d352419208a SHA256 c0f82b00703ed8c307e448ae49f173e30801a06ea2eb7a82d21a6b3f75f25093 -AUX lastfmplayer-mad-asneeded.patch 443 RMD160 8fe0db8ec176ad4a217a16b0770b2cd3eb002e7a SHA1 194ad97e005d55f9301dcf407e94d84bf4d3a26a SHA256 e113e3251563e91f920e0ec82347b8a5e162a04b39219800cc9e613a7ed92736 AUX volumeslider_h-qt45.patch 685 RMD160 4b64d3ce601d7da01c8adf705aba1a3b129798fb SHA1 e1b5a3b61dce2862f3e552ee6d273f28cbf287e2 SHA256 b1238c155d75e02907934fdbfae3f9d600399bfa2d39135b29928c2c1016a193 DIST lastfm_1.5.1.31879.dfsg-1.diff.gz 68688 RMD160 c811484cc300223ac358c4a9afc88d2b2349a3a8 SHA1 447eed64da4fc28c07450cba31d27aaa8e421c0a SHA256 853d4f6654ee26b5c5e4a20ace9086bad021c99871958f758f3e27692f4cab49 DIST lastfm_1.5.1.31879.dfsg.orig.tar.gz 1473266 RMD160 394701227b4a2519df98955924ffa052597b6344 SHA1 7ca3dd4cefec3746b1e189e88c2797213996e95a SHA256 212ba742dfc17cc6541e6361e549edd1217512105ea4d7fe3c08a90f189d78fc diff --git a/media-sound/lastfmplayer/files/lastfm.protocol b/media-sound/lastfmplayer/files/lastfm.protocol deleted file mode 100644 index 3b3d104f4523..000000000000 --- a/media-sound/lastfmplayer/files/lastfm.protocol +++ /dev/null @@ -1,11 +0,0 @@ -[Protocol] -exec=/usr/bin/lastfm "%u" -protocol=lastfm -input=none -output=none -helper=true -listing=false -reading=false -writing=false -makedir=false -deleting=false diff --git a/media-sound/lastfmplayer/files/lastfmplayer-mad-asneeded.patch b/media-sound/lastfmplayer/files/lastfmplayer-mad-asneeded.patch deleted file mode 100644 index b55548ec8433..000000000000 --- a/media-sound/lastfmplayer/files/lastfmplayer-mad-asneeded.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- last.fm-1.4.1.57486/src/libFingerprint/libFingerprint.pro.orig 2007-12-22 13:08:59.000000000 +0100 -+++ last.fm-1.4.1.57486/src/libFingerprint/libFingerprint.pro 2007-12-22 13:09:23.000000000 +0100 -@@ -40,7 +40,7 @@ - - unix:!mac { - LIBPATH += $$BUILD_DIR/../fplib -- LIBS += $$ROOT_DIR/build/fplib/libfplib$${EXT}.a -lsamplerate -lfftw3f -+ LIBS += $$ROOT_DIR/build/fplib/libfplib$${EXT}.a -lsamplerate -lfftw3f -lmad - } - - win32 { diff --git a/media-sound/mp3splt/Manifest b/media-sound/mp3splt/Manifest index 97fea0274c25..1e2d3ca004d5 100644 --- a/media-sound/mp3splt/Manifest +++ b/media-sound/mp3splt/Manifest @@ -1,4 +1,3 @@ -AUX mp3splt-2.1-gcc41.patch 382 RMD160 1030529356a0e22ae09aee34bfe58f6293e4b00c SHA1 ab2cf96b209340d35a01be7ba10a11e95268522a SHA256 4e45cf780f92e769350db4e3e8f5598b3d34e297c2b1b21cd8120b42eac749e1 DIST mp3splt-2.2.3.tar.gz 135298 RMD160 b3823ab5b7bbf4e975724bc208e204db915fdae1 SHA1 b94d0589477fa3c7b7bfd1993c13a83a6ca44e0b SHA256 aae0abb51f537224135204de2dea516a2293a9385f58c7167c483df28a717b04 DIST mp3splt-2.2.5.tar.gz 142549 RMD160 99254017ccbf023759904d21824f61a8290f8c58 SHA1 529fdeed4f9a0677a62e0ca942e6edd29ec00122 SHA256 0471c20adf686a3e69d9a4b28dc40a8b31999474442241c512f8813b71db3eb0 EBUILD mp3splt-2.2.3.ebuild 719 RMD160 7e26635d89ca174ddd5f0011227ec043b7df924c SHA1 c15ab77cb3797ec263af9c7ee43adcf72cf8abc5 SHA256 4d8a7085b5cdeb0158804d51c6c1a0e72adc92afb5aeeb6094bafff325df74fc diff --git a/media-sound/mp3splt/files/mp3splt-2.1-gcc41.patch b/media-sound/mp3splt/files/mp3splt-2.1-gcc41.patch deleted file mode 100644 index 1e0610fcd710..000000000000 --- a/media-sound/mp3splt/files/mp3splt-2.1-gcc41.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- mp3splt-2.1/splt.h.orig 2006-03-19 16:24:52.000000000 +0100 -+++ mp3splt-2.1/splt.h 2006-03-19 16:29:35.000000000 +0100 -@@ -96,7 +96,7 @@ - - char *zero_pad_float (float f, char *out); - --int parse_outformat(char *s, char format[][], int cddboption); -+int parse_outformat(char *s, char format[OUTNUM][MAXOLEN], int cddboption); - - unsigned char *cleanstring (unsigned char *s); - diff --git a/media-sound/muine/Manifest b/media-sound/muine/Manifest index b3ad7620ef03..e4b546579645 100644 --- a/media-sound/muine/Manifest +++ b/media-sound/muine/Manifest @@ -1,5 +1,4 @@ AUX muine-0.8.10-buttons.patch 1704 RMD160 bf2f63cf2934d5fe79f57525eb7ca7f992a5ca91 SHA1 475d49d1de86c77be745fcaa2b8fd1e8f9f9a0e2 SHA256 cc03b9203b34bb51206b554a81fd575b680a535c2bc7a93018b0f93ac128d8e0 -AUX muine-0.8.7-flac.patch 2387 RMD160 0f992e3a72436afe457d77d7157692e189ee457b SHA1 1162263558421ba791d7ee80d7f8fbc9da1710e0 SHA256 d94cbf523c9e77bbfd4b7a8f5793a5a152a63c8352f62aedbfa8f882ae4b62c1 DIST muine-0.8.10.tar.bz2 611089 RMD160 c943ae7dddf456df7fd8d619b44e2c97c03b6297 SHA1 0c1b8420cd89a8fcae86982e205255d469e9dd29 SHA256 0bbc8ed72586b7e8ebdf60786f9d9c05c2f36f210acba36f01d645f9ff89ec37 EBUILD muine-0.8.10.ebuild 2245 RMD160 725dffba69d3737604dda03fc0533d55281e3ce7 SHA1 533c61d7f2d5268b080b293ff6f8b70a142f8168 SHA256 8ebec6284b72e42d971b94de773bbffa63a4d42ec2b962513ab2c014f2ec396e MISC ChangeLog 8094 RMD160 ef70a854c5bb0153f531fe4b085549c936beb95b SHA1 a44816549aabae4ce1bf6cb1c36a38f86eae5b8c SHA256 674f8a7ac25e57e36b085877634d0b0de9451e1ad0edffe476502c07a2fe8c1d diff --git a/media-sound/muine/files/muine-0.8.7-flac.patch b/media-sound/muine/files/muine-0.8.7-flac.patch deleted file mode 100644 index 14d690c1f28c..000000000000 --- a/media-sound/muine/files/muine-0.8.7-flac.patch +++ /dev/null @@ -1,73 +0,0 @@ -diff -ur muine-0.8.7.orig/libmuine/metadata.c muine-0.8.7/libmuine/metadata.c ---- muine-0.8.7.orig/libmuine/metadata.c 2007-01-20 00:14:07.000000000 +0200 -+++ muine-0.8.7/libmuine/metadata.c 2007-07-12 17:31:03.000000000 +0300 -@@ -41,6 +41,12 @@ - #include "metadata.h" - #include "macros.h" - -+#if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT < 8 -+#define LEGACY_FLAC -+#else -+#undef LEGACY_FLAC -+#endif -+ - struct _Metadata { - char *title; - -@@ -741,7 +747,14 @@ - } CallbackData; - - static FLAC__StreamDecoderReadStatus --FLAC_read_callback (const FLAC__StreamDecoder *UNUSED(decoder), FLAC__byte buffer[], unsigned *bytes, void *client_data) -+FLAC_read_callback (const FLAC__StreamDecoder *UNUSED(decoder), -+ FLAC__byte buffer[], -+#if defined(LEGACY_FLAC) -+ unsigned *bytes, -+#else -+ size_t *bytes, -+#endif -+ void *client_data) - { - CallbackData *data = (CallbackData *) client_data; - GnomeVFSFileSize read; -@@ -829,22 +842,40 @@ - - flac_decoder = FLAC__stream_decoder_new (); - -+#if defined(LEGACY_FLAC) - FLAC__stream_decoder_set_read_callback (flac_decoder, FLAC_read_callback); - FLAC__stream_decoder_set_write_callback (flac_decoder, FLAC_write_callback); - FLAC__stream_decoder_set_metadata_callback (flac_decoder, FLAC_metadata_callback); - FLAC__stream_decoder_set_error_callback (flac_decoder, FLAC_error_callback); -+#endif - - callback_data = g_new0 (CallbackData, 1); - callback_data->handle = handle; - callback_data->comment = comment; -+#if defined(LEGACY_FLAC) - FLAC__stream_decoder_set_client_data (flac_decoder, callback_data); -+#endif - - /* by default, only the STREAMINFO block is parsed and passed to - * the metadata callback. Here we instruct the decoder to also - * pass us the VORBISCOMMENT block if there is one. */ - FLAC__stream_decoder_set_metadata_respond (flac_decoder, FLAC__METADATA_TYPE_VORBIS_COMMENT); - -+#if defined(LEGACY_FLAC) - FLAC__stream_decoder_init (flac_decoder); -+#else -+ FLAC__stream_decoder_init_stream (flac_decoder, -+ FLAC_read_callback, -+ NULL, -+ NULL, -+ NULL, -+ NULL, -+ FLAC_write_callback, -+ FLAC_metadata_callback, -+ FLAC_error_callback, -+ callback_data -+ ); -+#endif - - /* this runs the decoding process, calling the callbacks as appropriate */ - if (FLAC__stream_decoder_process_until_end_of_metadata (flac_decoder) == 0) { diff --git a/media-sound/peercast/Manifest b/media-sound/peercast/Manifest index d4524ba8cf5f..d88854916b95 100644 --- a/media-sound/peercast/Manifest +++ b/media-sound/peercast/Manifest @@ -3,7 +3,6 @@ AUX peercast-0.1216-makefile.patch 961 RMD160 a917432e551cd4546ad1f0f118e0f90dda AUX peercast-0.1218-CVE-2008-2040.patch 4545 RMD160 dab2c76c7e2464d7803b2d8df84ab1a32de133b5 SHA1 bf6dd421c290a68e87ce4ca40ade4f8f9605b716 SHA256 f1455846673d28b2f35e62f672b548ef5f1303664482e98fde459e31e78144d9 AUX peercast-0.1218-glibc-2.10.patch 3332 RMD160 46bc8ab581c9090a59d61a29af487584078a3cb9 SHA1 52c0618cc7bb0991ee12ac708d04b52b1baefa6f SHA256 7ab7bb5eedbc7d136ef331c7020b9ede0dad1a51ecd0f58dc81692938aa312a9 AUX peercast.initd 709 RMD160 bcd93433b4f1dc6daf19196dae6df58b3753f8e9 SHA1 5b7a249d349778681bb44cc24a415387a5594b2b SHA256 e9ccf26d534ec56db9cad43494e30c7bb2d27d009dc6831f862bcefac3459058 -AUX peercast.wrapper.sh 100 RMD160 b32df43887271734dda5039b17fa5e0ec1218676 SHA1 3fe094c5acf82a7714f0ecb10e94466ddead8f83 SHA256 2c99ca72a5cc1f08ad453065f4a6af992c38ddb930b18211647fcc53f3cbccca DIST peercast-0.1218-src.tgz 557909 RMD160 316c88ea087cc985ab172612eea6455140c1bf96 SHA1 1e6f7ecdad01e0c29f03f6c401e3c9972c8d90b6 SHA256 d480e3bc5a23c2e7612c05503852888126210e7159d07e9c36bf5e3716569036 EBUILD peercast-0.1218-r2.ebuild 1311 RMD160 218449b9335d465cdfc393b2abb21d77789705c8 SHA1 3502b7cb04c6ff834628e21d0fd951fdb43438ad SHA256 e6f42b9128ef5e1307a309938a2ba64d179e3d5f223a8715853a42fbe605c14d MISC ChangeLog 4099 RMD160 5a59d70251fa1fd7057bcf248c58d0e62bf56044 SHA1 1b4ed5b3e2498d48d7b776351dcd8af3ed8d0b14 SHA256 1b3462c5d3b511decd58f76113dca835c0fa8350851304ad6bc08791d9d0be39 diff --git a/media-sound/peercast/files/peercast.wrapper.sh b/media-sound/peercast/files/peercast.wrapper.sh deleted file mode 100644 index 052d9b612daa..000000000000 --- a/media-sound/peercast/files/peercast.wrapper.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -cd /usr/share/peercast -exec /usr/libexec/peercast "$@" -echo "$!" > /var/run/peercast.pid - diff --git a/media-sound/streamripper/Manifest b/media-sound/streamripper/Manifest index ab236a984573..3c5ae84486f4 100644 --- a/media-sound/streamripper/Manifest +++ b/media-sound/streamripper/Manifest @@ -1,4 +1,3 @@ -AUX streamripper-1.62.2-implicit-declarations.patch 751 RMD160 4c8811d55140335c177554d55ba672a758eafc16 SHA1 5b287a0e76790b8b95a4bcd76b524fabfe2e3b10 SHA256 b291061de130c51dd4f058a106548e5e8d2b8f8943fac955e6ea8ca1c9984633 DIST streamripper-1.64.0.tar.gz 839535 RMD160 ca9962894b7238eba145bdd1d692757014d39b7d SHA1 b09f7675bb83796aa412cb94481003441c382821 SHA256 a53f50d26de3610e59a07eaf81cc9da348aaf7b35bc4a302f2e5f6defb1297ae EBUILD streamripper-1.64.0.ebuild 969 RMD160 5570e51076504d9a18acf70b5118f62b2f6e5779 SHA1 b72f970574507f8736536ff654bf88b3aaa92c2d SHA256 1ad9142b33ebeba34d568af213c030887c1ddbe0d1876b9a7f63d4dd1271ac5c MISC ChangeLog 9195 RMD160 c27b6966fb430fc7a8800a1838388375df655e80 SHA1 91721a6c1e8dd4e0e6ffe191d7bd0d0e22e651e5 SHA256 18fa6459406f6126e80ddd6b1f678c5bed93ca6fe24a70ebf1cfcf26379a47f7 diff --git a/media-sound/streamripper/files/streamripper-1.62.2-implicit-declarations.patch b/media-sound/streamripper/files/streamripper-1.62.2-implicit-declarations.patch deleted file mode 100644 index 949334e56498..000000000000 --- a/media-sound/streamripper/files/streamripper-1.62.2-implicit-declarations.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ur streamripper-1.62.2.orig/lib/parse.c streamripper-1.62.2/lib/parse.c ---- streamripper-1.62.2.orig/lib/parse.c 2007-05-26 22:37:00.000000000 +0300 -+++ streamripper-1.62.2/lib/parse.c 2007-08-13 17:48:52.000000000 +0300 -@@ -23,7 +23,7 @@ - #include "mchar.h" - #include "debug.h" - #include "srtypes.h" --#include "regex.h" -+#include <tre/regex.h> - - /* GCS FIX: figure out function prototypes for regwcomp, regwexec */ - -diff -ur streamripper-1.62.2.orig/lib/utf8.c streamripper-1.62.2/lib/utf8.c ---- streamripper-1.62.2.orig/lib/utf8.c 2005-12-31 18:02:54.000000000 +0200 -+++ streamripper-1.62.2/lib/utf8.c 2007-08-13 17:51:29.000000000 +0300 -@@ -25,7 +25,7 @@ - #include <string.h> - - #include "utf8.h" -- -+#include "charset.h" - - #ifdef _WIN32 - diff --git a/media-sound/vbrfixc/Manifest b/media-sound/vbrfixc/Manifest index 961053d15bdf..f891fdb34726 100644 --- a/media-sound/vbrfixc/Manifest +++ b/media-sound/vbrfixc/Manifest @@ -1,6 +1,5 @@ -AUX vbrfixc-0.24-bigendian.diff 383 RMD160 2bf768a4bc2dd67df1c59868292ed007a0b9d0be SHA1 8a7032c2d80a5c32cc1088b07dd858b24c24145f SHA256 5fcc79cf877c98414dbde8cecbf9b003b91418f64440a6afbde777025ad50239 AUX vbrfixc-0.24-gcc43.patch 489 RMD160 183211d4d60573219e3232209babdd49b47e282d SHA1 d680330f9c949f78398db9d15b2fcd6aa2720d0e SHA256 7907b35008574fba7d7a794df796fecd934b728932e8454834a172b4b2dfc5c9 DIST vbrfixc-0.24.tar.gz 656877 RMD160 f3c13c38d9abbfe03894875199a50063836d94b4 SHA1 9aec6cf13ce3718c52b04b8fa123690997837d23 SHA256 02d6363949407ac0e4b39ed76c60e49de0c286dbdce4f15363f771320430b364 -EBUILD vbrfixc-0.24.ebuild 793 RMD160 f0207a925128a304caac8dde427693c8b8e7f15b SHA1 edbf01965b83c2cc65f8ba3e89c7237b77d2f13b SHA256 19fbd5cb03881da497a8c15aacdd9d18ff47a722be9a6897b969e41c4b6570c5 +EBUILD vbrfixc-0.24.ebuild 761 RMD160 cd67b67ab9bfcd68de8196c2df3c0c7136e37b06 SHA1 5f099542b61e8a6a91b08aeec33acfe1f909fe13 SHA256 fa960cc644085f8b4f2dd948f4b5bebc0048da409aaad5d400113b52dae05071 MISC ChangeLog 876 RMD160 e90fee16b809ff3034b2643d5b7d747a5ecb9eeb SHA1 07939d576aa1e396544556b7cd446c2caf8258fc SHA256 bd722408b262ead6bc180a0a6a605693bc53dd38727002f2291e109abcae3235 MISC metadata.xml 531 RMD160 669ed8063a513bdbc2e05519e328840d5643a08b SHA1 a960102b8da0ded22a54b4583b5908a51168baae SHA256 1cbed1c474eca95960e55ade37cae4956e18caaa12d1f2b16357cef1cce1bad7 diff --git a/media-sound/vbrfixc/files/vbrfixc-0.24-bigendian.diff b/media-sound/vbrfixc/files/vbrfixc-0.24-bigendian.diff deleted file mode 100644 index 69453b32926c..000000000000 --- a/media-sound/vbrfixc/files/vbrfixc-0.24-bigendian.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- vbrfixc/vbrfix.cpp.orig 2003-07-17 19:58:21.000000000 +0200 -+++ vbrfixc/vbrfix.cpp 2006-03-17 12:32:41.948814339 +0100 -@@ -348,7 +348,7 @@ - unsigned char *fred; - fred=(unsigned char*)&n; - unsigned char t[4]; -- t[0]=fred[3];t[1]=fred[2];t[2]=fred[1];t[3]=fred[0]; -+ t[0]=fred[0];t[1]=fred[1];t[2]=fred[2];t[3]=fred[3]; - outmp3.fWrite(t,4); - //fwrite(t,4,1,outmp3); - } diff --git a/media-sound/vbrfixc/vbrfixc-0.24.ebuild b/media-sound/vbrfixc/vbrfixc-0.24.ebuild index 1a64f8e7d92d..7232ba571984 100644 --- a/media-sound/vbrfixc/vbrfixc-0.24.ebuild +++ b/media-sound/vbrfixc/vbrfixc-0.24.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/vbrfixc/vbrfixc-0.24.ebuild,v 1.4 2008/06/29 10:15:48 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/vbrfixc/vbrfixc-0.24.ebuild,v 1.5 2009/08/21 16:03:38 ssuominen Exp $ +EAPI=2 inherit eutils DESCRIPTION="Vbrfix fixes MP3s and re-constructs VBR headers" @@ -10,22 +11,18 @@ SRC_URI="http://www.willwap.co.uk/Downloads/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" +# bin endian ones need vbrfixc-0.24-bigendian.diff from gentoo-x86 cvs Attic KEYWORDS="amd64 x86" IUSE="" DEPEND="" -src_unpack() { - unpack ${A} - cd "${S}" - - # every bigendian arch needs this patch - #use ppc && epatch "${FILESDIR}/${P}-bigendian.diff" +src_prepare() { epatch "${FILESDIR}"/${P}-gcc43.patch } src_install() { - make DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS README TODO dohtml vbrfixc/docs/en/*.html } |