aboutsummaryrefslogtreecommitdiffstats
path: root/src/win
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2012-02-18 03:33:49 -0800
committerAvuton Olrich <avuton@gmail.com>2012-02-23 06:32:30 -0800
commit07429761382dc2dfc277bacf8b897a0d51402ab8 (patch)
tree83f95e10f68b539b6e0858e799843306431919d8 /src/win
parent1a63663c85b7e043c75310d8cc11e61c85087724 (diff)
downloadmpd-07429761382dc2dfc277bacf8b897a0d51402ab8.tar.gz
mpd-07429761382dc2dfc277bacf8b897a0d51402ab8.tar.xz
mpd-07429761382dc2dfc277bacf8b897a0d51402ab8.zip
win32: Add a Windows OS resource file and icon
Diffstat (limited to '')
-rw-r--r--src/win/mpd.icobin0 -> 353118 bytes
-rw-r--r--src/win/mpd_win32_rc.rc.in34
2 files changed, 34 insertions, 0 deletions
diff --git a/src/win/mpd.ico b/src/win/mpd.ico
new file mode 100644
index 000000000..86fd9fe43
--- /dev/null
+++ b/src/win/mpd.ico
Binary files differ
diff --git a/src/win/mpd_win32_rc.rc.in b/src/win/mpd_win32_rc.rc.in
new file mode 100644
index 000000000..a31118a0c
--- /dev/null
+++ b/src/win/mpd_win32_rc.rc.in
@@ -0,0 +1,34 @@
+#include <windows.h>
+
+#define VERSION_NUMBER @VERSION_MAJOR@,@VERSION_MINOR@,@VERSION_REVISION@,@VERSION_EXTRA@
+#define VERSION_NUMBER_STR "@VERSION_MAJOR@,@VERSION_MINOR@,@VERSION_REVISION@,@VERSION_EXTRA@"
+
+MPD_ICON ICON "@top_srcdir@/src/win/mpd.ico"
+
+1 VERSIONINFO
+FILETYPE VFT_APP
+FILEOS VOS__WINDOWS32
+PRODUCTVERSION VERSION_NUMBER
+
+FILEVERSION VERSION_NUMBER
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904B0"
+ BEGIN
+ VALUE "CompanyName", "Music Player Daemon Project"
+ VALUE "ProductName", "Music Player Daemon"
+ VALUE "ProductVersion", VERSION_NUMBER_STR
+ VALUE "InternalName", "mpd"
+ VALUE "OriginalFilename", "mpd.exe"
+ VALUE "FileVersion", "@VERSION@"
+ VALUE "FileDescription", "Music Player Daemon @VERSION@"
+ VALUE "LegalCopyright", "Copyright \251 The Music Player Daemon Project"
+ END
+ END
+
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END