commit 85466ea
chld
·
2026-08-22 18:27:03 +0000 UTC
parent 55526b2
ffmpeg: import from ports-cholodu4
3 files changed,
+64,
-0
+16,
-0
1@@ -0,0 +1,16 @@
2+/alsa-lib
3+/sndio
4+/lame
5+/libvorbis
6+/libdrm
7+/x264
8+/x265
9+/opus
10+/xvidcore
11+/libogg
12+/libvorbis
13+/libvpx
14+/libwebp
15+/libdav1d
16+.nasm
17+/libtls-bearssl
+6,
-0
1@@ -0,0 +1,6 @@
2+name: ffmpeg
3+description: suite of libraries and programs for handling video, audio, and other multimedia files and streams.
4+license: LGPLV2
5+upstream: https://git.ffmpeg.org/ffmpeg.git
6+version: 6.1.4
7+maintainer:
+42,
-0
1@@ -0,0 +1,42 @@
2+#!/bin/sh -ue
3+NAME=ffmpeg
4+VERSION=git:n6.1.4
5+RELEASE=1
6+SOURCE="https://git.ffmpeg.org/ffmpeg.git"
7+
8+build() {
9+ ./configure \
10+ --pkg-config-flags=--static \
11+ --extra-cflags="-I$PREFIX/include" \
12+ --extra-ldflags="-L$PREFIX/lib -static" \
13+ --extra-libs="-lpthread -lm" \
14+ --extra-ldexeflags=-static \
15+ --host-ldflags=-static \
16+ --disable-debug \
17+ --disable-libxml2 \
18+ --enable-static \
19+ --enable-gpl \
20+ --disable-libvorbis \
21+ --enable-libdrm \
22+ --enable-libmp3lame \
23+ --enable-libopus \
24+ --disable-libvpx \
25+ --enable-libwebp \
26+ --enable-ffmpeg \
27+ --enable-libx264 \
28+ --enable-libx265 \
29+ --enable-libxvid \
30+ --enable-libdav1d \
31+ --enable-nonfree \
32+ --enable-version3 \
33+ --disable-doc \
34+ --disable-htmlpages \
35+ --enable-manpages \
36+ --disable-podpages \
37+ --disable-txtpages \
38+ --enable-libtls
39+ gmake PREFIX="$PREFIX" -j"$NPROC"
40+ gmake PREFIX="$PREFIX" DESTDIR="$PKG" install
41+}
42+
43+. ${0%/*}/../../libsh/libdmake.sh