From a29bc57bf82d32cf4a8e973799d3480dc7d3a472 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 11 Mar 2019 19:02:02 +0000 Subject: user/libtheora: fix parallel build, modernise --- user/libtheora/APKBUILD | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'user') diff --git a/user/libtheora/APKBUILD b/user/libtheora/APKBUILD index a1e1e1948..2dd25afa7 100644 --- a/user/libtheora/APKBUILD +++ b/user/libtheora/APKBUILD @@ -20,7 +20,6 @@ source="http://downloads.xiph.org/releases/theora/$pkgname-$pkgver.tar.bz2 prepare() { default_prepare - cd "$builddir" sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c @@ -31,26 +30,23 @@ prepare() { } build() { - cd "$builddir" - CFLAGS="${CFLAGS/-Os/-O3}" CPPFLAGS="${CPPFLAGS/-Os/-O3}" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --enable-shared \ --enable-static + # workaround parallel build issue + make -C lib libtheoradec.la make -C lib make } check() { - cd "$builddir" make check } package() { - cd "$builddir" - make -j1 DESTDIR="$pkgdir" install install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname -- cgit v1.2.3-70-g09d2