SHA256
1
0
forked from pool/vlc

Updating link to change in openSUSE:Factory/vlc revision 145

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=ce563ca3de3e452af4fc3dfa37b29f1c
This commit is contained in:
OBS User buildservice-autocommit 2024-04-25 18:47:45 +00:00 committed by Git OBS Bridge
parent 9644dc50b9
commit 96bb70bf6c
2 changed files with 38 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Apr 21 07:09:31 UTC 2024 - Fei Yang <io@feiyang.eu.org>
- Enable FluidSynth plugin using an optional package
-------------------------------------------------------------------
Fri Mar 1 14:24:54 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -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 @@ Supplements: packageand(%{name}-noX:%(rpm --qf "%%{name}" -qf $(readlink -f %
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 @@ if [ -x %{_libdir}/vlc/vlc-cache-gen ]; then
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 @@ fi
%{_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 @@ fi
%{_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