ports: Add ffmpeg port
This allows basic video and audio playback on banan-os!
This commit is contained in:
parent
6fbf1469aa
commit
8e00b3d110
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash ../install.sh
|
||||
|
||||
NAME='ffmpeg'
|
||||
VERSION='8.0.1'
|
||||
DOWNLOAD_URL="https://ffmpeg.org/releases/ffmpeg-$VERSION.tar.xz#05ee0b03119b45c0bdb4df654b96802e909e0a752f72e4fe3794f487229e5a41"
|
||||
DEPENDENCIES=('SDL2')
|
||||
CONFIGURE_OPTIONS=(
|
||||
'--prefix=/usr'
|
||||
'--target-os=none'
|
||||
"--arch=$BANAN_ARCH"
|
||||
"--cc=$CC"
|
||||
"--cxx=$CXX"
|
||||
'--enable-cross-compile'
|
||||
'--enable-shared'
|
||||
'--enable-gpl'
|
||||
)
|
||||
|
||||
configure() {
|
||||
./configure "${CONFIGURE_OPTIONS[@]}"
|
||||
}
|
||||
Loading…
Reference in New Issue