]> git.pld-linux.org Git - packages/ffmpeg.git/blob - ffmpeg-pkgconfig-version.patch
- fix .pc versioning ("CVS-" -> "49CVS-$build").
[packages/ffmpeg.git] / ffmpeg-pkgconfig-version.patch
1 --- FFMpeg-20050806/libavcodec/avcodec.h.orig   2005-08-01 22:07:03.000000000 +0200
2 +++ FFMpeg-20050806/libavcodec/avcodec.h        2005-12-31 10:40:05.280500500 +0100
3 @@ -16,7 +16,7 @@
4  
5  //FIXME the following 2 really dont belong in here
6  #define FFMPEG_VERSION_INT     0x000409
7 -#define FFMPEG_VERSION         "CVS"
8 +#define FFMPEG_VERSION         "49CVS"
9  
10  #define AV_STRINGIFY(s)        AV_TOSTRING(s)
11  #define AV_TOSTRING(s) #s
12 --- FFMpeg-20050806/configure.orig      2005-12-31 09:31:31.000000000 +0100
13 +++ FFMpeg-20050806/configure   2005-12-31 10:40:54.511577250 +0100
14 @@ -1691,8 +1691,8 @@
15  
16  # build pkg-config files libavcodec.pc, libavformat.pc and libpostproc.pc 
17  
18 -lavc_build=`grep '#define LIBAVCODEC_BUILD' "$source_path/libavcodec/avcodec.h" | sed 's/[^0-9]//g'`
19 -lavf_build=`grep '#define LIBAVFORMAT_BUILD' "$source_path/libavformat/avformat.h" | sed 's/[^0-9]//g'`
20 +lavc_build=`egrep '#define LIBAVCODEC_VERSION +[0-9\.]' "$source_path/libavcodec/avcodec.h" | sed 's/[^0-9]//g'`
21 +lavf_build=`egrep '#define LIBAVFORMAT_VERSION +[0-9\.]' "$source_path/libavformat/avformat.h" | sed 's/[^0-9]//g'`
22  
23  requires=
24  test "$libogg" = "yes" && requires="$requires ogg >= 1.1"
This page took 0.045528 seconds and 3 git commands to generate.