diff options
author | 2007-06-27 14:07:46 +0000 | |
---|---|---|
committer | 2007-06-27 14:07:46 +0000 | |
commit | 3fa40f6228963320e9b5c0babbe20b25574f0e18 (patch) | |
tree | 06e0b6dcf339d853c707c7250bf153609ee38d34 /media-video/ffmpegthumbnailer/files | |
parent | Stable on ppc; bug #183371. (diff) | |
download | historical-3fa40f6228963320e9b5c0babbe20b25574f0e18.tar.gz historical-3fa40f6228963320e9b5c0babbe20b25574f0e18.tar.bz2 historical-3fa40f6228963320e9b5c0babbe20b25574f0e18.zip |
Patch to allow building with old and new ffmpeg still supporting asneeded, using autotools and pkgconfig.
Package-Manager: portage-2.1.3_rc5
Diffstat (limited to 'media-video/ffmpegthumbnailer/files')
4 files changed, 31 insertions, 41 deletions
diff --git a/media-video/ffmpegthumbnailer/files/digest-ffmpegthumbnailer-1.1.1-r1 b/media-video/ffmpegthumbnailer/files/digest-ffmpegthumbnailer-1.1.1-r1 deleted file mode 100644 index 23e8eba30ccd..000000000000 --- a/media-video/ffmpegthumbnailer/files/digest-ffmpegthumbnailer-1.1.1-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d1758d11def56f3d7367947f87606c27 ffmpegthumbnailer-1.1.1.tar.gz 80116 -RMD160 9793f0126a49321a23adfcaa35c7dc70e85e3c17 ffmpegthumbnailer-1.1.1.tar.gz 80116 -SHA256 80b35f18b07d1409f8d860b36398ae6d11f929b6068ced2439ca53118d36e13e ffmpegthumbnailer-1.1.1.tar.gz 80116 diff --git a/media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-1.1.1-ffmpeg.patch b/media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-1.1.1-ffmpeg.patch deleted file mode 100644 index f92a896b04e5..000000000000 --- a/media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-1.1.1-ffmpeg.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -ur ffmpegthumbnailer-1.1.1.orig/src/moviedecoder.cpp ffmpegthumbnailer-1.1.1/src/moviedecoder.cpp ---- ffmpegthumbnailer-1.1.1.orig/src/moviedecoder.cpp 2007-05-07 21:05:11.000000000 +0300 -+++ ffmpegthumbnailer-1.1.1/src/moviedecoder.cpp 2007-06-01 22:47:21.000000000 +0300 -@@ -3,7 +3,10 @@ - - #include <assert.h> - #include <iostream> -+ -+extern "C" { - #include <ffmpeg/swscale.h> -+} - - using namespace std; - -diff -ur ffmpegthumbnailer-1.1.1.orig/src/moviedecoder.h ffmpegthumbnailer-1.1.1/src/moviedecoder.h ---- ffmpegthumbnailer-1.1.1.orig/src/moviedecoder.h 2007-05-07 20:49:26.000000000 +0300 -+++ ffmpegthumbnailer-1.1.1/src/moviedecoder.h 2007-06-01 22:41:01.000000000 +0300 -@@ -7,8 +7,11 @@ -
- #include <string> - #include <vector>
-+ -+extern "C" { - #include <ffmpeg/avcodec.h>
- #include <ffmpeg/avformat.h> -+} - - typedef unsigned char byte;
-
diff --git a/media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-1.1.2-ffmpeg.patch b/media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-1.1.2-ffmpeg.patch new file mode 100644 index 000000000000..2e825bf07a8c --- /dev/null +++ b/media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-1.1.2-ffmpeg.patch @@ -0,0 +1,31 @@ +diff -ur ffmpegthumbnailer-1.1.2.orig/configure.ac ffmpegthumbnailer-1.1.2/configure.ac +--- ffmpegthumbnailer-1.1.2.orig/configure.ac 2007-06-01 23:49:10.000000000 +0300 ++++ ffmpegthumbnailer-1.1.2/configure.ac 2007-06-27 16:49:30.000000000 +0300 +@@ -6,8 +6,14 @@ + AC_PROG_CXX + AC_PROG_INSTALL + +-AC_CONFIG_FILES([ +- Makefile +- src/Makefile ++PKG_CHECK_MODULES(FFMPEG, libavutil libavformat libavcodec libswscale, HAVE_FFMPEG=yes, AC_MSG_ERROR([ ++Could not find ffmpeg. Please update PKG_CONFIG_PATH to point at ffmpeg include directory. ++]) ++) ++ ++AC_SUBST(FFMPEG_LIBS) ++ ++AC_OUTPUT([ ++ Makefile ++ src/Makefile + ]) +-AC_OUTPUT +diff -ur ffmpegthumbnailer-1.1.2.orig/src/Makefile.am ffmpegthumbnailer-1.1.2/src/Makefile.am +--- ffmpegthumbnailer-1.1.2.orig/src/Makefile.am 2007-06-01 23:47:05.000000000 +0300 ++++ ffmpegthumbnailer-1.1.2/src/Makefile.am 2007-06-27 16:02:56.000000000 +0300 +@@ -7,4 +7,4 @@ + pngwriter.h pngwriter.cpp \ + stringoperations.h stringoperations.cpp + +-ffmpegthumbnailer_LDADD = -lavutil -lavcodec -lavformat -lpng ++ffmpegthumbnailer_LDADD = @FFMPEG_LIBS@ -lpng diff --git a/media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-1.1.2-swscale.patch b/media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-1.1.2-swscale.patch deleted file mode 100644 index a0a4c412cd37..000000000000 --- a/media-video/ffmpegthumbnailer/files/ffmpegthumbnailer-1.1.2-swscale.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -ur ffmpegthumbnailer-1.1.2.orig/src/Makefile.am ffmpegthumbnailer-1.1.2/src/Makefile.am ---- ffmpegthumbnailer-1.1.2.orig/src/Makefile.am 2007-06-01 23:47:05.000000000 +0300 -+++ ffmpegthumbnailer-1.1.2/src/Makefile.am 2007-06-27 14:26:54.000000000 +0300 -@@ -7,4 +7,4 @@ - pngwriter.h pngwriter.cpp \ - stringoperations.h stringoperations.cpp - --ffmpegthumbnailer_LDADD = -lavutil -lavcodec -lavformat -lpng -+ffmpegthumbnailer_LDADD = -lavutil -lavcodec -lavformat -lswscale -lpng |