Compare commits
4 Commits
e7d644b874
...
8e00b3d110
| Author | SHA1 | Date |
|---|---|---|
|
|
8e00b3d110 | |
|
|
6fbf1469aa | |
|
|
280d3fd919 | |
|
|
40ce95b87f |
|
|
@ -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[@]}"
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __ASSERT_H
|
#ifndef _ASSERT_H
|
||||||
#define _ASSERT_H 1
|
#define _ASSERT_H 1
|
||||||
|
|
||||||
// https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/assert.h.html
|
// https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/assert.h.html
|
||||||
|
|
@ -11,6 +11,10 @@
|
||||||
#define assert(expr) ((expr) ? (void)0 : __assert_fail(#expr, __FILE__, __LINE__, __func__))
|
#define assert(expr) ((expr) ? (void)0 : __assert_fail(#expr, __FILE__, __LINE__, __func__))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(__cplusplus) && __STDC_VERSION__ >= 201112L && __STDC_VERSION__ < 202311L
|
||||||
|
#define static_assert _Static_assert
|
||||||
|
#endif
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
__attribute__((noreturn))
|
__attribute__((noreturn))
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
#define TCP_NODELAY 1
|
#define TCP_NODELAY 1
|
||||||
|
#define TCP_MAXSEG 2
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue