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 pkgname xine-lib
%define with_arts 0
Name: libxine Name: libxine
Version: 1.2.10 Version: 1.2.10
Release: 2mamba Release: 3mamba
Epoch: 2 Epoch: 2
Summary: A free multimedia player. It plays back CDs, DVDs, and VCDs Summary: A free multimedia player. It plays back CDs, DVDs, and VCDs
Group: System/Libraries 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 Patch1: %{name}-1.2.2-fix_building_on_non_x86_systems.patch
Patch2: libxine-1.2.3-missing-header.patch Patch2: libxine-1.2.3-missing-header.patch
License: GPL License: GPL
%if %with_arts
BuildRequires: libarts-devel
%endif
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ImageMagick-devel BuildRequires: ldconfig
BuildRequires: liba52dec-devel BuildRequires: libGConf-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: libGL-devel BuildRequires: libGL-devel
BuildRequires: libglib-devel
BuildRequires: libGLU-devel BuildRequires: libGLU-devel
BuildRequires: libgnome-vfs-devel BuildRequires: libICE-devel
BuildRequires: libgtk-devel BuildRequires: libMagick-devel
BuildRequires: libjack-devel
BuildRequires: liblame-devel
BuildRequires: libmng-devel
BuildRequires: libmodplug-devel
BuildRequires: libogg-devel
BuildRequires: libpostproc-devel
BuildRequires: libraw1394-devel
BuildRequires: libSDL-devel BuildRequires: libSDL-devel
BuildRequires: libsmbclient-devel BuildRequires: libSM-devel
BuildRequires: libspeex-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtheora-devel
BuildRequires: libvcdimager-devel
BuildRequires: libvorbis-devel
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: libx264-devel BuildRequires: libXau-devel
BuildRequires: libxcb-devel BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel BuildRequires: libXext-devel
BuildRequires: libXinerama-devel BuildRequires: libXinerama-devel
BuildRequires: libXv-devel BuildRequires: libXv-devel
BuildRequires: libxvidcore-devel
BuildRequires: libXvMC-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: libz-devel
BuildRequires: ORBit2-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libfreetype-devel BuildRequires: libfreetype-devel
BuildRequires: libbonobo-devel BuildRequires: libbonobo-devel
@ -74,14 +98,10 @@ BuildRequires: libslang-devel
%if "%{_target_cpu}" == "i586" %if "%{_target_cpu}" == "i586"
BuildRequires: librte-devel BuildRequires: librte-devel
%endif %endif
BuildRequires: libdvdnav-devel
BuildRequires: libpng-devel
BuildRequires: bison BuildRequires: bison
BuildRequires: gettext-devel BuildRequires: gettext-devel
BuildRequires: transfig >= 3.2.4 BuildRequires: transfig >= 3.2.4
BuildRequires: ImageMagick BuildRequires: ImageMagick
BuildRequires: libdca-devel
Requires: ImageMagick
Provides: %{pkgname} = %{epoch}:%{version}-%{release} Provides: %{pkgname} = %{epoch}:%{version}-%{release}
Requires: %{name}-tools = %{epoch}:%{version}-%{release} Requires: %{name}-tools = %{epoch}:%{version}-%{release}
Obsoletes: libxine1 Obsoletes: libxine1
@ -132,7 +152,7 @@ This is the devel package for the xine-lib library.
#%patch2 -p1 #%patch2 -p1
%build %build
export CFLAGS="$RPM_OPT_FLAGS -fomit-frame-pointer" export CFLAGS="$RPM_OPT_FLAGS -fomit-frame-pointer -Xlinker -zmuldefs"
%configure \ %configure \
--enable-ipv6 \ --enable-ipv6 \
--enable-fb \ --enable-fb \
@ -140,13 +160,11 @@ export CFLAGS="$RPM_OPT_FLAGS -fomit-frame-pointer"
--disable-altivec \ --disable-altivec \
--disable-vis \ --disable-vis \
--disable-mlib \ --disable-mlib \
%if %with_arts
--with-arts \
%else
--without-arts \
%endif
--with-w32-path=%{_libdir}/win32/ \ --with-w32-path=%{_libdir}/win32/ \
--with-external-ffmpeg \ --with-external-ffmpeg \
--with-external-dvdnav \
--with-wavpack \
--enable-vdpau \
--with-libflac \ --with-libflac \
--enable-modplug --enable-modplug
# --enable-dha-kmod # --enable-dha-kmod
@ -216,6 +234,9 @@ mv %{buildroot}%{_datadir}/doc/xine-lib \
%{_datadir}/xine-lib/* %{_datadir}/xine-lib/*
%changelog %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 * Wed Jan 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-2mamba
- obsolete libxine1, add a -tools subpackage, add debug package - obsolete libxine1, add a -tools subpackage, add debug package