[MPlayer-dev-eng] [PATCH] fix resources in mingw build

Gianluigi Tiesi mplayer at netfarm.it
Sat Mar 24 02:05:09 CET 2007


Hi,

OBJS_MPLAYER-$(TARGET_WIN32) += osdep/mplayer-rc.o

doesn't work anymore for me,
Also resource file is a bit outdated.

The patch adds resources to mplayer/mencoder by using ifeq
and also updates a bit the resource file (rc).

The patch can be easily splitted in two parts
if you want to make separate commits.

Bye

-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 22787)
+++ Makefile	(working copy)
@@ -129,7 +129,10 @@
 OBJS_MENCODER = $(SRCS_MENCODER:.c=.o)
 
 # Having this in libosdep.a is not enough.
-OBJS_MPLAYER-$(TARGET_WIN32) += osdep/mplayer-rc.o
+ifeq ($(TARGET_WIN32),yes)
+	OBJS_MPLAYER += osdep/mplayer-rc.o
+	OBJS_MENCODER += osdep/mplayer-rc.o
+endif
 
 COMMON_LIBS += osdep/libosdep.a
 
Index: osdep/mplayer.rc
===================================================================
--- osdep/mplayer.rc	(revision 22787)
+++ osdep/mplayer.rc	(working copy)
@@ -18,15 +18,14 @@
         {
 		    VALUE "Comments","MPlayer is distributed under the terms of the GNU General Public License Version 2. Source code is available at http://www.mplayerhq.hu\000"
             VALUE "CompanyName", "\000"
-            VALUE "FileDescription", "MPlayer - Movie Player\000"
+            VALUE "FileDescription", "MPlayer/MEncoder - The Movie Player\000"
             VALUE "FileVersion",VERSION
             VALUE "InternalName", "Counter Counter\000"
-            VALUE "LegalCopyright", " (C) 2000-2004 MPlayer Team\000"
-            //VALUE "LegalTrademarks"," \000";
+            VALUE "LegalCopyright", " (C) 2000-2007 MPlayer Team\000"
             VALUE "OriginalFilename", "mplayer.exe\000"
-            VALUE "ProductName", "MPlayer - The Movie Player\000"
+            VALUE "ProductName", "MPlayer/MEncoder - The Movie Player\000"
             VALUE "ProductVersion",VERSION
-            //VALUE "SpecialBuild","\000"
+            VALUE "SpecialBuild","\000"
         }
     }
     BLOCK "VarFileInfo"  


More information about the MPlayer-dev-eng mailing list