summaryrefslogtreecommitdiffstats
path: root/osdep/mpv.rc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-20 16:45:05 +0200
committerwm4 <wm4@nowhere>2012-10-20 20:03:13 +0200
commitdfcfe058850b07ae9077eea8415cf5315deb1937 (patch)
treee6f5aa030176115d7b396f9c8e904d1de5e378e4 /osdep/mpv.rc
parent8c75a38d5fb5f399a66a79dc08b30e201ac5ef33 (diff)
downloadmpv-dfcfe058850b07ae9077eea8415cf5315deb1937.tar.bz2
mpv-dfcfe058850b07ae9077eea8415cf5315deb1937.tar.xz
build: fix compilation on Windows (manifest files)
Diffstat (limited to 'osdep/mpv.rc')
-rw-r--r--osdep/mpv.rc55
1 files changed, 55 insertions, 0 deletions
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 <winver.h>
+#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"