summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-06-26 20:09:07 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-06-26 20:09:07 +0000
commitae7991946f98eedbe35622d550d4d66320aee01a (patch)
tree0b7f556fc584beaba11311f2a23b45a63aa52bf3 /media-sound
parentInitial import (diff)
downloadhistorical-ae7991946f98eedbe35622d550d4d66320aee01a.tar.gz
historical-ae7991946f98eedbe35622d550d4d66320aee01a.tar.bz2
historical-ae7991946f98eedbe35622d550d4d66320aee01a.zip
Added USE=X support so we can avoid putting in unneccessary DEPs.
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/alsa-tools/ChangeLog8
-rw-r--r--media-sound/alsa-tools/Manifest10
-rw-r--r--media-sound/alsa-tools/alsa-tools-1.0.5-r1.ebuild87
-rw-r--r--media-sound/alsa-tools/files/digest-alsa-tools-1.0.5-r11
4 files changed, 101 insertions, 5 deletions
diff --git a/media-sound/alsa-tools/ChangeLog b/media-sound/alsa-tools/ChangeLog
index bce78dc61267..419a7ca0d186 100644
--- a/media-sound/alsa-tools/ChangeLog
+++ b/media-sound/alsa-tools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/alsa-tools
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.49 2004/06/24 23:49:38 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.50 2004/06/26 20:09:07 eradicator Exp $
+
+*alsa-tools-1.0.5-r1 (26 Jun 2004)
+
+ 26 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ +alsa-tools-1.0.5-r1.ebuild:
+ Added USE=X support so we can avoid putting in unneccessary DEPs.
24 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org>
alsa-tools-1.0.5.ebuild:
diff --git a/media-sound/alsa-tools/Manifest b/media-sound/alsa-tools/Manifest
index df801edc5e5b..6ec46b280c12 100644
--- a/media-sound/alsa-tools/Manifest
+++ b/media-sound/alsa-tools/Manifest
@@ -1,15 +1,17 @@
+MD5 6643876aa05315e4fee20e3cae6bb941 ChangeLog 7510
MD5 6c351447a24c939ea3ac0082c75e51d0 alsa-tools-0.9.0_rc1-r1.ebuild 1599
-MD5 a2431cb62dccf34b277c91b7e48bfcab alsa-tools-1.0.3.ebuild 2339
MD5 e9f6a6616eaa930f653a195bca2d0836 alsa-tools-0.9.8.ebuild 2088
-MD5 7b19ca45efba150f1651196cfe7e51d6 alsa-tools-1.0.5.ebuild 2325
MD5 e30090c265ae25e90ab5b52a38948197 alsa-tools-1.0.2.ebuild 2251
+MD5 a2431cb62dccf34b277c91b7e48bfcab alsa-tools-1.0.3.ebuild 2339
MD5 b83800a29b987eba75ff4701b6886f2a alsa-tools-1.0.4.ebuild 2327
-MD5 50e7e72e7e3009464664d95ba6909a23 ChangeLog 7315
+MD5 7b19ca45efba150f1651196cfe7e51d6 alsa-tools-1.0.5.ebuild 2325
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
+MD5 a67647e5d5a6eea3719f2906e0f38d4b alsa-tools-1.0.5-r1.ebuild 2304
MD5 898810373b49d9d25e9e19006bf9903f files/alsa-tools-1.0.3-kernel-2.6.patch 443
+MD5 2094cef02e54ae2c227bf442fa461f08 files/digest-alsa-tools-0.9.0_rc1-r1 72
MD5 1671d48040628fff2ae90826203f01ec files/digest-alsa-tools-0.9.8 70
MD5 483effb0ad68356ad0b27560efd9e908 files/digest-alsa-tools-1.0.2 69
MD5 0d9226e726980c37ecbe4ca0ab3fb23e files/digest-alsa-tools-1.0.3 69
MD5 1bdcd1721550eb1146185f185e4048c3 files/digest-alsa-tools-1.0.4 69
MD5 6936bcab5224ab9b201832698db86d84 files/digest-alsa-tools-1.0.5 69
-MD5 2094cef02e54ae2c227bf442fa461f08 files/digest-alsa-tools-0.9.0_rc1-r1 72
+MD5 6936bcab5224ab9b201832698db86d84 files/digest-alsa-tools-1.0.5-r1 69
diff --git a/media-sound/alsa-tools/alsa-tools-1.0.5-r1.ebuild b/media-sound/alsa-tools/alsa-tools-1.0.5-r1.ebuild
new file mode 100644
index 000000000000..24642fe678c2
--- /dev/null
+++ b/media-sound/alsa-tools/alsa-tools-1.0.5-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.5-r1.ebuild,v 1.1 2004/06/26 20:09:07 eradicator Exp $
+
+inherit gnuconfig
+
+IUSE="X"
+
+DESCRIPTION="Advanced Linux Sound Architecture tools"
+HOMEPAGE="http://www.alsa-project.org"
+
+MY_P=${P/_rc/rc}
+#SRC_URI="ftp://ftp.alsa-project.org/pub/tools/${MY_P}.tar.bz2"
+SRC_URI="mirror://alsaproject/tools/${P}.tar.bz2"
+
+SLOT="0.9"
+KEYWORDS="~x86 ~ppc ~amd64"
+LICENSE="GPL-2"
+S=${WORKDIR}/${MY_P}
+
+DEPEND=">=media-libs/alsa-lib-1.0.0
+ virtual/alsa
+ X? ( =x11-libs/fltk-1.1*
+ =x11-libs/gtk+-1.2* )"
+
+# This is a list of the tools in the package.
+# Some of the tools don't make proper use of CFLAGS, even though
+# all of them seem to use autoconf. This needs to be fixed.
+#
+# By default, all the supported tools will be compiled.
+# If you want to only compile for specific tool(s), set ALSA_TOOLS
+# environment to a space-separated list of tools that you want to build.
+# For example:
+#
+# env ALSA_TOOLS='as10k1 ac3dec' emerge alsa-tools
+#
+if [ -z "${ALSA_TOOLS}" ]; then
+ if use X; then
+ ALSA_TOOLS="ac3dec as10k1 envy24control hdspconf hdsploader hdspmixer \
+ mixartloader rmedigicontrol sb16_csp seq/sbiload sscape_ctl \
+ us428control usx2yloader vxloader"
+ else
+ ALSA_TOOLS="ac3dec as10k1 hdsploader \
+ mixartloader sb16_csp seq/sbiload sscape_ctl \
+ us428control usx2yloader vxloader"
+ fi
+fi
+
+src_compile() {
+ gnuconfig_update
+
+ # hdspmixer requires fltk
+ export LDFLAGS="-L/usr/lib/fltk-1.1"
+ export CPPFLAGS="-I/usr/include/fltk-1.1"
+
+ # hdspmixer is missing depconf - copy from the hdsploader directory
+ cp ${S}/hdsploader/depcomp ${S}/hdspmixer/
+
+ local f
+ for f in ${ALSA_TOOLS}
+ do
+ cd "${S}/${f}"
+ econf --with-kernel="${KV}" || die "configure failed"
+ make || die "make failed"
+ done
+}
+
+src_install() {
+ local f
+ for f in ${ALSA_TOOLS}
+ do
+ # Install the main stuff
+ cd "${S}/${f}"
+ make DESTDIR="${D}" install || die
+
+ # Install the text documentation
+ local doc
+ for doc in README TODO ChangeLog COPYING AUTHORS
+ do
+ if [ -f "${doc}" ]
+ then
+ mv "${doc}" "${doc}.`basename ${f}`"
+ dodoc "${doc}.`basename ${f}`"
+ fi
+ done
+ done
+}
diff --git a/media-sound/alsa-tools/files/digest-alsa-tools-1.0.5-r1 b/media-sound/alsa-tools/files/digest-alsa-tools-1.0.5-r1
new file mode 100644
index 000000000000..364c611d4120
--- /dev/null
+++ b/media-sound/alsa-tools/files/digest-alsa-tools-1.0.5-r1
@@ -0,0 +1 @@
+MD5 c620d27c72733ad6733b44fee53f4b27 alsa-tools-1.0.5.tar.bz2 750721