summaryrefslogtreecommitdiff
path: root/package/ffmpeg
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-13 14:56:04 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-13 14:56:04 +0200
commit6d7a7f4776711758cf5b59028378f01cd8eba493 (patch)
tree67cc0ff4f56a0d7e1deff1d0a39867d486c86a9b /package/ffmpeg
parent18b38b0eb68cbcb8793efe989dcd8796a60288af (diff)
FreeBSD compatibility patches
- update ipset and libpri to latest upstream
Diffstat (limited to 'package/ffmpeg')
-rw-r--r--package/ffmpeg/Makefile3
-rw-r--r--package/ffmpeg/patches/patch-configure54
2 files changed, 56 insertions, 1 deletions
diff --git a/package/ffmpeg/Makefile b/package/ffmpeg/Makefile
index 267fd6b10..1f920ec4a 100644
--- a/package/ffmpeg/Makefile
+++ b/package/ffmpeg/Makefile
@@ -7,7 +7,7 @@ PKG_NAME:= ffmpeg
PKG_VERSION:= 0.5
PKG_RELEASE:= 2
PKG_MD5SUM:= be8503f15c3b81ba00eb8379ca8dcf33
-PKG_DESCR:= cross-platform solution to record, convert and stream audio and video
+PKG_DESCR:= solution to record, convert and stream audio and video
PKG_SECTION:= sound
PKG_URL:= http://www.ffmpeg.org
PKG_SITES:= http://www.ffmpeg.org/releases/
@@ -31,6 +31,7 @@ do-configure:
--prefix=/usr \
--arch=${CPU_ARCH} \
--enable-cross-compile \
+ --source-path=${WRKSRC} \
--cross-prefix=${TARGET_CROSS} \
--cc=$(TARGET_CC) \
--host-cc=$(HOSTCC) \
diff --git a/package/ffmpeg/patches/patch-configure b/package/ffmpeg/patches/patch-configure
new file mode 100644
index 000000000..d23a61e52
--- /dev/null
+++ b/package/ffmpeg/patches/patch-configure
@@ -0,0 +1,54 @@
+--- ffmpeg-0.5.orig/configure 2009-03-01 18:57:14.000000000 +0100
++++ ffmpeg-0.5/configure 2009-06-12 23:27:05.000000000 +0200
+@@ -2486,51 +2486,6 @@ cmp -s $TMPH config.h &&
+
+ rm -f $TMPC $TMPE $TMPH $TMPO $TMPS $TMPSH
+
+-# build tree in object directory if source path is different from current one
+-if enabled source_path_used; then
+- DIRS="\
+- doc \
+- libavcodec \
+- libavcodec/alpha \
+- libavcodec/arm \
+- libavcodec/bfin \
+- libavcodec/mlib \
+- libavcodec/ppc \
+- libavcodec/sh4 \
+- libavcodec/sparc \
+- libavcodec/x86 \
+- libavdevice \
+- libavfilter \
+- libavformat \
+- libavutil \
+- libpostproc \
+- libswscale \
+- tests \
+- tools \
+- vhook \
+- "
+- FILES="\
+- Makefile \
+- common.mak \
+- subdir.mak \
+- doc/texi2pod.pl \
+- libavcodec/Makefile \
+- libavdevice/Makefile \
+- libavfilter/Makefile \
+- libavformat/Makefile \
+- libavutil/Makefile \
+- libpostproc/Makefile \
+- libswscale/Makefile \
+- "
+- for dir in $DIRS ; do
+- mkdir -p $dir
+- done
+- for f in $FILES ; do
+- $ln_s "$source_path/$f" $f
+- done
+-fi
+-
+-
+ # build pkg-config files
+
+ pkgconfig_generate(){