[FFmpeg-devel] [PATCH] Add Windows resource file support for shared libraries
Michael Niedermayer
michaelni at gmx.at
Thu Dec 5 23:58:32 CET 2013
On Thu, Dec 05, 2013 at 05:50:14PM -0300, James Almer 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>
> ---
> Changelog | 1 +
> Makefile | 3 ++-
> common.mak | 10 ++++++--
> configure | 10 +++++++-
> libavcodec/Makefile | 3 +++
> libavcodec/avcodecres.rc | 55 ++++++++++++++++++++++++++++++++++++++++++
> libavdevice/Makefile | 3 +++
> libavdevice/avdeviceres.rc | 55 ++++++++++++++++++++++++++++++++++++++++++
> libavfilter/Makefile | 3 +++
> libavfilter/avfilterres.rc | 55 ++++++++++++++++++++++++++++++++++++++++++
> libavformat/Makefile | 3 +++
> libavformat/avformatres.rc | 55 ++++++++++++++++++++++++++++++++++++++++++
> libavresample/Makefile | 3 +++
> libavresample/avresampleres.rc | 55 ++++++++++++++++++++++++++++++++++++++++++
> libavutil/Makefile | 3 +++
> libavutil/avutilres.rc | 55 ++++++++++++++++++++++++++++++++++++++++++
> libpostproc/Makefile | 3 +++
> libpostproc/postprocres.rc | 55 ++++++++++++++++++++++++++++++++++++++++++
> library.mak | 2 +-
> libswresample/Makefile | 3 +++
> libswresample/swresampleres.rc | 55 ++++++++++++++++++++++++++++++++++++++++++
> libswscale/Makefile | 3 +++
> libswscale/swscaleres.rc | 55 ++++++++++++++++++++++++++++++++++++++++++
> 23 files changed, 543 insertions(+), 5 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
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131205/06fdcd82/attachment.asc>
More information about the ffmpeg-devel
mailing list