summaryrefslogtreecommitdiffstats
path: root/audio-drivers/alsa-utils
diff options
context:
space:
mode:
authorVlad Glagolev2008-07-14 12:32:25 +0400
committerVlad Glagolev2008-07-14 12:32:25 +0400
commit1d6b06ff2098a43c410355ff311d219e01949e40 (patch)
treef5433c59195dbc5ef3c1cab6fdf433d4af4863dd /audio-drivers/alsa-utils
parente03ca2a6fa4c92737b5721935493c8fe5919b6dc (diff)
alsa-utils: => 1.0.17rc2, fixed git build
Diffstat (limited to 'audio-drivers/alsa-utils')
-rwxr-xr-xaudio-drivers/alsa-utils/BUILD11
-rwxr-xr-xaudio-drivers/alsa-utils/DEPENDS7
-rwxr-xr-xaudio-drivers/alsa-utils/DETAILS8
-rwxr-xr-xaudio-drivers/alsa-utils/FINAL11
-rw-r--r--audio-drivers/alsa-utils/HISTORY7
-rwxr-xr-xaudio-drivers/alsa-utils/PRE_BUILD2
6 files changed, 33 insertions, 13 deletions
diff --git a/audio-drivers/alsa-utils/BUILD b/audio-drivers/alsa-utils/BUILD
new file mode 100755
index 0000000000..1ce3003e2f
--- /dev/null
+++ b/audio-drivers/alsa-utils/BUILD
@@ -0,0 +1,11 @@
+if [[ $ALSA_UTILS_GIT == y ]]; then
+ OPTS="--prefix=${INSTALL_ROOT}/usr \
+ --sysconfdir=${INSTALL_ROOT}/etc \
+ --localstatedir=${INSTALL_ROOT}/var \
+ --mandir=${INSTALL_ROOT}/usr/share/man \
+ --infodir=${INSTALL_ROOT}/usr/share/info \
+ $OPTS" &&
+ ./gitcompile $OPTS
+else
+ default_build
+fi
diff --git a/audio-drivers/alsa-utils/DEPENDS b/audio-drivers/alsa-utils/DEPENDS
index 642ca10014..de68a76f6e 100755
--- a/audio-drivers/alsa-utils/DEPENDS
+++ b/audio-drivers/alsa-utils/DEPENDS
@@ -1,4 +1,11 @@
depends coreutils &&
depends alsa-lib &&
+if [[ $ALSA_UTILS_GIT == y ]]; then
+ depends git &&
+ depends libtool &&
+ depends automake &&
+ depends autoconf
+fi &&
+
runtime_depends which
diff --git a/audio-drivers/alsa-utils/DETAILS b/audio-drivers/alsa-utils/DETAILS
index 6785b8faac..f3df2ffeda 100755
--- a/audio-drivers/alsa-utils/DETAILS
+++ b/audio-drivers/alsa-utils/DETAILS
@@ -8,13 +8,13 @@ if [[ $ALSA_UTILS_GIT == y ]]; then
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://git.alsa-project.org/alsa-utils.git:alsa-utils-git
SOURCE_IGNORE=volatile
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-git
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-git"
FORCE_DOWNLOAD=1
else
- VERSION=1.0.17rc1
- SOURCE_HASH=sha512:3283cf0b9227102a64b04b16badbc85fff985e6bde9d7b3f1527f70b8a1184a9b399c77e267bb93fff8b8cdd3345961725d1560e2bee5a9b9f04d69972803a01
+ VERSION=1.0.17rc2
+ SOURCE_HASH=sha512:53256977e83fb798be43be90e1ce60f45331b78e67f1dbbad566036d4144baa99e7bd4dbeb879c0016f859862a399324c37c354dba83c0b7e8af5583c9b22f49
SOURCE=$SPELL-$VERSION.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URL[0]=ftp://ftp.alsa-project.org/pub/utils/$SOURCE
fi
WEB_SITE=http://www.alsa-project.org/
diff --git a/audio-drivers/alsa-utils/FINAL b/audio-drivers/alsa-utils/FINAL
index 1ce37bbc26..4a8483540c 100755
--- a/audio-drivers/alsa-utils/FINAL
+++ b/audio-drivers/alsa-utils/FINAL
@@ -1,9 +1,6 @@
-if [ ! -f /etc/asound.state ]; then
-
+if [[ ! -f /etc/asound.state ]]; then
alsactl store
- echo "Mixer setting saved."
- echo "You can save the default ALSA mixer levels"
- echo "at anytime as root by running"
- echo "# alsactl store"
-
+ message "${MESSAGE_COLOR}Mixer setting saved."
+ message "You can save the default mixer levels at anytime as root by running:"
+ message "# alsactl store${DEFAULT_COLOR}"
fi
diff --git a/audio-drivers/alsa-utils/HISTORY b/audio-drivers/alsa-utils/HISTORY
index 79e3181b4b..cbf582e8ba 100644
--- a/audio-drivers/alsa-utils/HISTORY
+++ b/audio-drivers/alsa-utils/HISTORY
@@ -1,3 +1,9 @@
+2008-07-14 Vlad Glagolev <stealth@sourcemage.org>
+ * DETAILS: updated spell to 1.0.17rc2, quoting paths!
+ * BUILD, DEPENDS: fixed git build
+ * FINAL: message ftw
+ * PRE_BUILD: quoting paths!
+
2008-06-09 Pol Vinogradov <vin.public@gmail.com>
* DETAILS: updated to 1.0.17rc1, added direct scm branch
* PREPARE: added for git branch query
@@ -161,4 +167,3 @@
2002-06-12 Unet <unet@sourcemage.org>
* Created this.
-
diff --git a/audio-drivers/alsa-utils/PRE_BUILD b/audio-drivers/alsa-utils/PRE_BUILD
index 8ddcaabc83..8987a5bce3 100755
--- a/audio-drivers/alsa-utils/PRE_BUILD
+++ b/audio-drivers/alsa-utils/PRE_BUILD
@@ -1,3 +1,3 @@
default_pre_build &&
-cd $SOURCE_DIRECTORY &&
+cd "$SOURCE_DIRECTORY" &&
patch -p0 < $SPELL_DIRECTORY/speaker-test.patch