From dfcfe058850b07ae9077eea8415cf5315deb1937 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 20 Oct 2012 16:45:05 +0200 Subject: build: fix compilation on Windows (manifest files) --- osdep/mpv.rc | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 osdep/mpv.rc (limited to 'osdep/mpv.rc') diff --git a/osdep/mpv.rc b/osdep/mpv.rc new file mode 100644 index 0000000000..ec04346f9d --- /dev/null +++ b/osdep/mpv.rc @@ -0,0 +1,55 @@ +/* + * Windows resource file for MPlayer + * + * This file is part of MPlayer. + * + * MPlayer is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * MPlayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with MPlayer; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#include +#include "version.h" + +1 VERSIONINFO +FILEVERSION 2,0,0,0 +PRODUCTVERSION 2,0,0,0 +FILEOS VOS__WINDOWS32 +FILETYPE VFT_APP +{ + BLOCK "StringFileInfo" + { + BLOCK "000004b0" // LANG_NEUTRAL,UNICODE_CP + { + VALUE "Comments","mpv is distributed under the terms of the GNU General Public License Version 3.\000" + VALUE "CompanyName", "\000" + VALUE "FileDescription", "mpv - Movie Player\000" + VALUE "FileVersion",VERSION + VALUE "LegalCopyright", " (C) 2000-2012 MPlayer Team and others\000" + //VALUE "LegalTrademarks"," \000"; + VALUE "OriginalFilename", "mpv.exe\000" + VALUE "ProductName", "mpv - The Movie Player\000" + VALUE "ProductVersion",VERSION + //VALUE "SpecialBuild","\000" + } + } + BLOCK "VarFileInfo" + { + VALUE "Translation",0,0x04b0 + } +} + +IDI_ICON1 ICON DISCARDABLE "etc/mplayer.ico" + +// for some reason RT_MANIFEST does not work +1 24 "mpv.exe.manifest" -- cgit v1.2.3