]> git.pld-linux.org Git - packages/ffmpeg.git/commitdiff
- fix .pc versioning
authorPaweł Sikora <pluto@pld-linux.org>
Sat, 31 Dec 2005 09:54:23 +0000 (09:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  (libavcodec.pc :Version: 49CVS-4901
   libavformat.pc:Version: 49CVS-4900
   libpostproc.pc:Version: 49CVS)

Changed files:
    ffmpeg-pkgconfig-version.patch -> 1.1

ffmpeg-pkgconfig-version.patch [new file with mode: 0644]

diff --git a/ffmpeg-pkgconfig-version.patch b/ffmpeg-pkgconfig-version.patch
new file mode 100644 (file)
index 0000000..f8ec42c
--- /dev/null
@@ -0,0 +1,24 @@
+--- FFMpeg-20050806/libavcodec/avcodec.h.orig  2005-08-01 22:07:03.000000000 +0200
++++ FFMpeg-20050806/libavcodec/avcodec.h       2005-12-31 10:40:05.280500500 +0100
+@@ -16,7 +16,7 @@
+ //FIXME the following 2 really dont belong in here
+ #define FFMPEG_VERSION_INT     0x000409
+-#define FFMPEG_VERSION         "CVS"
++#define FFMPEG_VERSION         "49CVS"
+ #define AV_STRINGIFY(s)       AV_TOSTRING(s)
+ #define AV_TOSTRING(s) #s
+--- FFMpeg-20050806/configure.orig     2005-12-31 09:31:31.000000000 +0100
++++ FFMpeg-20050806/configure  2005-12-31 10:40:54.511577250 +0100
+@@ -1691,8 +1691,8 @@
+ # build pkg-config files libavcodec.pc, libavformat.pc and libpostproc.pc 
+-lavc_build=`grep '#define LIBAVCODEC_BUILD' "$source_path/libavcodec/avcodec.h" | sed 's/[^0-9]//g'`
+-lavf_build=`grep '#define LIBAVFORMAT_BUILD' "$source_path/libavformat/avformat.h" | sed 's/[^0-9]//g'`
++lavc_build=`egrep '#define LIBAVCODEC_VERSION +[0-9\.]' "$source_path/libavcodec/avcodec.h" | sed 's/[^0-9]//g'`
++lavf_build=`egrep '#define LIBAVFORMAT_VERSION +[0-9\.]' "$source_path/libavformat/avformat.h" | sed 's/[^0-9]//g'`
+ requires=
+ test "$libogg" = "yes" && requires="$requires ogg >= 1.1"
This page took 0.168345 seconds and 4 git commands to generate.