mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
FFMPEG: enable dav1d (#5739)
This commit is contained in:
@@ -6,7 +6,7 @@ HOMEPAGE="https://ffmpeg.org/"
|
||||
COPYRIGHT="2000-2003 Fabrice Bellard
|
||||
2003-2019 the FFmpeg developers"
|
||||
LICENSE="GNU LGPL v3"
|
||||
REVISION="7"
|
||||
REVISION="8"
|
||||
SOURCE_URI="https://ffmpeg.org/releases/ffmpeg-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="cb754255ab0ee2ea5f66f8850e1bd6ad5cac1cd855d0a2f4990fb8c668b0d29c"
|
||||
PATCHES="ffmpeg-$portVersion.patchset"
|
||||
@@ -49,6 +49,7 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libmp3lame$secondaryArchSuffix
|
||||
lib:libogg$secondaryArchSuffix
|
||||
lib:libopus$secondaryArchSuffix
|
||||
@@ -62,6 +63,7 @@ REQUIRES="
|
||||
"
|
||||
if [ "$effectiveTargetArchitecture" != x86_gcc2 ]; then
|
||||
REQUIRES+="
|
||||
lib:libdav1d$secondaryArchSuffix
|
||||
lib:libopenmpt$secondaryArchSuffix
|
||||
lib:libvpx$secondaryArchSuffix
|
||||
"
|
||||
@@ -143,6 +145,7 @@ fi
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libmp3lame$secondaryArchSuffix
|
||||
devel:libogg$secondaryArchSuffix
|
||||
devel:libopus$secondaryArchSuffix
|
||||
@@ -155,6 +158,7 @@ BUILD_REQUIRES="
|
||||
"
|
||||
if [ "$effectiveTargetArchitecture" != x86_gcc2 ]; then
|
||||
BUILD_REQUIRES+="
|
||||
devel:libdav1d$secondaryArchSuffix
|
||||
devel:libopenmpt$secondaryArchSuffix
|
||||
devel:libvpx$secondaryArchSuffix
|
||||
"
|
||||
@@ -227,7 +231,7 @@ BUILD()
|
||||
export CFLAGS="-isystem$(pwd) -isystem$(pwd)/os -isystem$(pwd)/config"
|
||||
export LDFLAGS="$baseLDFLAGS $(pwd)/gcc_runtime.o"
|
||||
else
|
||||
extraArgs="--enable-libvpx --enable-libopenmpt"
|
||||
extraArgs="--enable-libdav1d --enable-libopenmpt --enable-libvpx"
|
||||
fi
|
||||
|
||||
# not an autotools configure
|
||||
|
||||
Reference in New Issue
Block a user