%define pkgname xine-lib Name: libxine Version: 1.2.12 Release: 3mamba Epoch: 2 Summary: A free multimedia player. It plays back CDs, DVDs, and VCDs Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Aleph0 URL: http://xinehq.de Source: http://downloads.sourceforge.net/sourceforge/xine/%{pkgname}-%{version}.tar.xz 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 Patch3: libxine-1.2.12-libdav1d-1.0.0.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libGConf-devel BuildRequires: libGLU-devel BuildRequires: libICE-devel BuildRequires: libMagick-devel BuildRequires: libSDL-devel BuildRequires: libSM-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libXdmcp-devel BuildRequires: libXext-devel BuildRequires: libXinerama-devel BuildRequires: libXv-devel BuildRequires: libXvMC-devel BuildRequires: liba52dec-devel BuildRequires: libaa-devel BuildRequires: libalsa-devel BuildRequires: libaom-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: libdav1d-devel BuildRequires: libdca-devel BuildRequires: libdirectfb-devel BuildRequires: libdvdnav-devel BuildRequires: libdvdread-devel BuildRequires: libe2fs-devel BuildRequires: libfaad2-devel BuildRequires: libfame-devel BuildRequires: libflac-devel BuildRequires: libgcrypt-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libglvnd-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: libmusepack-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 ## AUTOBUILDREQ-END BuildRequires: libMagick-devel >= 7.1.0.35-1mamba BuildRequires: libfreetype-devel BuildRequires: libbonobo-devel BuildRequires: libgomp-devel BuildRequires: libIDL-devel BuildRequires: libslang-devel BuildRequires: libdav1d-devel %if "%{_target_cpu}" == "i586" BuildRequires: librte-devel %endif BuildRequires: bison BuildRequires: gettext-devel BuildRequires: transfig >= 3.2.4 BuildRequires: ImageMagick Provides: %{pkgname} = %{epoch}:%{version}-%{release} Requires: %{name}-tools = %{epoch}:%{version}-%{release} Obsoletes: libxine1 < 2:1.2.12 # FIXME (missing Build Requirements): # - sgmltools # - checking for Libstk... no # - checking for DirectFB... no # - checking for DirectX... no # - checking for rte_init in -lrte... no # conftest.c:(.text+0xd): undefined reference to `rte_init' # - checking for polypaudio... no %description xine is a free (GPL-licensed) high-performance, portable and reusable multimedia playback engine. xine itself is a shared library with an easy to use, yet powerful API which is used by many applications for smooth video playback and video processing purposes. %package devel Summary: Devel files for xine libraries Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name}-tools = %{epoch}:%{version}-%{release} Provides: %{pkgname}-devel = %{epoch}:%{version}-%{release} Obsoletes: libxine1-devel < 2:1.2.12 %description devel xine is a free (GPL-licensed) high-performance, portable and reusable multimedia playback engine. xine itself is a shared library with an easy to use, yet powerful API which is used by many applications for smooth video playback and video processing purposes. This is the devel package for the xine-lib library. %package tools Summary: Tools provided with xine libraries Group: Applications/Multimedia Requires: %{name} = %{epoch}:%{version}-%{release} %description tools xine is a free (GPL-licensed) high-performance, portable and reusable multimedia playback engine. xine itself is a shared library with an easy to use, yet powerful API which is used by many applications for smooth video playback and video processing purposes. This is the devel package for the xine-lib library. %debug_package %prep %setup -q -n %{pkgname}-%{version} #%patch2 -p1 %patch3 -p1 -b .libdav1d-1.0.0 %build export CFLAGS="$RPM_OPT_FLAGS -fomit-frame-pointer -Xlinker -zmuldefs" %configure \ --enable-ipv6 \ --enable-fb \ --enable-directfb \ --disable-altivec \ --disable-vis \ --disable-mlib \ --with-w32-path=%{_libdir}/win32/ \ --with-external-ffmpeg \ --with-external-dvdnav \ --with-wavpack \ --enable-vdpau \ --with-libflac \ --enable-modplug \ --without-esound # --enable-dha-kmod find ./ -name Makefile -exec \ sed -i "s/\(.*-mcpu=\)[^ ]*\(.*\)/\1%{_target_cpu}\2/g" {} \; # fix to set correct ffmpeg include locations sed -i "s|\(#define HAVE_FFMPEG_AVUTIL_H 1\)|//\1|" include/configure.h %make \ %ifarch arm MMAL_LIBS="-lbcm_host -lmmal -lmmal_core -lmmal_util -lvchostif" %endif %install [ %{buildroot} != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang libxine2 # create the folder for w32codecs install -d %{buildroot}%{_libdir}/win32/ echo "\ win32 native dll codecs are available at http://www.mplayerhq.hu/MPlayer/releases/codecs/ " > %{buildroot}%{_libdir}/win32/README_w32codecs mv %{buildroot}%{_datadir}/doc/xine-lib \ %{buildroot}%{_datadir}/doc/libxine-%{version} %clean [ %{buildroot} != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f libxine2.lang %defattr(-,root,root) %{_libdir}/*.so.* %dir %{_libdir}/xine %{_libdir}/xine/plugins/ %dir %{_libdir}/win32 %{_libdir}/win32/README_w32codecs %doc AUTHORS COPYING %files devel %defattr(-,root,root) %{_bindir}/xine-config %{_datadir}/aclocal/xine.m4 %dir %{_includedir}/xine %{_includedir}/xine/*.h %{_includedir}/xine.h %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/pkgconfig/libxine.pc %{_datadir}/doc/libxine-%{version}/ %{_mandir}/man1/xine-config.* %{_mandir}/man5/xine.* %doc ChangeLog CREDITS TODO %files tools %defattr(-,root,root) %{_bindir}/xine-list-* %{_mandir}/man1/xine-list-* %dir %{_datadir}/xine-lib %{_datadir}/xine-lib/* %changelog * Wed May 25 2022 Silvan Calarco 1.2.12-3mamba - rebuilt by autoport with build requirements: libMagick-devel>=7.1.0.35-1mamba * Mon May 23 2022 Silvan Calarco 1.2.12-2mamba - rebuilt with libdav1d * Thu Mar 10 2022 Automatic Build System 1.2.12-1mamba - automatic version update by autodist * Fri Jan 22 2021 Silvan Calarco 1.2.11-2mamba - rebuilt without libesound * Mon Dec 21 2020 Automatic Build System 1.2.11-1mamba - automatic version update by autodist * Sat Oct 17 2020 Silvan Calarco 1.2.10-3mamba - removed requirement for ImageMagick * Wed Jan 01 2020 Silvan Calarco 1.2.10-2mamba - obsolete libxine1, add a -tools subpackage, add debug package * Tue Dec 31 2019 Automatic Build System 1.2.10-1mamba - automatic version update by autodist * Tue Jul 08 2014 Automatic Build System 1.2.6-1mamba - automatic version update by autodist * Tue Apr 08 2014 Automatic Build System 1.2.5-1mamba - automatic version update by autodist * Tue Sep 24 2013 Automatic Build System 1.2.4-1mamba - automatic version update by autodist * Sat Jun 01 2013 Automatic Build System 1.2.3-1mamba - automatic version update by autodist * Sun Jun 10 2012 Automatic Build System 1.2.2-1mamba - update to 1.2.2 * Mon Apr 02 2012 Automatic Build System 1.2.1-2mamba - automatic version update by autodist * Sun Feb 12 2012 Automatic Build System 1.2.1-1mamba - automatic version update by autodist * Mon Nov 14 2011 Automatic Build System 1.1.20-1mamba - automatic version update by autodist * Sat Nov 05 2011 Silvan Calarco 1.1.19-3mamba - rebuilt against ffmpeg 0.8 * Sun Aug 22 2010 Automatic Build System 1.1.19-2mamba - automatic rebuild by autodist * Mon Jul 26 2010 Automatic Build System 1.1.19-1mamba - automatic update to 1.1.19 by autodist * Fri Jul 09 2010 Automatic Build System 1.1.18.1-5mamba - automatic rebuild by autodist * Wed Jun 30 2010 Automatic Build System 1.1.18.1-4mamba - automatic rebuild by autodist * Wed Jun 09 2010 Automatic Build System 1.1.18.1-3mamba - automatic rebuild by autodist * Thu Jun 03 2010 Automatic Build System 1.1.18.1-2mamba - automatic rebuild by autodist * Wed Mar 10 2010 Davide Madrisan 1.1.18.1-1mamba - update to 1.1.18.1 * Thu Jan 14 2010 Automatic Build System 1.1.17-2mamba - automatic rebuild by autodist * Sun Dec 06 2009 Automatic Build System 1.1.17-1mamba - automatic update to 1.1.17 by autodist * Wed Nov 25 2009 Automatic Build System 1.1.16.3-5mamba - automatic rebuild by autodist * Tue Jul 14 2009 Automatic Build System 1.1.16.3-4mamba - automatic rebuild by autodist * Mon Jun 29 2009 Automatic Build System 1.1.16.3-3mamba - automatic rebuild by autodist * Wed May 20 2009 Automatic Build System 1.1.16.3-2mamba - automatic rebuild by autodist * Mon Apr 06 2009 Silvan Calarco 1.1.16.3-1mamba - automatic update to 1.1.16.3 by autodist * Mon Feb 16 2009 Silvan Calarco 1.1.16.2-2mamba - rebuilt * Tue Feb 10 2009 Silvan Calarco 1.1.16.2-1mamba - automatic update to 1.1.16.2 by autodist * Mon Jan 12 2009 Silvan Calarco 1.1.16.1-1mamba - automatic update to 1.1.16.1 by autodist * Thu Jan 08 2009 Silvan Calarco 1.1.16-1mamba - automatic update to 1.1.16 by autodist * Fri Jan 02 2009 Silvan Calarco 1.1.15-5mamba - automatic rebuild by autodist * Wed Dec 10 2008 Silvan Calarco 1.1.15-4mamba - automatic rebuild by autodist * Fri Nov 14 2008 Silvan Calarco 1.1.15-3mamba - automatic rebuild by autodist * Fri Sep 05 2008 Silvan Calarco 1.1.15-2mamba - fixed a compilation issue in detected while compiling kde software * Wed Aug 13 2008 gil 1.1.15-1mamba - update to 1.1.15 * Mon Jun 30 2008 Silvan Calarco 1.1.14-1mamba - update to 1.1.14 * Tue Jun 24 2008 Silvan Calarco 1.1.13-4mamba - enabled build with libflac * Sat Jun 21 2008 Silvan Calarco 1.1.13-3mamba - rebuilt with use of external ffmpeg - disabled arts * Tue Jun 17 2008 Silvan Calarco 1.1.13-2mamba - rebuilt against ImageMagick 6.4.1 * Mon Jun 16 2008 Aleph0 1.1.13-1mamba - update to 1.1.13 - fixed CVE-2008-1878 and other integer overflows * Tue Apr 15 2008 Aleph0 1.1.12-1mamba - update to 1.1.12 (also fixes CVE-2008-1686) * Thu Mar 20 2008 Aleph0 1.1.11-1mamba - update to 1.1.11 (also fixes CVE-2008-0073) * Tue Feb 12 2008 Aleph0 1.1.10.1-1mamba - update to 1.1.10.1 (fixes CVE-2008-0486) * Tue Jan 29 2008 Aleph0 1.1.10-1mamba - update to 1.1.10 (fixes CVE-2006-1664) * Tue Jan 15 2008 Aleph0 1.1.9.1-1mamba - update to 1.1.9.1 - fix against CVE-2008-0225 * Mon Jan 07 2008 Aleph0 1.1.9-1mamba - update to 1.1.9 * Thu Aug 30 2007 Aleph0 1.1.8-1mamba - update to 1.1.8 * Thu Jun 07 2007 Aleph0 1.1.7-1mamba - update to 1.1.7 (built with arts support for backward compatibility) - added the build requirements for libdca-devel * Wed Apr 18 2007 Aleph0 1.1.6-2mamba - rebuilt againt libaa 1.4.0 * Wed Apr 18 2007 Aleph0 1.1.6-1mamba - update to version 1.1.6 by autospec - build against libcaca 0.99.beta11 * Tue Apr 10 2007 Aleph0 1.1.5-1mamba - update to version 1.1.5 by autospec - fixed security issue CVE-2007-1246 * Mon Jan 29 2007 Aleph0 1.1.4-1qilnx - update to version 1.1.4 by autospec - documentation moved to devel package - manpage for xine-config moved to devel package * Wed Jan 17 2007 Aleph0 1.1.3-1qilnx - update to version 1.1.3 by autospec - security update: fixes CVE-2006-2200 and a buffer overrun in Real Media input plugin * Tue Jul 11 2006 Davide Madrisan 1.1.2-1qilnx - update to version 1.1.2 by autospec - this version fixes CVE-2005-4048, CVE-2006-2802, CVE-2006-1664 * Wed Jun 14 2006 Stefano Cotta Ramusino 1.1.1-5qilnx - added conditional build requirement * Wed Jan 11 2006 Davide Madrisan 1.1.1-4qilnx - fixed requirement for devel package - added missing build requirement (libdirectfb-devel) * Mon Jan 02 2006 Davide Madrisan 1.1.1-3qilnx - rebuilt * Wed Dec 21 2005 Davide Madrisan 1.1.1-2qilnx - security update for CVE-2005-4048 (embedded ffmpeg), qibug#99 * Thu Nov 17 2005 Davide Madrisan 1.1.1-1qilnx - update to version 1.1.1 by autospec * Tue Nov 08 2005 Davide Madrisan 1.1.0-1qilnx - update to version 1.1.0 by autospec - fixed security issue QSA-2005-118 (CAN-2005-2967) * Wed Jul 27 2005 Davide Madrisan 1.0.2-1qilnx - update to version 1.0.2 by autospec * Thu Jun 09 2005 Davide Madrisan 1.0.1-3qilnx - rebuild with support for speex enabled * Thu Apr 28 2005 Davide Madrisan 1.0.1-2qilnx - added some missing build requirements * Tue Apr 26 2005 Davide Madrisan 1.0.1-1qilnx - update to version 1.0.1 by autospec * Sat Jan 01 2005 Silvan Calarco 1.0-1qilnx - add obsolete entry for previous rc versions * Sat Jan 01 2005 Silvan Calarco 1.0-1qilnx - update to version 1.0 * Fri Dec 24 2004 Davide Madrisan 1rc8-2qilnx - rebuild with new libe2fs-devel, libkrb5-devel packages * Thu Dec 16 2004 Davide Madrisan 1rc8-1qilnx - update to version 1rc8 by autospec * Tue Nov 16 2004 Davide Madrisan 1rc7-1qilnx - new version rebuild * Sat Oct 02 2004 Davide Madrisan 1rc6-1qilnx - new version rebuild - added needed BuildRequires entry for `libcaca' and `libtheora' - added the file README_w32codecs - also fixes security issues (QSA-2004-039) * Sat Jun 26 2004 Davide Madrisan 1rc5-1qilnx - new version rebuild (important bugfixes and a security fix) * Tue May 11 2004 Davide Madrisan 1rc4-2qilnx - hack to force the compilation for %{_target_cpu} cpus * Fri Apr 30 2004 Davide Madrisan 1rc4-1qilnx - new version rebuild (fixes a vulnerability in xine's RTSP streaming code) * Fri Apr 09 2004 Davide Madrisan 1rc3c-1qilnx - new version rebuild - added the directory for the win32dll codecs - added support for Free Lossless Audio Codec (FLAC) and Fast Assembly Mpeg Encoding (FAME) library * Sat Mar 20 2004 Davide Madrisan 1rc3b-1qilnx - new version rebuild - added ESD (libesound) support * Mon Dec 29 2003 Davide Madrisan 1rc3a-1qilnx - rebuilt with latest rc ("emergency bugfix release") * Thu Dec 18 2003 Davide Madrisan 1rc3-1qilnx - rebuilt with latest rc * Mon Oct 27 2003 Davide Madrisan 1rc2-1qilnx - rebuilt with latest version - added missing BuildRequires entries * Mon Oct 06 2003 Davide Madrisan 1rc1-1qilnx - rebuilt with version 1rc1 * Thu Sep 04 2003 Davide Madrisan 1rc0a-2qilnx - added support for libSDL * Wed Sep 03 2003 Davide Madrisan 1rc0a-1qilnx - rebuilt with version 1rc0a - dependencies updated to support OGG/VORBIS, freetype2, gnome-vfs - workarounds to force gcc -march to i586 and bypass the include Xlib.h bug * Thu Jul 31 2003 Silvan Calarco 1beta12-1qilnx - first build for xine