Updating link to change in openSUSE:Factory/vlc revision 93.0
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=bb98c4ecd1b690c93214f60d1bcc28f2
This commit is contained in:
committed by
Git OBS Bridge
parent
76ca0778e7
commit
32e80dbb46
122
vlc.spec
122
vlc.spec
@@ -118,6 +118,7 @@ BuildRequires: pkgconfig(Qt5Core) >= 5.5.0
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Svg)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(aom)
|
||||
BuildRequires: pkgconfig(caca) >= 0.99.beta14
|
||||
BuildRequires: pkgconfig(dbus-1) >= 1.6.0
|
||||
BuildRequires: pkgconfig(dvdnav) > 4.9.0
|
||||
@@ -133,16 +134,21 @@ BuildRequires: pkgconfig(libgme)
|
||||
BuildRequires: pkgconfig(libmodplug) >= 0.8.4
|
||||
BuildRequires: pkgconfig(libmpeg2) > 0.3.2
|
||||
BuildRequires: pkgconfig(libmtp) >= 1.0.0
|
||||
BuildRequires: pkgconfig(libnfs)
|
||||
BuildRequires: pkgconfig(libnotify)
|
||||
BuildRequires: pkgconfig(libpostproc)
|
||||
BuildRequires: pkgconfig(libpulse) >= 1.0
|
||||
BuildRequires: pkgconfig(libsecret-1) >= 0.18
|
||||
BuildRequires: pkgconfig(libswscale)
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: pkgconfig(libva)
|
||||
BuildRequires: pkgconfig(libva-x11)
|
||||
BuildRequires: pkgconfig(protobuf-lite) >= 2.5.0
|
||||
BuildRequires: pkgconfig(soxr)
|
||||
BuildRequires: pkgconfig(speexdsp)
|
||||
BuildRequires: pkgconfig(taglib) >= 1.9
|
||||
BuildRequires: pkgconfig(twolame)
|
||||
BuildRequires: pkgconfig(vdpau) >= 0.6
|
||||
BuildRequires: pkgconfig(xcb) >= 1.6
|
||||
BuildRequires: pkgconfig(xcb-composite)
|
||||
BuildRequires: pkgconfig(xcb-keysyms) >= 0.3.4
|
||||
@@ -182,15 +188,12 @@ BuildRequires: pkgconfig(Qt5X11Extras)
|
||||
# for some reason libXi-devel is explicitly needed on Leap 42.1, otherwise the build fails...
|
||||
BuildRequires: pkgconfig(xi)
|
||||
%endif
|
||||
%if 0%{?suse_version} != 1315 || 0%{?BUILD_ORIG}
|
||||
BuildRequires: pkgconfig(libswscale)
|
||||
%endif
|
||||
%if 0%{?is_opensuse}
|
||||
BuildRequires: pkgconfig(SDL_image) >= 1.2.10
|
||||
BuildRequires: pkgconfig(libupnp)
|
||||
BuildRequires: pkgconfig(opencv) > 2.0
|
||||
%ifarch %{ix86} x86_64
|
||||
%if 0%{?suse_version} > 1320
|
||||
%if 0%{?suse_version} > 1320 && 0%{?suse_version} < 1550
|
||||
BuildRequires: pkgconfig(libprojectM-qt5) >= 2.0.0
|
||||
%else
|
||||
BuildRequires: pkgconfig(libprojectM) >= 2.0.0
|
||||
@@ -214,13 +217,9 @@ BuildRequires: pkgconfig(ncursesw)
|
||||
%endif
|
||||
# Those are dependencies which are NOT provided in openSUSE, mostly for legal reasons.
|
||||
%if 0%{?BUILD_ORIG}
|
||||
BuildRequires: faad2-devel
|
||||
BuildRequires: libfaac-devel
|
||||
BuildRequires: libxvidcore-devel
|
||||
BuildRequires: pkgconfig(fdk-aac)
|
||||
BuildRequires: pkgconfig(libdca) >= 0.0.5
|
||||
BuildRequires: pkgconfig(libpostproc)
|
||||
BuildRequires: pkgconfig(vdpau) >= 0.6
|
||||
BuildRequires: pkgconfig(x264) >= 0.8.6
|
||||
BuildRequires: pkgconfig(x265)
|
||||
%endif
|
||||
@@ -242,9 +241,7 @@ Summary: Development files for the VLC media player system
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-jack = %{version}
|
||||
%if 0%{?BUILD_ORIG}
|
||||
Requires: %{name}-vdpau = %{version}
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
These development headers are required if you plan on coding against VLC.
|
||||
@@ -330,10 +327,10 @@ This package adds jack support to vlc via plugins.
|
||||
%if 0%{?BUILD_ORIG}
|
||||
%package codecs
|
||||
Summary: Additional codecs for the VLC media player
|
||||
# We require the unrestricted libavcodec - same ABI version we linked
|
||||
Group: Productivity/Multimedia/Video/Players
|
||||
Requires: %(rpm --qf "%%{name}" -qf $(readlink -f %{_libdir}/libavcodec.so))(unrestricted)
|
||||
Requires: %{name}-noX = %{version}
|
||||
# We require the unrestricted libavcodec - same ABI version we linked
|
||||
Requires: %(rpm --qf "%%{name}" -qf $(readlink -f %{_libdir}/libavcodec.so))(unrestricted)
|
||||
# We need the noX package first, as it contains vlc-cache-gen
|
||||
Requires(post): %{name}-noX
|
||||
Supplements: %{name}-noX
|
||||
@@ -342,12 +339,12 @@ Supplements: %{name}-noX
|
||||
This package enhances the functionality of the VLC media player by
|
||||
codecs that are not available in the stock openSUSE distribution.
|
||||
|
||||
%endif
|
||||
|
||||
%package vdpau
|
||||
Summary: Additional vdpau codecs for the VLC media player
|
||||
# We require the unrestricted libavcodec - same ABI version we linked
|
||||
Group: Productivity/Multimedia/Video/Players
|
||||
Requires: %(rpm --qf "%%{name}" -qf $(readlink -f %{_libdir}/libavcodec.so))(unrestricted)
|
||||
Requires: %{name}-codecs = %{version}
|
||||
Requires: %{name}-noX = %{version}
|
||||
# We need the noX package first, as it contains vlc-cache-gen
|
||||
Requires(post): %{name}-noX
|
||||
@@ -357,8 +354,6 @@ Supplements: %{name}-noX
|
||||
This package enhances the functionality of the VLC media player by
|
||||
vdpau codecs that are not available in the stock openSUSE distribution.
|
||||
|
||||
%endif
|
||||
|
||||
%package qt
|
||||
Summary: Qt interface for the VLC media player
|
||||
Group: Productivity/Multimedia/Video/Players
|
||||
@@ -377,7 +372,7 @@ default when `vlc` is invoked from an X session.
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch3 -p1
|
||||
%if 0%{?suse_version} > 1320
|
||||
%if 0%{?suse_version} > 1320 && 0%{?suse_version} < 1550
|
||||
%patch100 -p1
|
||||
%endif
|
||||
%patch101 -p1
|
||||
@@ -408,15 +403,18 @@ export CXX=%{_bindir}/g++-7
|
||||
autoreconf -fiv
|
||||
%configure \
|
||||
--disable-dependency-tracking \
|
||||
--enable-aa \
|
||||
--disable-oss \
|
||||
--disable-svgdec \
|
||||
--enable-a52 \
|
||||
--enable-aa \
|
||||
--enable-alsa \
|
||||
--enable-avcodec \
|
||||
--enable-chromecast \
|
||||
--enable-dvbpsi \
|
||||
--enable-dvdnav \
|
||||
--enable-dvdread \
|
||||
--enable-flac \
|
||||
--enable-fast-install \
|
||||
--enable-flac \
|
||||
--enable-freetype \
|
||||
--enable-fribidi \
|
||||
--enable-gnutls \
|
||||
@@ -424,64 +422,54 @@ autoreconf -fiv
|
||||
--enable-kate \
|
||||
--enable-libass \
|
||||
--enable-libcddb \
|
||||
--enable-mad \
|
||||
--enable-libmpeg2 \
|
||||
%if 0%{?is_opensuse}
|
||||
--enable-opencv \
|
||||
%endif
|
||||
--enable-sftp \
|
||||
--disable-svgdec \
|
||||
%if 0%{?suse_version} != 1315 || 0%{?BUILD_ORIG}
|
||||
--enable-swscale \
|
||||
%else
|
||||
--disable-swscale \
|
||||
%endif
|
||||
%if 0%{?BUILD_ORIG}
|
||||
--enable-postproc \
|
||||
--enable-faad \
|
||||
--enable-fdkaac \
|
||||
--enable-dca \
|
||||
--enable-x265 \
|
||||
%else
|
||||
--disable-postproc \
|
||||
--disable-faad \
|
||||
--disable-fdkaac \
|
||||
--disable-dca \
|
||||
--disable-x265 \
|
||||
%endif
|
||||
--enable-avcodec \
|
||||
--enable-lirc \
|
||||
--enable-live555 \
|
||||
--enable-lua \
|
||||
--enable-mad \
|
||||
--enable-mod \
|
||||
--enable-ogg \
|
||||
--enable-optimizations \
|
||||
--disable-oss \
|
||||
--enable-postproc \
|
||||
--enable-pulse \
|
||||
--enable-realrtsp \
|
||||
--enable-sftp \
|
||||
--enable-sout \
|
||||
--enable-speex \
|
||||
--enable-swscale \
|
||||
--enable-taglib \
|
||||
--enable-theora \
|
||||
--enable-twolame \
|
||||
--enable-v4l2 \
|
||||
--enable-vcd \
|
||||
--enable-vdpau \
|
||||
--enable-vorbis \
|
||||
--enable-xcb \
|
||||
--enable-xvideo \
|
||||
--with-default-font=%{_datadir}/fonts/truetype/FreeSerifBold.ttf \
|
||||
--with-default-monospace-font=%{_datadir}/fonts/truetype/FreeMono.ttf \
|
||||
%if %{with opengles}
|
||||
--enable-gles2 \
|
||||
%endif
|
||||
%if 0%{?is_opensuse}
|
||||
--enable-opencv \
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1500 && 0%{?is_opensuse}
|
||||
--enable-wayland \
|
||||
%else
|
||||
--disable-wayland \
|
||||
%endif
|
||||
--enable-xcb \
|
||||
%if %{with opengles}
|
||||
--enable-gles2 \
|
||||
%endif
|
||||
%if 0%{?BUILD_ORIG}
|
||||
--enable-vdpau \
|
||||
--enable-fdkaac \
|
||||
--enable-dca \
|
||||
--enable-x265 \
|
||||
%else
|
||||
--disable-faad \
|
||||
--disable-fdkaac \
|
||||
--disable-dca \
|
||||
--disable-x265 \
|
||||
%endif
|
||||
--enable-xvideo \
|
||||
--with-default-font=%{_datadir}/fonts/truetype/FreeSerifBold.ttf \
|
||||
--with-default-monospace-font=%{_datadir}/fonts/truetype/FreeMono.ttf
|
||||
%{nil}
|
||||
|
||||
# make sure the build hostname is not embedded in the binaries -- or we'll
|
||||
# continuously republish packages -- seife
|
||||
@@ -552,13 +540,13 @@ done
|
||||
|
||||
%postun -n %{name}-codecs
|
||||
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins
|
||||
%endif
|
||||
|
||||
%post -n %{name}-vdpau
|
||||
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins
|
||||
|
||||
%postun -n %{name}-vdpau
|
||||
%{_libdir}/vlc/vlc-cache-gen %{_libdir}/vlc/plugins
|
||||
%endif
|
||||
|
||||
%files
|
||||
%exclude %{_libdir}/vlc/libcompat.a
|
||||
@@ -604,9 +592,7 @@ done
|
||||
%endif
|
||||
%{_libdir}/vlc/plugins/text_renderer/libfreetype_plugin.so
|
||||
%{_libdir}/vlc/plugins/text_renderer/libsvg_plugin.so
|
||||
%if 0%{?suse_version} != 1315 || 0%{?BUILD_ORIG}
|
||||
%{_libdir}/vlc/plugins/video_chroma/libswscale_plugin.so
|
||||
%endif
|
||||
%if 0%{?is_opensuse}
|
||||
%{_libdir}/vlc/plugins/video_filter/libopencv_example_plugin.so
|
||||
%{_libdir}/vlc/plugins/video_filter/libopencv_wrapper_plugin.so
|
||||
@@ -756,6 +742,7 @@ done
|
||||
%{_libdir}/vlc/plugins/access/liblinsys_hdsdi_plugin.so
|
||||
%{_libdir}/vlc/plugins/access/liblinsys_sdi_plugin.so
|
||||
%{_libdir}/vlc/plugins/access/liblive555_plugin.so
|
||||
%{_libdir}/vlc/plugins/access/libnfs_plugin.so
|
||||
%if 0%{?suse_version} < 1330 && ( 0%{?sle_version} < 120200 || 0%{?is_opensuse} < 1 )
|
||||
%{_libdir}/vlc/plugins/access/librdp_plugin.so
|
||||
%endif
|
||||
@@ -804,6 +791,7 @@ done
|
||||
%{_libdir}/vlc/plugins/audio_filter/libscaletempo_pitch_plugin.so
|
||||
%{_libdir}/vlc/plugins/audio_filter/libscaletempo_plugin.so
|
||||
%{_libdir}/vlc/plugins/audio_filter/libsimple_channel_mixer_plugin.so
|
||||
%{_libdir}/vlc/plugins/audio_filter/libsoxr_plugin.so
|
||||
%{_libdir}/vlc/plugins/audio_filter/libspatializer_plugin.so
|
||||
%{_libdir}/vlc/plugins/audio_filter/libspeex_resampler_plugin.so
|
||||
%{_libdir}/vlc/plugins/audio_filter/libstereo_widen_plugin.so
|
||||
@@ -819,6 +807,7 @@ done
|
||||
%{_libdir}/vlc/plugins/codec/liba52_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libadpcm_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libaes3_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libaom_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libaraw_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libcc_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libcdg_plugin.so
|
||||
@@ -1065,6 +1054,7 @@ done
|
||||
%{_libdir}/vlc/plugins/video_filter/libmotiondetect_plugin.so
|
||||
%{_libdir}/vlc/plugins/video_filter/liboldmovie_plugin.so
|
||||
%{_libdir}/vlc/plugins/video_filter/libposterize_plugin.so
|
||||
%{_libdir}/vlc/plugins/video_filter/libpostproc_plugin.so
|
||||
%{_libdir}/vlc/plugins/video_filter/libpsychedelic_plugin.so
|
||||
%{_libdir}/vlc/plugins/video_filter/libpuzzle_plugin.so
|
||||
%{_libdir}/vlc/plugins/video_filter/libripple_plugin.so
|
||||
@@ -1105,16 +1095,6 @@ done
|
||||
%{_libdir}/vlc/plugins/codec/libgstdecode_plugin.so
|
||||
%endif
|
||||
|
||||
%if 0%{?BUILD_ORIG}
|
||||
%files codecs
|
||||
%{_libdir}/vlc/plugins/codec/libdca_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libfdkaac_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libfaad_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libx264_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libx26410b_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libx265_plugin.so
|
||||
%{_libdir}/vlc/plugins/video_filter/libpostproc_plugin.so
|
||||
|
||||
%files vdpau
|
||||
%dir %{_libdir}/vlc/plugins/vdpau
|
||||
%{_libdir}/vlc/libvlc_vdpau.so.0
|
||||
@@ -1126,7 +1106,6 @@ done
|
||||
%{_libdir}/vlc/plugins/vdpau/libvdpau_display_plugin.so
|
||||
%{_libdir}/vlc/plugins/vdpau/libvdpau_sharpen_plugin.so
|
||||
%{_libdir}/vlc/plugins/video_output/libglconv_vdpau_plugin.so
|
||||
%endif
|
||||
|
||||
%files -n libvlc%{libvlc}
|
||||
%{_libdir}/libvlc.so.%{libvlc}*
|
||||
@@ -1146,8 +1125,15 @@ done
|
||||
%{_libdir}/pkgconfig/libvlc.pc
|
||||
%{_libdir}/pkgconfig/vlc-plugin.pc
|
||||
%{_libdir}/vlc/libcompat.a
|
||||
%if 0%{?BUILD_ORIG}
|
||||
%{_libdir}/vlc/libvlc_vdpau.so
|
||||
|
||||
%if 0%{?BUILD_ORIG}
|
||||
%files codecs
|
||||
%{_libdir}/vlc/plugins/codec/libdca_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libfdkaac_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libx264_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libx26410b_plugin.so
|
||||
%{_libdir}/vlc/plugins/codec/libx265_plugin.so
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user