Update of /cvsroot/xine/xine-lib
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12260
Modified Files:
Makefile.am
Log Message:
Generate a MIME type list for use in front ends' .desktop files etc.
The list contains one type per line.
(A scripted method is used to allow for cross-compilation.)
Index: Makefile.am
===================================================================
RCS file: /cvsroot/xine/xine-lib/Makefile.am,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- Makefile.am 4 Dec 2006 21:05:13 -0000 1.48
+++ Makefile.am 4 Feb 2007 01:30:50 -0000 1.49
@@ -78,6 +78,20 @@
PREFIX="/usr" misc/SlackBuild
+STRINGS=$(shell which -- "${CHOST}-strings" 2>/dev/null || which strings
2>/dev/null || false)
+
+install-exec-hook:
+ find $(top_srcdir) -name \*.so | \
+ xargs $(STRINGS) | \
+ egrep '^([-a-z]+/[-+.a-z0-9]+:[^:]+:[^;]+;[ \t]*)+' | \
+ sed -e 's/:[^;]\+;/\n/g' | \
+ sort -u | \
+ sed -e '1 d' >$(DESTDIR)$(XINE_PLUGINDIR)/mime.types
+
+uninstall-hook:
+ rm -f $(DESTDIR)$(XINE_PLUGINDIR)/mime.types
+
+
install-data-hook:
@rm -f $(DESTDIR)$(XINE_PLUGINDIR)/*.la
@rm -f $(DESTDIR)$(XINE_PLUGINDIR)/*/*.la
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog