smlinux/extra/ffmpeg/ffmpeg.SMBuild
PktSurf cf2373b499 Updated extra/ffmpeg to 4.4.4
Updated extra/imagemagick to 7.1.1
Updated extra/libass to 0.17.1
Updated extra/mpv to 0.35.1
Updated extra/rxvt-unicode to 9.31
Updated extra/xscreensaver to 6.06
2023-06-12 22:11:41 +05:30

66 lines
1.6 KiB
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=ffmpeg
version=4.4.4
build=1sml
homepage="https://ffmpeg.org/"
download="https://ffmpeg.org/releases/ffmpeg-$version.tar.xz"
desc="Software to record, convert and stream audio and video"
requires="libass libdrm freetype fribidi libmodplug opus lame mpg123 soxr libtheora libvorbis libvpx libxml2 libwebp libwavpack sdl2 twolame librsvg libcdio openjpeg"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/ \
--bindir=/bin \
--incdir=/include \
--libdir=/lib \
--docdir="/share/doc/$app-$version" \
--datadir="/share/doc/$app-$version" \
--mandir=/share/man \
--enable-shared \
--disable-static \
--disable-debug \
--disable-htmlpages \
--disable-txtpages \
--enable-gpl \
--enable-version3 \
--enable-shared \
--enable-libx264 \
--enable-libass \
--enable-libdrm \
--enable-libfreetype \
--enable-libfribidi \
--enable-libmodplug \
--enable-libmp3lame \
--enable-libopus \
--enable-libsoxr \
--enable-libtheora \
--enable-libvorbis \
--enable-libvpx \
--enable-libwebp \
--enable-libxml2 \
--enable-sdl2 \
--enable-libtwolame \
--enable-librsvg \
--enable-libopenjpeg \
--enable-libcdio
make
make install DESTDIR=$pkg
cp LICENSE.md COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
9a039c8524d4051cbe661974b6f52be472dd0b8a72464b8d4f7f555413682112c0329154a9fa33533df1f1b4b4f55f2b75fecd3ab69df86fcbe53ac7d13f77f2 ffmpeg-4.4.4.tar.lz
"