SOURCES: ffmpeg-pkgconfig-version.patch (NEW) - fix .pc versioning...

pluto pluto at pld-linux.org
Sat Dec 31 10:54:28 CET 2005


Author: pluto                        Date: Sat Dec 31 09:54:28 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix .pc versioning
  (libavcodec.pc :Version: 49CVS-4901
   libavformat.pc:Version: 49CVS-4900
   libpostproc.pc:Version: 49CVS)

---- Files affected:
SOURCES:
   ffmpeg-pkgconfig-version.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ffmpeg-pkgconfig-version.patch
diff -u /dev/null SOURCES/ffmpeg-pkgconfig-version.patch:1.1
--- /dev/null	Sat Dec 31 10:54:28 2005
+++ SOURCES/ffmpeg-pkgconfig-version.patch	Sat Dec 31 10:54:23 2005
@@ -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"
================================================================


More information about the pld-cvs-commit mailing list