[Bug 116958] kdemultimedia installs .mcopclass files for all (and possibly missing) akode plugins

Allan Sandfeld kde at carewolf.com
Wed Nov 23 16:58:44 GMT 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=116958         
kde carewolf com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From kde carewolf com  2005-11-23 17:58 -------
SVN commit 482639 by carewolf:

Detect installed aKode plugins before installing their mcopclasses.
BUG:116958


 M  +13 -5     akode_artsplugin/Makefile.am  
 M  +10 -0     configure.in.in  


--- branches/KDE/3.5/kdemultimedia/akode_artsplugin/Makefile.am #482638:482639
 @ -22,13 +22,21  @
 mcoptypedir = $(libdir)/mcop
 mcoptype_DATA = akodearts.mcoptype akodearts.mcopclass
 
+if include_akode_mpeg
+AKODE_MPEG=akodeMPEGPlayObject.mcopclass
+endif
+
+if include_akode_mpc
+AKODE_MPC=akodeMPCPlayObject.mcopclass
+endif
+
+if include_akode_xiph
+AKODE_XIPH=akodeXiphPlayObject.mcopclass akodeVorbisStreamPlayObject.mcopclass akodeSpeexStreamPlayObject.mcopclass
+endif
+
 mcopclassdir = $(libdir)/mcop
 mcopclass_DATA = akodePlayObject.mcopclass \
-		 akodeMPCPlayObject.mcopclass \
-		 akodeMPEGPlayObject.mcopclass \
-		 akodeXiphPlayObject.mcopclass \
-                 akodeVorbisStreamPlayObject.mcopclass \
-                 akodeSpeexStreamPlayObject.mcopclass
+		 $(AKODE_MPC) $(AKODE_MPEG) $(AKODE_XIPH)
 
 CLEANFILES=akodearts.h akodearts.cc akodearts.mcopclass akodearts.mcoptype
 
--- branches/KDE/3.5/kdemultimedia/configure.in.in #482638:482639
 @ -345,6 +345,16  @
 
   AC_SUBST(akode_includes)
   AC_SUBST(akode_libs)
+
+
+  KDE_CHECK_LIB(akode_mpeg_decoder,mpeg_decoder, have_akode_mpeg=yes)
+  KDE_CHECK_LIB(akode_mpc_decoder,mpc_decoder, have_akode_mpc=yes)
+  KDE_CHECK_LIB(akode_xiph_decoder,xiph_decoder, have_akode_xiph=yes)
+
+  AM_CONDITIONAL(include_akode_mpeg, test x$have_akode_mpeg = xyes)
+  AM_CONDITIONAL(include_akode_mpc, test x$have_akode_mpc = xyes)
+  AM_CONDITIONAL(include_akode_xiph, test x$have_akode_xiph = xyes)
+
 ])



More information about the kde-multimedia mailing list