[FFmpeg-devel] [PATCH] Add Windows resource file support for shared libraries
Timothy Gu
timothygu99 at gmail.com
Mon Dec 2 00:18:41 CET 2013
On Dec 1, 2013 2:18 PM, "James Almer" <jamrial at gmail.com> wrote:
>
> Originally written by James Almer <jamrial at gmail.com>
>
> With the following contributions by Timothy Gu <timothygu99 at gmail.com>
>
> * Use descriptions of libraries from the pkg-config file generation
function
> * Use "FFmpeg Project" as CompanyName (suggested by Alexander Strasser)
> * Use "FFmpeg" for ProductName as MSDN says "name of the product with
which the
> file is distributed" [1].
> * Use FFmpeg's version (N-xxxxx-gxxxxxxx) for ProductVersion per MSDN [1].
> * Only build the .rc files when --enable-small is not enabled.
>
> [1] http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058.aspx
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> Makefile | 3 ++-
> common.mak | 7 ++++++-
> configure | 10 +++++++++-
> libavcodec/Makefile | 3 +++
> libavcodec/avcodecres.rc | 32 ++++++++++++++++++++++++++++++++
> libavdevice/Makefile | 3 +++
> libavdevice/avdeviceres.rc | 32 ++++++++++++++++++++++++++++++++
> libavfilter/Makefile | 3 +++
> libavfilter/avfilterres.rc | 32 ++++++++++++++++++++++++++++++++
> libavformat/Makefile | 3 +++
> libavformat/avformatres.rc | 32 ++++++++++++++++++++++++++++++++
> libavresample/Makefile | 3 +++
> libavresample/avresampleres.rc | 32 ++++++++++++++++++++++++++++++++
> libavutil/Makefile | 3 +++
> libavutil/avutilres.rc | 32 ++++++++++++++++++++++++++++++++
> libpostproc/Makefile | 3 +++
> libpostproc/postprocres.rc | 32 ++++++++++++++++++++++++++++++++
> library.mak | 2 +-
> libswresample/Makefile | 3 +++
> libswresample/swresampleres.rc | 32 ++++++++++++++++++++++++++++++++
> libswscale/Makefile | 3 +++
> libswscale/swscaleres.rc | 32 ++++++++++++++++++++++++++++++++
> 22 files changed, 333 insertions(+), 4 deletions(-)
> create mode 100644 libavcodec/avcodecres.rc
> create mode 100644 libavdevice/avdeviceres.rc
> create mode 100644 libavfilter/avfilterres.rc
> create mode 100644 libavformat/avformatres.rc
> create mode 100644 libavresample/avresampleres.rc
> create mode 100644 libavutil/avutilres.rc
> create mode 100644 libpostproc/postprocres.rc
> create mode 100644 libswresample/swresampleres.rc
> create mode 100644 libswscale/swscaleres.rc
You can add the copyright notice (2012 you and 2013 me) to the .rc files
too. (I have the changes in my local PC but I didn't have time to push it
to GitHub or send it here.
[...]
Timothy
More information about the ffmpeg-devel
mailing list