Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vlc for openSUSE:Factory checked in 
at 2024-04-25 20:47:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vlc (Old)
 and      /work/SRC/openSUSE:Factory/.vlc.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vlc"

Thu Apr 25 20:47:45 2024 rev:145 rq:1170053 version:3.0.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/vlc/vlc.changes  2024-03-05 18:46:58.521011734 
+0100
+++ /work/SRC/openSUSE:Factory/.vlc.new.1880/vlc.changes        2024-04-25 
20:47:54.103258781 +0200
@@ -1,0 +2,5 @@
+Sun Apr 21 07:09:31 UTC 2024 - Fei Yang <i...@feiyang.eu.org>
+
+- Enable FluidSynth plugin using an optional package
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vlc.spec ++++++
--- /var/tmp/diff_new_pack.SAXon8/_old  2024-04-25 20:47:55.195298880 +0200
+++ /var/tmp/diff_new_pack.SAXon8/_new  2024-04-25 20:47:55.199299027 +0200
@@ -26,8 +26,7 @@
 %bcond_with opengles
 %endif
 %bcond_without gstreamer
-# Fluidsynth plugin is known to cause strange crashes here and there - disable 
it for now (2014-10-07, DimStar)
-%bcond_with fluidsynth
+%bcond_without fluidsynth
 # VNC support - the module is not really usable in most cases tested so far 
(e.g. against qemu-kvm -vnc :xx)
 %bcond_with vnc
 %bcond_with faad
@@ -325,6 +324,21 @@
 This package enhances the functionality of the VLC media player by
 using GStreamer and its submodules as a backend to decode streams.
 
+%package codec-fluidsynth
+Summary:        FluidSynth integration for the VLC media player
+Group:          Productivity/Multimedia/Video/Players
+Requires:       %{name}-noX = %{version}
+# We need the noX package first, as it contains vlc-cache-gen
+Requires(post): %{name}-noX
+Supplements:    packageand(%{name}-noX:%(rpm --qf "%%{name}" -qf $(readlink -f 
%{_libdir}/libfluidsynth.so)))
+
+%description codec-fluidsynth
+This package enhances the functionality of the VLC media player by
+using FluidSynth as a backend to play MIDI files.
+
+Note that FluidSynth plugin is known to cause strange crashes here
+and there.
+
 %package jack
 Summary:        Jack integration for the VLC media player
 Group:          Productivity/Multimedia/Video/Players
@@ -575,6 +589,18 @@
 fi
 %endif
 
+%if %{with fluidsynth}
+%post -n %{name}-codec-fluidsynth
+if [ -x %{_libdir}/vlc/vlc-cache-gen ]; then
+  %{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins
+fi
+
+%postun -n %{name}-codec-fluidsynth
+if [ -x %{_libdir}/vlc/vlc-cache-gen ]; then
+  %{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins
+fi
+%endif
+
 %post -n %{name}-jack
 if [ -x %{_libdir}/vlc/vlc-cache-gen ]; then
   %{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins
@@ -890,9 +916,6 @@
 %{_libdir}/vlc/plugins/codec/libedummy_plugin.so
 %{_libdir}/vlc/plugins/codec/libfdkaac_plugin.so
 %{_libdir}/vlc/plugins/codec/libflac_plugin.so
-%if %{with fluidsynth}
-%{_libdir}/vlc/plugins/codec/libfluidsynth_plugin.so
-%endif
 %{_libdir}/vlc/plugins/codec/libg711_plugin.so
 %{_libdir}/vlc/plugins/codec/libjpeg_plugin.so
 %{_libdir}/vlc/plugins/codec/libkate_plugin.so
@@ -1174,6 +1197,11 @@
 %{_libdir}/vlc/plugins/codec/libgstdecode_plugin.so
 %endif
 
+%if %{with fluidsynth}
+%files codec-fluidsynth
+%{_libdir}/vlc/plugins/codec/libfluidsynth_plugin.so
+%endif
+
 %files vdpau
 %dir %{_libdir}/vlc/plugins/vdpau
 %{_libdir}/vlc/libvlc_vdpau.so.0

Reply via email to