summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Rothe <corsair@gentoo.org>2005-01-25 16:04:18 +0000
committerMarkus Rothe <corsair@gentoo.org>2005-01-25 16:04:18 +0000
commit40ef9ab8957b808168846ffae51a6a01660bc73f (patch)
treeab337b9acc7b374275915f7513ac2b7c4206dd3f /media-sound
parentVersion bump for bug 79466. (diff)
downloadhistorical-40ef9ab8957b808168846ffae51a6a01660bc73f.tar.gz
historical-40ef9ab8957b808168846ffae51a6a01660bc73f.tar.bz2
historical-40ef9ab8957b808168846ffae51a6a01660bc73f.zip
sb16_csp won't build on ppc64
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/alsa-tools/ChangeLog7
-rw-r--r--media-sound/alsa-tools/Manifest18
-rw-r--r--media-sound/alsa-tools/alsa-tools-1.0.8-r1.ebuild96
-rw-r--r--media-sound/alsa-tools/files/digest-alsa-tools-1.0.8-r11
4 files changed, 108 insertions, 14 deletions
diff --git a/media-sound/alsa-tools/ChangeLog b/media-sound/alsa-tools/ChangeLog
index 739711570c90..e154d3fe40dc 100644
--- a/media-sound/alsa-tools/ChangeLog
+++ b/media-sound/alsa-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/alsa-tools
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.65 2005/01/23 11:24:45 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/ChangeLog,v 1.66 2005/01/25 16:04:18 corsair Exp $
+
+*alsa-tools-1.0.8-r1 (25 Jan 2005)
+
+ 25 Jan 2005; Markus Rothe <corsair@gentoo.org> +alsa-tools-1.0.8-r1.ebuild:
+ sb16_csp won't build on ppc64
*alsa-tools-1.0.8 (23 Jan 2005)
diff --git a/media-sound/alsa-tools/Manifest b/media-sound/alsa-tools/Manifest
index e66e1a895c12..28b4ba377ea0 100644
--- a/media-sound/alsa-tools/Manifest
+++ b/media-sound/alsa-tools/Manifest
@@ -1,22 +1,14 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 6d53b9a0e107d432cf7a491d59ac257d ChangeLog 9303
+MD5 2b03ef1a313db1db4608c008195ef764 ChangeLog 9447
MD5 b575dc7527ba66d5afd185d923637edc alsa-tools-0.9.8.ebuild 2090
-MD5 025754e3de3a3725b9cd07af6ca2cb21 alsa-tools-1.0.6.ebuild 2318
MD5 7c90380c078ed03a539129bb95c5a5d4 alsa-tools-1.0.7.ebuild 2325
+MD5 025754e3de3a3725b9cd07af6ca2cb21 alsa-tools-1.0.6.ebuild 2318
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 d4185a4ac4c4a82708dfe419e112730f alsa-tools-1.0.8.ebuild 2328
+MD5 f9386b74d6ff78965b2cf7df84f64691 alsa-tools-1.0.8-r1.ebuild 2411
MD5 898810373b49d9d25e9e19006bf9903f files/alsa-tools-1.0.3-kernel-2.6.patch 443
MD5 e2a96585b296f3f975f2cc8146eb3b74 files/alsa-tools-1.0.6-gcc34.patch 280
MD5 1671d48040628fff2ae90826203f01ec files/digest-alsa-tools-0.9.8 70
-MD5 d44a324f85dac09748cb2abb0246d541 files/digest-alsa-tools-1.0.6 69
MD5 d71b074ecf904c67e2cffaa96ca52367 files/digest-alsa-tools-1.0.7 69
MD5 92018b0f62f8da61cc08aa7a03c5bb42 files/digest-alsa-tools-1.0.8 69
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFB84mEArHZZzCEUG0RAtZLAJ90Z1c2g1oytliyZFGVdqNsvMdTfwCdH/DI
-+EjBP99QXitcFMlUb282i10=
-=1sVx
------END PGP SIGNATURE-----
+MD5 d44a324f85dac09748cb2abb0246d541 files/digest-alsa-tools-1.0.6 69
+MD5 92018b0f62f8da61cc08aa7a03c5bb42 files/digest-alsa-tools-1.0.8-r1 69
diff --git a/media-sound/alsa-tools/alsa-tools-1.0.8-r1.ebuild b/media-sound/alsa-tools/alsa-tools-1.0.8-r1.ebuild
new file mode 100644
index 000000000000..6a0ad49f8191
--- /dev/null
+++ b/media-sound/alsa-tools/alsa-tools-1.0.8-r1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-tools/alsa-tools-1.0.8-r1.ebuild,v 1.1 2005/01/25 16:04:18 corsair Exp $
+
+IUSE="X"
+
+inherit gnuconfig eutils
+
+MY_P=${P/_rc/rc}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Advanced Linux Sound Architecture tools"
+HOMEPAGE="http://www.alsa-project.org"
+SRC_URI="mirror://alsaproject/tools/${P}.tar.bz2"
+
+SLOT="0.9"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+LICENSE="GPL-2"
+
+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 seq/sbiload sscape_ctl \
+ us428control usx2yloader vxloader"
+ else
+ ALSA_TOOLS="ac3dec as10k1 hdsploader mixartloader seq/sbiload \
+ sscape_ctl us428control usx2yloader vxloader"
+ fi
+
+ # sb16_csp won't build on ppc64 (and is not needed)
+ if ! use ppc64; then
+ ALSA_TOOLS="${ALSA_TOOLS} sb16_csp"
+ fi
+
+fi
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-1.0.6-gcc34.patch
+ gnuconfig_update
+}
+
+src_compile() {
+ # hdspmixer requires fltk
+ export LDFLAGS="-L/usr/$(get_libdir)/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 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.8-r1 b/media-sound/alsa-tools/files/digest-alsa-tools-1.0.8-r1
new file mode 100644
index 000000000000..2c281da05b12
--- /dev/null
+++ b/media-sound/alsa-tools/files/digest-alsa-tools-1.0.8-r1
@@ -0,0 +1 @@
+MD5 cf51eccd14e818a9f0be455cedcd52ff alsa-tools-1.0.8.tar.bz2 821235