removed requirement for ImageMagick [release 1.2.10-3mamba;Sat Oct 17 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 06:12:16 +01:00
parent 784453840d
commit 0fd7658233

View File

@ -1,9 +1,8 @@
%define pkgname xine-lib
%define with_arts 0
Name: libxine
Version: 1.2.10
Release: 2mamba
Release: 3mamba
Epoch: 2
Summary: A free multimedia player. It plays back CDs, DVDs, and VCDs
Group: System/Libraries
@ -16,55 +15,80 @@ Patch0: %{name}-1.1.19-ffmpeg.patch
Patch1: %{name}-1.2.2-fix_building_on_non_x86_systems.patch
Patch2: libxine-1.2.3-missing-header.patch
License: GPL
%if %with_arts
BuildRequires: libarts-devel
%endif
## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: glibc-devel
BuildRequires: ImageMagick-devel
BuildRequires: liba52dec-devel
BuildRequires: libaa-devel
BuildRequires: libalsa-devel
BuildRequires: libaudiofile-devel
BuildRequires: libcaca-devel
BuildRequires: libcdio-devel
BuildRequires: libdc1394-devel
BuildRequires: libdirectfb-devel
BuildRequires: libesound-devel
BuildRequires: libfaac-devel
BuildRequires: libfaad2-devel
BuildRequires: libfame-devel
BuildRequires: libflac-devel
BuildRequires: ldconfig
BuildRequires: libGConf-devel
BuildRequires: libGL-devel
BuildRequires: libglib-devel
BuildRequires: libGLU-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libgtk-devel
BuildRequires: libjack-devel
BuildRequires: liblame-devel
BuildRequires: libmng-devel
BuildRequires: libmodplug-devel
BuildRequires: libogg-devel
BuildRequires: libpostproc-devel
BuildRequires: libraw1394-devel
BuildRequires: libICE-devel
BuildRequires: libMagick-devel
BuildRequires: libSDL-devel
BuildRequires: libsmbclient-devel
BuildRequires: libspeex-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtheora-devel
BuildRequires: libvcdimager-devel
BuildRequires: libvorbis-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libx264-devel
BuildRequires: libxcb-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXinerama-devel
BuildRequires: libXv-devel
BuildRequires: libxvidcore-devel
BuildRequires: libXvMC-devel
BuildRequires: liba52dec-devel
BuildRequires: libaa-devel
BuildRequires: libalsa-devel
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libbluray-devel
BuildRequires: libbsd-devel
BuildRequires: libcaca-devel
BuildRequires: libcdio-devel
BuildRequires: libdca-devel
BuildRequires: libdirectfb-devel
BuildRequires: libdvdnav-devel
BuildRequires: libdvdread-devel
BuildRequires: libe2fs-devel
BuildRequires: libesound-devel
BuildRequires: libfaad2-devel
BuildRequires: libfame-devel
BuildRequires: libflac-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libgnutls-devel
BuildRequires: libgomp-devel
BuildRequires: libgpm-devel
BuildRequires: libjack-devel
BuildRequires: libjpeg-devel
BuildRequires: libkrb5-devel
BuildRequires: libmad-devel
BuildRequires: libmng-devel
BuildRequires: libmodplug-devel
BuildRequires: libnfs-devel
BuildRequires: libnsl-devel
BuildRequires: libogg-devel
BuildRequires: libopenssl-devel
BuildRequires: libpng-devel
BuildRequires: libpostproc-ffmpeg-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libslang-devel
BuildRequires: libsmbclient-devel
BuildRequires: libspeex-devel
BuildRequires: libssh2-devel
BuildRequires: libtheora-devel
BuildRequires: libtirpc-devel
BuildRequires: libuuid-devel
BuildRequires: libv4l-devel
BuildRequires: libva-devel
BuildRequires: libvcdimager-devel
BuildRequires: libvdpau-devel
BuildRequires: libvorbis-devel
BuildRequires: libvpx-devel
BuildRequires: libwavpack-devel
BuildRequires: libwayland-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libxcb-devel
BuildRequires: libxdg-basedir-devel
BuildRequires: libz-devel
BuildRequires: ORBit2-devel
## AUTOBUILDREQ-END
BuildRequires: libfreetype-devel
BuildRequires: libbonobo-devel
@ -74,14 +98,10 @@ BuildRequires: libslang-devel
%if "%{_target_cpu}" == "i586"
BuildRequires: librte-devel
%endif
BuildRequires: libdvdnav-devel
BuildRequires: libpng-devel
BuildRequires: bison
BuildRequires: gettext-devel
BuildRequires: transfig >= 3.2.4
BuildRequires: ImageMagick
BuildRequires: libdca-devel
Requires: ImageMagick
Provides: %{pkgname} = %{epoch}:%{version}-%{release}
Requires: %{name}-tools = %{epoch}:%{version}-%{release}
Obsoletes: libxine1
@ -132,7 +152,7 @@ This is the devel package for the xine-lib library.
#%patch2 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -fomit-frame-pointer"
export CFLAGS="$RPM_OPT_FLAGS -fomit-frame-pointer -Xlinker -zmuldefs"
%configure \
--enable-ipv6 \
--enable-fb \
@ -140,13 +160,11 @@ export CFLAGS="$RPM_OPT_FLAGS -fomit-frame-pointer"
--disable-altivec \
--disable-vis \
--disable-mlib \
%if %with_arts
--with-arts \
%else
--without-arts \
%endif
--with-w32-path=%{_libdir}/win32/ \
--with-external-ffmpeg \
--with-external-dvdnav \
--with-wavpack \
--enable-vdpau \
--with-libflac \
--enable-modplug
# --enable-dha-kmod
@ -216,6 +234,9 @@ mv %{buildroot}%{_datadir}/doc/xine-lib \
%{_datadir}/xine-lib/*
%changelog
* Sat Oct 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-3mamba
- removed requirement for ImageMagick
* Wed Jan 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-2mamba
- obsolete libxine1, add a -tools subpackage, add debug package