mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
Updated ffmpeg to r23081
This commit is contained in:
18
media-video/ffmpeg/ffmpeg-23081.bep
Normal file
18
media-video/ffmpeg/ffmpeg-23081.bep
Normal file
@@ -0,0 +1,18 @@
|
||||
DESCRIPTION="FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library."
|
||||
HOMEPAGE="http://www.ffmpeg.org"
|
||||
SRC_URI="svn+svn://svn.ffmpeg.org/ffmpeg/trunk#23081"
|
||||
#CHECKSUM_MD5=""
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd ffmpeg-23081
|
||||
chmod 777 configure
|
||||
./configure --prefix=/boot/common --disable-debug --disable-mmx --enable-shared
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd ffmpeg-23081
|
||||
make install
|
||||
}
|
||||
29
media-video/ffmpeg/patches/ffmpeg-23081.patch
Normal file
29
media-video/ffmpeg/patches/ffmpeg-23081.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
diff -urN ffmpeg-23081/configure ffmpeg-23081-haiku/configure
|
||||
--- ffmpeg-23081/configure 2010-05-10 22:20:12.867958784 +0000
|
||||
+++ ffmpeg-23081-haiku/configure 2010-05-10 22:26:05.354680832 +0000
|
||||
@@ -2121,7 +2121,7 @@
|
||||
|
||||
# OS specific
|
||||
case $target_os in
|
||||
- beos|haiku|zeta)
|
||||
+ beos|zeta)
|
||||
prefix_default="$HOME/config"
|
||||
# 3 gcc releases known for BeOS, each with ugly bugs
|
||||
gcc_version="$($cc -v 2>&1 | grep version | cut -d ' ' -f3-)"
|
||||
@@ -2145,6 +2145,16 @@
|
||||
enable beos_netserver
|
||||
network_extralibs="-lnet"
|
||||
fi ;;
|
||||
+ haiku)
|
||||
+ prefix_default="/boot/common"
|
||||
+ add_cflags "-DPIC -fomit-frame-pointer"
|
||||
+ beosthreads="yes"
|
||||
+ extralibs=""
|
||||
+ audio_oss="no"
|
||||
+ video4linux="no"
|
||||
+ video4linux2="no"
|
||||
+ network_extralibs="-lnetwork"
|
||||
+ ;;
|
||||
sunos)
|
||||
FFSERVERLDFLAGS=""
|
||||
SHFLAGS='-shared -Wl,-h,$$(@F)'
|
||||
Reference in New Issue
Block a user