aboutsummaryrefslogtreecommitdiffstats
path: root/main/alsa-utils
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-01-25 20:35:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-25 20:45:05 +0000
commitc5a18b0a6ec0e8e23f9d1974a8d80959459d278d (patch)
tree8a5fa53483752c0ab2edce288edab6c23cda5220 /main/alsa-utils
parentfad554eef30068b0fbec513aa92fa55f499ace55 (diff)
downloadaports-c5a18b0a6ec0e8e23f9d1974a8d80959459d278d.tar.bz2
aports-c5a18b0a6ec0e8e23f9d1974a8d80959459d278d.tar.xz
main/alsa-utils: upgrade to 1.0.25
Diffstat (limited to 'main/alsa-utils')
-rw-r--r--main/alsa-utils/APKBUILD6
-rw-r--r--main/alsa-utils/uclibc-exp10.patch25
2 files changed, 3 insertions, 28 deletions
diff --git a/main/alsa-utils/APKBUILD b/main/alsa-utils/APKBUILD
index 0869137a47..8ef27f2a3c 100644
--- a/main/alsa-utils/APKBUILD
+++ b/main/alsa-utils/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alsa-utils
-pkgver=1.0.24.2
-pkgrel=1
+pkgver=1.0.25
+pkgrel=0
pkgdesc="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
url="http://www.alsa-project.org"
arch="all"
@@ -52,7 +52,7 @@ alsaconf() {
install -D -m755 alsaconf/alsaconf "$subpkgdir"/usr/bin/alsaconf
}
-md5sums="8238cd57cb301d1c36bcf0ecb59ce6b2 alsa-utils-1.0.24.2.tar.bz2
+md5sums="f81f9dcb9a014fd32cb3a70066a5b9a9 alsa-utils-1.0.25.tar.bz2
5e65f278b5a77e3ee2821ad955c4cd91 alsaconf.patch
58c30caa1c47de084e70ca353698e976 uclibc-exp10.patch
b1b7eca57f5ddf64db5527193d62f268 alsa.initd
diff --git a/main/alsa-utils/uclibc-exp10.patch b/main/alsa-utils/uclibc-exp10.patch
deleted file mode 100644
index e021374a25..0000000000
--- a/main/alsa-utils/uclibc-exp10.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/alsamixer/volume_mapping.c b/alsamixer/volume_mapping.c
-index 9cacad8..f08f003 100644
---- a/alsamixer/volume_mapping.c
-+++ b/alsamixer/volume_mapping.c
-@@ -109,9 +109,9 @@ static double get_normalized_volume(snd_mixer_elem_t *elem,
- if (use_linear_dB_scale(min, max))
- return (value - min) / (double)(max - min);
-
-- normalized = exp10((value - max) / 6000.0);
-+ normalized = exp(M_LN10 * (value - max) / 6000.0);
- if (min != SND_CTL_TLV_DB_GAIN_MUTE) {
-- min_norm = exp10((min - max) / 6000.0);
-+ min_norm = exp(M_LN10 * (min - max) / 6000.0);
- normalized = (normalized - min_norm) / (1 - min_norm);
- }
-
-@@ -144,7 +144,7 @@ static int set_normalized_volume(snd_mixer_elem_t *elem,
- }
-
- if (min != SND_CTL_TLV_DB_GAIN_MUTE) {
-- min_norm = exp10((min - max) / 6000.0);
-+ min_norm = exp(M_LN10 * (min - max) / 6000.0);
- volume = volume * (1 - min_norm) + min_norm;
- }
- value = lrint_dir(6000.0 * log10(volume), dir) + max;