summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSudokamikaze2017-01-04 06:40:37 +0200
committerSudokamikaze2017-01-04 06:40:37 +0200
commite5c754c94fd6d6297a6db90557633fb187a061ff (patch)
treeb8aaf77ba30a1d147344e0ab02333832d289eb9e
parent347d7f3cf4bf2796006acd9d14fd5a51961e86aa (diff)
downloadaur-e5c754c94fd6d6297a6db90557633fb187a061ff.tar.gz
Use the same .bin file
-rw-r--r--0003-use-alsaequal_bin.patch22
-rw-r--r--PKGBUILD7
2 files changed, 27 insertions, 2 deletions
diff --git a/0003-use-alsaequal_bin.patch b/0003-use-alsaequal_bin.patch
new file mode 100644
index 00000000000..9fb093e8033
--- /dev/null
+++ b/0003-use-alsaequal_bin.patch
@@ -0,0 +1,22 @@
+--- src/alsaequal/ctl_equal.c 2017-01-04 06:39:11.226886825 +0200
++++ src/ctl_equal.c 2017-01-04 06:39:36.926887606 +0200
+@@ -165,7 +165,7 @@
+ failure */
+ snd_config_iterator_t it, next;
+ snd_ctl_equal_t *equal;
+- const char *controls = ".alsaequal.bin32";
++ const char *controls = ".alsaequal.bin";
+ const char *library = "/usr/lib32/ladspa/caps.so";
+ const char *module = "Eq10";
+ long channels = 2;
+--- src/alsaequal/pcm_equal.c 2017-01-04 06:18:47.750183011 +0200
++++ src/pcm_equal.c 2017-01-04 06:20:45.003519904 +0200
+@@ -149,7 +149,7 @@
+ snd_config_iterator_t i, next;
+ snd_pcm_equal_t *equal;
+ snd_config_t *sconf = NULL;
+- const char *controls = ".alsaequal.bin32";
++ const char *controls = ".alsaequal.bin";
+ const char *library = "/usr/lib32/ladspa/caps.so";
+ const char *module = "Eq10";
+ long channels = 2;
diff --git a/PKGBUILD b/PKGBUILD
index 4ed56703f17..7e2e9958603 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,7 +19,8 @@ source=("https://launchpad.net/ubuntu/+archive/primary/+files/alsaequal_${pkgver
'0002-fix-lib32-makefile.patch'
'lib32-alsaequal_caps_9.x.patch'
'alsaequal-asneeded.patch'
- 'ladspa_multilib.patch')
+ 'ladspa_multilib.patch'
+ '0003-use-alsaequal_bin.patch')
sha256sums=('916e7d152added24617efc350142438a46099efe062bd8781d36dbf10b4e6ff0'
'c1a02bfed6be6385e8ab4ebe7c9c3844e9c0937fbafe0f8d948842c2b7c9f7f0'
@@ -28,7 +29,8 @@ sha256sums=('916e7d152added24617efc350142438a46099efe062bd8781d36dbf10b4e6ff0'
'53a067babe50333138c39549db937aa0746aad39f849f70a5196fa05d2d18867'
'd8d12c72176e1f7aba9443007f72a7ab7bb8f8d677757db24630dc593eaf978c'
'24718bedfa184b9a59127020f09105cc831b5f188be4b05f21b530bf13155a52'
- '3c420dabd2aac2e80c04de10686c4bd50c2ffdd46f7b81c030f27ca9be53ada0')
+ '3c420dabd2aac2e80c04de10686c4bd50c2ffdd46f7b81c030f27ca9be53ada0'
+ 'f6ce1cc258aeac4f4f60e21556463d2c2458c559ed0c08dc0823e0971737af5e')
prepare() {
@@ -40,6 +42,7 @@ prepare() {
patch -Np0 -i ../lib32-alsaequal_caps_9.x.patch
patch -Np0 -i ../alsaequal-asneeded.patch
patch -Np1 -i ../ladspa_multilib.patch
+ patch -Np1 -i ../0003-use-alsaequal_bin.patch
make clean
}