rebuilt with libprojectM 3.1.7 [release 3.0.12-2mamba;Fri Jan 29 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 19:07:50 +01:00
parent 0ba3c0a150
commit 1576fd9e7c

245
vlc.spec
View File

@ -1,18 +1,10 @@
%define dirver %(echo %version | cut -d_ -f1) %define dirver %(echo %version | cut -d_ -f1)
%define pkgver %(echo %version | tr _ -) %define pkgver %(echo %version | tr _ -)
#%if "%{stage1}" == "1"
#%define with_mozilla 0
#%else
#%define with_mozilla 1
#%endif
%define with_pulseaudio 1 %define with_pulseaudio 1
%if %with_mozilla
%define mozilla_sdk_dir %(pkg-config --variable=sdkdir libxul)
%endif
Name: vlc Name: vlc
Version: 3.0.12 Version: 3.0.12
Release: 1mamba Release: 2mamba
Summary: The VideoLAN client Summary: The VideoLAN client
Group: Graphical Desktop/Applications/Multimedia Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba Vendor: openmamba
@ -35,32 +27,48 @@ Patch13: vlc-3.0.3-libqt5-5.12.0.patch
Patch14: vlc-3.0.11.1-libqt5-5.15.patch Patch14: vlc-3.0.11.1-libqt5-5.15.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: enca-devel
BuildRequires: fluidsynth-devel BuildRequires: fluidsynth-devel
BuildRequires: GConf-devel
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libICE-devel
BuildRequires: libSDL-devel
BuildRequires: libSDL_image-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXinerama-devel
BuildRequires: libXpm-devel
BuildRequires: liba52dec-devel BuildRequires: liba52dec-devel
BuildRequires: libaa-devel BuildRequires: libaa-devel
BuildRequires: libacl-devel
BuildRequires: libalsa-devel BuildRequires: libalsa-devel
BuildRequires: libarchive-devel
BuildRequires: libass-devel BuildRequires: libass-devel
BuildRequires: libatk-devel BuildRequires: libatk-devel
BuildRequires: libavahi-devel BuildRequires: libavahi-devel
BuildRequires: libavahi-glib-devel BuildRequires: libavc1394-devel
BuildRequires: libavcodec-ffmpeg-devel BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libbluray-devel BuildRequires: libbluray-devel
BuildRequires: libbrotli-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel BuildRequires: libbzip2-devel
BuildRequires: libcaca-devel BuildRequires: libcaca-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libcddb-devel BuildRequires: libcddb-devel
BuildRequires: libcdio-devel BuildRequires: libchromaprint-devel
BuildRequires: libcroco-devel %ifarch x86_64 %{ix86}
BuildRequires: libcrystalhd-devel
%endif
BuildRequires: libdbus-devel BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libdc1394-devel BuildRequires: libdc1394-devel
BuildRequires: libdca-devel BuildRequires: libdca-devel
BuildRequires: libdirac-devel
BuildRequires: libdirectfb-devel BuildRequires: libdirectfb-devel
BuildRequires: libdrm-devel BuildRequires: libdrm-devel
BuildRequires: libdvbpsi-devel BuildRequires: libdvbpsi-devel
@ -79,66 +87,67 @@ BuildRequires: libftgl-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libgcrypt-devel BuildRequires: libgcrypt-devel
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libGL-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libGLU-devel BuildRequires: libgmp-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libgnutls-devel BuildRequires: libgnutls-devel
BuildRequires: libgoom2-devel BuildRequires: libgoom2-devel
BuildRequires: libgpg-error-devel BuildRequires: libgpg-error-devel
BuildRequires: libgpm-devel BuildRequires: libgpm-devel
BuildRequires: libgraphite2-devel BuildRequires: libgraphite2-devel
BuildRequires: libgtk2-devel BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel BuildRequires: libharfbuzz-devel
BuildRequires: libICE-devel BuildRequires: libidn-devel
BuildRequires: libicu-devel
BuildRequires: libjack-devel BuildRequires: libjack-devel
BuildRequires: libjpeg-devel
BuildRequires: libkate-devel BuildRequires: libkate-devel
BuildRequires: liblash-devel BuildRequires: liblua-devel
BuildRequires: liblz4-devel
BuildRequires: liblzma-devel BuildRequires: liblzma-devel
BuildRequires: liblzo-devel
BuildRequires: libmad-devel BuildRequires: libmad-devel
BuildRequires: libmatroska-devel BuildRequires: libmatroska-devel
BuildRequires: libmodplug-devel BuildRequires: libmodplug-devel
BuildRequires: libmusepack-devel
BuildRequires: libmpeg2-devel BuildRequires: libmpeg2-devel
BuildRequires: libmpg123-devel
BuildRequires: libmtp-devel BuildRequires: libmtp-devel
BuildRequires: libmusepack-devel
BuildRequires: libncurses-devel BuildRequires: libncurses-devel
BuildRequires: libnettle-devel BuildRequires: libnettle-devel
BuildRequires: libnfs-devel
BuildRequires: libnotify-devel BuildRequires: libnotify-devel
BuildRequires: libogg-devel BuildRequires: libogg-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: libopus-devel BuildRequires: libopus-devel
BuildRequires: liborc-devel BuildRequires: liborc-devel
BuildRequires: libp11-kit-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libpng15-devel BuildRequires: libpcre-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libportaudio-devel
BuildRequires: libpostproc-ffmpeg-devel BuildRequires: libpostproc-ffmpeg-devel
BuildRequires: libprojectM-devel BuildRequires: libprojectM-devel
BuildRequires: libproxy-devel BuildRequires: libprotobuf-devel
BuildRequires: libpthread-stubs-devel
%if %with_pulseaudio
BuildRequires: libpulseaudio-devel BuildRequires: libpulseaudio-devel
%endif BuildRequires: libqt5-devel
BuildRequires: libqt4-devel
BuildRequires: libraw1394-devel BuildRequires: libraw1394-devel
BuildRequires: libreadline-devel BuildRequires: libreadline-devel
BuildRequires: librsvg-devel BuildRequires: librsvg-devel
BuildRequires: libsamplerate-devel BuildRequires: libsamplerate-devel
BuildRequires: libschroedinger-devel BuildRequires: libschroedinger-devel
BuildRequires: libSDL-devel BuildRequires: libsecret-devel
BuildRequires: libSDL_image-devel BuildRequires: libshine-devel
BuildRequires: libselinux-devel
BuildRequires: libshout-devel BuildRequires: libshout-devel
BuildRequires: libsidplay2-devel BuildRequires: libsidplay2-devel
BuildRequires: libslang-devel BuildRequires: libslang-devel
BuildRequires: libsmbclient-devel BuildRequires: libsmbclient-devel
BuildRequires: libSM-devel BuildRequires: libsoxr-devel
BuildRequires: libsndfile-devel
BuildRequires: libspeex-devel BuildRequires: libspeex-devel
BuildRequires: libssh2-devel
BuildRequires: libssp-devel BuildRequires: libssp-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libswscale-ffmpeg-devel BuildRequires: libswscale-ffmpeg-devel
BuildRequires: libsystemd-devel
BuildRequires: libtag-devel BuildRequires: libtag-devel
BuildRequires: libtar-devel BuildRequires: libtar-devel
BuildRequires: libtasn1-devel BuildRequires: libtasn1-devel
@ -146,95 +155,60 @@ BuildRequires: libtheora-devel
BuildRequires: libtiger-devel BuildRequires: libtiger-devel
BuildRequires: libts-devel BuildRequires: libts-devel
BuildRequires: libtwolame-devel BuildRequires: libtwolame-devel
BuildRequires: libudev-devel
BuildRequires: libunistring-devel
BuildRequires: libupnp-devel BuildRequires: libupnp-devel
BuildRequires: libusbx-devel BuildRequires: libusb-devel
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
BuildRequires: libva-devel BuildRequires: libva-devel
BuildRequires: libvcdimager-devel BuildRequires: libvncserver-devel
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
BuildRequires: libvorbisidec-devel BuildRequires: libvorbisidec-devel
BuildRequires: libX11-devel BuildRequires: libvpx-devel
BuildRequires: libx264-devel BuildRequires: libx264-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel BuildRequires: libxcb-devel
BuildRequires: libxcb-keysyms-devel BuildRequires: libxcb-keysyms-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXi-devel
BuildRequires: libXinerama-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libXpm-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libXxf86vm-devel
BuildRequires: libz-devel BuildRequires: libz-devel
BuildRequires: libzstd-devel
BuildRequires: libzvbi-devel BuildRequires: libzvbi-devel
BuildRequires: ORBit2-devel
BuildRequires: p11-kit-devel
BuildRequires: udev-devel
BuildRequires: xosd-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpulseaudio-devel >= 8.0-1mamba #BuildRequires: libaudiofile-devel
BuildRequires: liblive-devel #BuildRequires: libe2fs-devel
BuildRequires: libaudio-devel #BuildRequires: libglitz-devel
BuildRequires: libaudiofile-devel #BuildRequires: libid3tag-devel
BuildRequires: libavc1394-devel #BuildRequires: liboil-devel
BuildRequires: libe2fs-devel #BuildRequires: libpixman-devel
BuildRequires: libesound-devel #BuildRequires: libsysfs-devel
BuildRequires: libglitz-devel #BuildRequires: libtiff-devel
BuildRequires: libid3tag-devel #BuildRequires: libxvidcore-devel
BuildRequires: libjpeg-devel #BuildRequires: libtelepathy-glib-devel
BuildRequires: liboil-devel #BuildRequires: liblame-devel
BuildRequires: libpixman-devel #BuildRequires: libfaac-devel
BuildRequires: libsysfs-devel #BuildRequires: libpth-devel
BuildRequires: libtiff-devel #BuildRequires: libwxBase2.8-unicode-devel
BuildRequires: libxvidcore-devel #BuildRequires: libwxGTK2.8-unicode-devel
BuildRequires: libtelepathy-glib-devel #BuildRequires: ORBit2-devel
BuildRequires: liblame-devel #BuildRequires: libladcca-devel
BuildRequires: libfaac-devel
BuildRequires: libdc1394-devel
BuildRequires: bash
BuildRequires: libpth-devel
BuildRequires: libwxBase2.8-unicode-devel
BuildRequires: libwxGTK2.8-unicode-devel
BuildRequires: ORBit2-devel
BuildRequires: gcc-c++
BuildRequires: gettext-devel
BuildRequires: libladcca-devel
#BuildRequires: libtremor-devel #BuildRequires: libtremor-devel
BuildRequires: libopencv-devel #BuildRequires: libopencv-devel
#%if %with_mozilla BuildRequires: lua52
#BuildRequires: libjs-devel
#BuildRequires: libnspr-devel
#BuildRequires: libnss-devel
#BuildRequires: xulrunner-devel
#%endif
BuildRequires: lua
BuildRequires: liblua-devel >= 5.2.4-2mamba
BuildRequires: libssp-devel
BuildRequires: libgmp-devel
BuildRequires: libftgl-devel
BuildRequires: libsidplay2-devel
BuildRequires: libxcb-keysyms-devel
BuildRequires: libebml >= 1.4.0
BuildRequires: libmatroska >= 1.6.2
BuildRequires: libdirectfb >= 1.7.7
BuildRequires: libtar >= 1.2.20
BuildRequires: libtag-devel >= 1.11
BuildRequires: libupnp-devel >= 1.14.0
BuildRequires: libfreerdp-devel BuildRequires: libfreerdp-devel
BuildRequires: libshine-devel BuildRequires: liblive-devel
BuildRequires: ffmpeg-devel BuildRequires: libprojectM-devel >= 3.1.7
BuildRequires: fluidsynth-devel >= 1.1.6-4mamba BuildRequires: libspeexdsp-devel
#Requires: avahi-compat-howl BuildRequires: libsasl2-devel
#Requires: avahi-compat-libdns_sd BuildRequires: protobuf
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libva-static
%ifarch arm aarch64
BuildRequires: libraspberrypi-devel
%endif
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: libqt5-plugins Requires: libqt5-plugins
Requires: vlc-pulseaudio-plugin = %{?epoch:%epoch:}%{version}-%{release} Requires: vlc-pulseaudio-plugin = %{?epoch:%epoch:}%{version}-%{release}
Provides: %{name}-mozilla-plugin Provides: %{name}-mozilla-plugin
Obsoletes: %{name}-mozilla-plugin Obsoletes: %{name}-mozilla-plugin
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
VideoLAN Client (VLC) is a highly portable multimedia player for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols. VideoLAN Client (VLC) is a highly portable multimedia player for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols.
@ -242,6 +216,8 @@ VideoLAN Client (VLC) is a highly portable multimedia player for various audio a
%package -n lib%{name} %package -n lib%{name}
Group: System/Libraries Group: System/Libraries
Summary: Shared libraries for %{name} Summary: Shared libraries for %{name}
Provides: %{name}-pulseaudio-plugin
Obsoletes: %{name}-pulseaudio-plugin <= 3.0.12-1mamba
%description -n lib%{name} %description -n lib%{name}
VideoLAN Client (VLC) is a highly portable multimedia player for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols. VideoLAN Client (VLC) is a highly portable multimedia player for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols.
@ -267,51 +243,20 @@ Requires: postgresql = %{version}-%{release}
%description contrib %description contrib
The %{name}-contrib package contains contributed packages that are included in the %{name} distribution. The %{name}-contrib package contains contributed packages that are included in the %{name} distribution.
%package mozilla-plugin
Summary: VLC plugins for Firefox
Group: Applications/Multimedia
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: firefox
%description mozilla-plugin
The VideoLAN client.
This package contains VLC plugins for firefox.
%package pulseaudio-plugin
Summary: VLC plugins for PulseAudio
Group: Applications/Multimedia
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pulseaudio
%description pulseaudio-plugin
The VideoLAN client.
This package contains VLC plugins for PulseAudio.
%debug_package %debug_package
%prep %prep
%setup -q -n %{name}-%{dirver} %setup -q -n %{name}-%{dirver}
#-D -T #-D -T
#:<< _EOF #:<< _EOF
#%patch0 -p1
#%patch1 -p1
#%patch4 -p1
#%patch5 -p1
%patch6 -p1 %patch6 -p1
#%patch7 -p1
#%patch8 -p1
%patch9 -p1 %patch9 -p1
#%patch10 -p1
%patch11 -p1 %patch11 -p1
#%patch12 -p1
#%patch13 -p1
#%patch14 -p1
%build
# FIXME: bootstrap: build with ffmpeg2 is correct, but libs are relinked with ffmpeg at install # FIXME: bootstrap: build with ffmpeg2 is correct, but libs are relinked with ffmpeg at install
./bootstrap ./bootstrap
%build
#:<< _EOF
#export LIBV4L2_LIBS=-L%{_libdir}/libv4l/ LIBV4L2_CFLAGS=-I%{_includedir} #export LIBV4L2_LIBS=-L%{_libdir}/libv4l/ LIBV4L2_CFLAGS=-I%{_includedir}
#export PKG_CONFIG_PATH=%{_libdir}/ffmpeg2/pkgconfig #export PKG_CONFIG_PATH=%{_libdir}/ffmpeg2/pkgconfig
%configure \ %configure \
@ -364,6 +309,8 @@ This package contains VLC plugins for PulseAudio.
# --enable-sdl \ # --enable-sdl \
# --enable-vcdx \ # --enable-vcdx \
:<< _EOF
%ifarch arm %ifarch arm
LD_PRELOAD=/usr/lib/librsvg-2.so %make LD_PRELOAD=/usr/lib/librsvg-2.so %make
%else %else
@ -474,6 +421,8 @@ fi
#%{_libdir}/vlc/plugins/audio_output/liboss_plugin.so #%{_libdir}/vlc/plugins/audio_output/liboss_plugin.so
#%{_libdir}/vlc/plugins/audio_output/libportaudio_plugin.la #%{_libdir}/vlc/plugins/audio_output/libportaudio_plugin.la
#%{_libdir}/vlc/plugins/audio_output/libportaudio_plugin.so #%{_libdir}/vlc/plugins/audio_output/libportaudio_plugin.so
%{_libdir}/vlc/plugins/audio_output/libpulse_plugin.la
%{_libdir}/vlc/plugins/audio_output/libpulse_plugin.so
%{_libdir}/vlc/plugins/codec %{_libdir}/vlc/plugins/codec
%{_libdir}/vlc/plugins/control %{_libdir}/vlc/plugins/control
%{_libdir}/vlc/plugins/demux %{_libdir}/vlc/plugins/demux
@ -530,20 +479,10 @@ fi
%{_libdir}/pkgconfig/vlc-plugin.pc %{_libdir}/pkgconfig/vlc-plugin.pc
%doc ChangeLog README THANKS %doc ChangeLog README THANKS
%if %with_pulseaudio
%files pulseaudio-plugin
%defattr(-,root,root)
%{_libdir}/vlc/plugins/audio_output/libpulse_plugin.la
%{_libdir}/vlc/plugins/audio_output/libpulse_plugin.so
%endif
#%if %with_mozilla
#%files mozilla-plugin
#%defattr(-,root,root)
##%{_libdir}/mozilla/plugins/libvlcplugin.so
#%endif
%changelog %changelog
* Fri Jan 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.12-2mamba
- rebuilt with libprojectM 3.1.7
* Fri Jan 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.12-1mamba * Fri Jan 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.12-1mamba
- update to 3.0.12 - update to 3.0.12