commit b209e27

chld  ·  2026-08-22 19:14:27 +0000 UTC
parent 797fbec
libvpx: configure.sh patch
7 files changed,  +57, -0
+12, -0
 1@@ -0,0 +1,12 @@
 2+--- build/make/configure.sh
 3++++ build/build/make/configure.sh
 4+@@ -732,9 +732,6 @@
 5+   prefix="${prefix%/}"
 6+   libdir="${libdir:-${prefix}/lib}"
 7+   libdir="${libdir%/}"
 8+-  if [ "${libdir#${prefix}}" = "${libdir}" ]; then
 9+-    die "Libdir ${libdir} must be a subdirectory of ${prefix}"
10+-  fi
11+ }
12+ 
13+ post_process_cmdline() {
+2, -0
1@@ -0,0 +1,2 @@
2+.nasm
3+.gmake
+6, -0
1@@ -0,0 +1,6 @@
2+name: libvpx
3+description: VP* video codec library
4+license: 3BSD
5+upstream: https://github.com/webmproject/libvpx/archive/v1.15.2.tar.gz
6+version: 1.15.2
7+maintainer:
+37, -0
 1@@ -0,0 +1,37 @@
 2+#!/bin/sh -ue
 3+NAME=libvpx
 4+VERSION=1.15.2
 5+RELEASE=1
 6+SOURCE="https://github.com/webmproject/libvpx/archive/v${VERSION}.tar.gz
 7+	configure-sh.patch"
 8+
 9+prebuild() {
10+	sed 's/perl/:/g;s/diff --version/command -v diff/g' configure > _
11+	mv -f _ configure
12+	chmod +x configure
13+}
14+
15+build() {
16+	./configure \
17+		--prefix="$PREFIX" \
18+		--disable-shared \
19+		--enable-static \
20+		--enable-vp8 \
21+		--enable-vp9 \
22+		--enable-experimental \
23+		--enable-runtime-cpu-detect \
24+		--disable-postproc \
25+		--enable-pic \
26+		--disable-tools \
27+		--disable-examples \
28+		--disable-docs \
29+		--disable-unit-tests \
30+		--disable-install-docs \
31+		--disable-install-srcs \
32+		--disable-install-bins \
33+		--as=nasm
34+	gmake -j"$NPROC"
35+	gmake DESTDIR="$PKG" install
36+}
37+
38+. ${0%/*}/../../libsh/libdmake.sh
R util/ffmpeg/deps => utils/ffmpeg/deps
+0, -0
R util/ffmpeg/info => utils/ffmpeg/info
+0, -0
R util/ffmpeg/ndmake.sh => utils/ffmpeg/ndmake.sh
+0, -0