diff options
-rw-r--r-- | user/alsa-lib/APKBUILD | 17 | ||||
-rw-r--r-- | user/alsa-lib/remove-test.patch | 12 |
2 files changed, 14 insertions, 15 deletions
diff --git a/user/alsa-lib/APKBUILD b/user/alsa-lib/APKBUILD index 81df9e2af..4f854e443 100644 --- a/user/alsa-lib/APKBUILD +++ b/user/alsa-lib/APKBUILD @@ -1,23 +1,19 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=alsa-lib -pkgver=1.2.1 +pkgver=1.2.1.2 pkgrel=0 pkgdesc="Linux sound support system" url="https://www.alsa-project.org/wiki/Main_Page" arch="all" license="LGPL-2.0+" -subpackages="$pkgname-dev $pkgname-dbg" +depends="" makedepends="linux-headers" +subpackages="$pkgname-dev $pkgname-dbg" source="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$pkgver.tar.bz2 ucm_add_limits_h.patch remove-test.patch " -prepare() { - rm src/compat/hsearch_r.c && touch src/compat/hsearch_r.c - default_prepare -} - build() { ./configure \ --build=$CBUILD \ @@ -31,6 +27,9 @@ build() { --enable-aload \ --disable-dependency-tracking \ --without-versioned + rm -rf "$builddir"/include/sound + mkdir "$builddir"/include/sound + printf "all:\ncheck:\ninstall:\n" > "$builddir"/include/sound/Makefile make } @@ -42,6 +41,6 @@ package() { make -j1 DESTDIR="$pkgdir" install } -sha512sums="a5bd60ed0cfca3911db534364554412c479d2cb6ded6c8e7011d2510797a6cbd10613d6e1d42cb589afec8e7408c8fd5465360ddd14df8701af7dc414961c19e alsa-lib-1.2.1.tar.bz2 +sha512sums="e8286fd55f63ee0d95513279d0885c287533de89b7af6c338413dec5d38ba4f5a15da1a4a4ce36e052614e4b730e3778782dab9979d82958283be17b48604913 alsa-lib-1.2.1.2.tar.bz2 3b37652d50809443b5f8e80f8d447108195b0cd66fd917805bb393fc091584b6f3dad4414f568742b61745617e7a695862058a0a0f93dcc31e4c97177a520352 ucm_add_limits_h.patch -388443e7d9c90339b273a40205c5cbb14033ec16d357b52b0eaeb97e2f074fab100439f8cb2972011ac1580712448a4861ab2dec26653b55badf1caaaf207a59 remove-test.patch" +0ce3c2b8a0a70e2dffb6d633b95c4aae74504cd694fe1507cbc409d931b5f733935b22de45e4adcf5a507587c9f80c60a6f0e798aac2ca2fbf0cbcdef0080079 remove-test.patch" diff --git a/user/alsa-lib/remove-test.patch b/user/alsa-lib/remove-test.patch index ba0d78498..92059b0f2 100644 --- a/user/alsa-lib/remove-test.patch +++ b/user/alsa-lib/remove-test.patch @@ -19,7 +19,7 @@ client_event_filter_LDADD=../src/libasound.la --- alsa-lib-1.1.4.1/test/Makefile.in.old 2017-06-01 01:28:25.000000000 -0500 +++ alsa-lib-1.1.4.1/test/Makefile.in 2017-09-27 00:58:29.668332253 -0500 -@@ -52,7 +52,7 @@ +@@ -90,7 +90,7 @@ check_PROGRAMS = control$(EXEEXT) pcm$(EXEEXT) pcm_min$(EXEEXT) \ latency$(EXEEXT) seq$(EXEEXT) playmidi1$(EXEEXT) \ timer$(EXEEXT) rawmidi$(EXEEXT) midiloop$(EXEEXT) \ @@ -28,7 +28,7 @@ client_event_filter$(EXEEXT) chmap$(EXEEXT) \ audio_time$(EXEEXT) user-ctl-element-set$(EXEEXT) \ pcm-multi-thread$(EXEEXT) -@@ -96,9 +96,6 @@ +@@ -136,9 +136,6 @@ namehint_SOURCES = namehint.c namehint_OBJECTS = namehint.$(OBJEXT) namehint_DEPENDENCIES = ../src/libasound.la @@ -38,7 +38,7 @@ pcm_SOURCES = pcm.c pcm_OBJECTS = pcm.$(OBJEXT) pcm_DEPENDENCIES = ../src/libasound.la -@@ -173,11 +170,11 @@ +@@ -223,11 +219,11 @@ am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = audio_time.c chmap.c client_event_filter.c control.c \ @@ -52,7 +52,7 @@ pcm-multi-thread.c pcm_min.c playmidi1.c queue_timer.c \ rawmidi.c seq.c timer.c user-ctl-element-set.c RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ -@@ -366,7 +363,6 @@ +@@ -439,7 +436,6 @@ timer_LDADD = ../src/libasound.la rawmidi_LDADD = ../src/libasound.la midiloop_LDADD = ../src/libasound.la @@ -60,7 +60,7 @@ queue_timer_LDADD = ../src/libasound.la namehint_LDADD = ../src/libasound.la client_event_filter_LDADD = ../src/libasound.la -@@ -444,9 +440,6 @@ +@@ -524,9 +520,6 @@ @rm -f namehint$(EXEEXT) $(AM_V_CCLD)$(LINK) $(namehint_OBJECTS) $(namehint_LDADD) $(LIBS) @@ -70,7 +70,7 @@ pcm$(EXEEXT): $(pcm_OBJECTS) $(pcm_DEPENDENCIES) $(EXTRA_pcm_DEPENDENCIES) @rm -f pcm$(EXEEXT) -@@ -488,7 +481,6 @@ +@@ -577,7 +570,6 @@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/latency.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/midiloop.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/namehint.Po@am__quote@ # am--include-marker |