You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
1.2 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../avview/use-shared-ffmpeg.patch
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- avview-0.80.3/configure.orig 2004-11-22 01:59:15.900006000 +0100
+++ avview-0.80.3/configure 2004-11-22 02:06:43.829910304 +0100
@@ -7582,8 +7582,8 @@
#define USE_FFMPEG 1
_ACEOF
-FFMPEG_LIBS="$with_ffmpeg/libavformat/libavformat.a $with_ffmpeg/libavcodec/libavcodec.a"
-FFMPEG_CFLAGS="-I$with_ffmpeg/libavformat -I$with_ffmpeg/libavcodec"
+FFMPEG_LIBS="-L$with_ffmpeg/lib -lavformat -lavcodec"
+FFMPEG_CFLAGS="-I$with_ffmpeg/include/ffmpeg"
echo -n "checking ffmpeg version..."
CFLAGS="$CFLAGS $FFMPEG_CFLAGS"
#LDFLAGS="$LDFLAGS $FFMPEG_LIBS"