forked from pool/xine-lib
Compare commits
7 Commits
Author | SHA256 | Date | |
---|---|---|---|
cea524580c | |||
ccf6169d1a | |||
231be736c9 | |||
ca115ddfa3 | |||
6b57444cbf | |||
d7b6a12c0e | |||
d740b353a6 |
@@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 26 01:38:02 UTC 2025 - Giacomo Comes <gcomes.obs@gmail.com>
|
||||||
|
|
||||||
|
- add -std=gnu11 to CFLAGS
|
||||||
|
* fix buid with gcc15
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 14 16:21:42 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Use %make_build instead of %jobs (boo#1237231)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 11 11:11:11 UTC 2024 - olaf@aepfle.de
|
||||||
|
|
||||||
|
- Convert BuildRequires from libfaad-devel to pkgconfig(faad2)
|
||||||
|
and everything else as well
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 8 05:29:06 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
Thu Aug 8 05:29:06 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xine-lib
|
# spec file for package xine-lib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -26,51 +26,50 @@ Name: xine-lib
|
|||||||
# default for buildservice is no patented codecs
|
# default for buildservice is no patented codecs
|
||||||
%bcond_without distributable
|
%bcond_without distributable
|
||||||
%bcond_with onlynondistributable
|
%bcond_with onlynondistributable
|
||||||
%if 0%{?suse_version} > 1320
|
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: pkgconfig(libmpeg2)
|
|
||||||
%else
|
|
||||||
BuildRequires: gcc8
|
|
||||||
%endif
|
|
||||||
%bcond_without sdl
|
%bcond_without sdl
|
||||||
%bcond_without jack
|
%bcond_without jack
|
||||||
#
|
#
|
||||||
BuildRequires: ImageMagick-devel
|
|
||||||
BuildRequires: alsa-devel
|
|
||||||
BuildRequires: flac-devel
|
|
||||||
BuildRequires: giflib-devel
|
BuildRequires: giflib-devel
|
||||||
BuildRequires: glib2-devel
|
|
||||||
BuildRequires: gnutls-devel
|
|
||||||
BuildRequires: gtk2-devel
|
|
||||||
BuildRequires: imlib2-devel
|
|
||||||
BuildRequires: krb5-devel
|
|
||||||
BuildRequires: libcdio-devel
|
|
||||||
BuildRequires: libdrm-devel
|
|
||||||
BuildRequires: libmng-devel
|
|
||||||
BuildRequires: libmpcdec-devel
|
BuildRequires: libmpcdec-devel
|
||||||
BuildRequires: libtheora-devel
|
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libv4l-devel >= 0.8.4
|
|
||||||
BuildRequires: libvorbis-devel
|
|
||||||
BuildRequires: lirc-devel
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: readline-devel
|
BuildRequires: pkgconfig(ImageMagick)
|
||||||
BuildRequires: speex-devel
|
BuildRequires: pkgconfig(alsa)
|
||||||
BuildRequires: update-desktop-files
|
|
||||||
BuildRequires: vcdimager-devel
|
|
||||||
BuildRequires: pkgconfig(dvdnav)
|
BuildRequires: pkgconfig(dvdnav)
|
||||||
BuildRequires: pkgconfig(egl)
|
BuildRequires: pkgconfig(egl)
|
||||||
|
BuildRequires: pkgconfig(flac)
|
||||||
BuildRequires: pkgconfig(freetype2)
|
BuildRequires: pkgconfig(freetype2)
|
||||||
BuildRequires: pkgconfig(gl)
|
BuildRequires: pkgconfig(gl)
|
||||||
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
BuildRequires: pkgconfig(gnutls)
|
||||||
|
BuildRequires: pkgconfig(gtk+-2.0)
|
||||||
|
BuildRequires: pkgconfig(imlib2)
|
||||||
|
BuildRequires: pkgconfig(krb5)
|
||||||
BuildRequires: pkgconfig(liba52)
|
BuildRequires: pkgconfig(liba52)
|
||||||
#Prevent building against ffmpeg 3
|
|
||||||
BuildRequires: pkgconfig(libavcodec) >= 58
|
BuildRequires: pkgconfig(libavcodec) >= 58
|
||||||
BuildRequires: pkgconfig(libavformat) >= 58
|
BuildRequires: pkgconfig(libavformat) >= 58
|
||||||
BuildRequires: pkgconfig(libavutil) >= 56
|
BuildRequires: pkgconfig(libavutil) >= 56
|
||||||
BuildRequires: pkgconfig(libbluray)
|
BuildRequires: pkgconfig(libbluray)
|
||||||
|
BuildRequires: pkgconfig(libcdio)
|
||||||
|
BuildRequires: pkgconfig(libdrm)
|
||||||
|
BuildRequires: pkgconfig(libmng)
|
||||||
|
BuildRequires: pkgconfig(libmodplug)
|
||||||
|
BuildRequires: pkgconfig(libmpeg2)
|
||||||
BuildRequires: pkgconfig(libpostproc) >= 55
|
BuildRequires: pkgconfig(libpostproc) >= 55
|
||||||
|
BuildRequires: pkgconfig(libpulse)
|
||||||
|
BuildRequires: pkgconfig(libv4l2)
|
||||||
|
BuildRequires: pkgconfig(libvcdinfo)
|
||||||
|
BuildRequires: pkgconfig(lirc)
|
||||||
BuildRequires: pkgconfig(mad)
|
BuildRequires: pkgconfig(mad)
|
||||||
|
%if 0%{?suse_version} < 1600
|
||||||
|
BuildRequires: readline-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: pkgconfig(readline)
|
||||||
|
%endif
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: pkgconfig(smbclient)
|
BuildRequires: pkgconfig(smbclient)
|
||||||
|
BuildRequires: pkgconfig(theora)
|
||||||
|
BuildRequires: pkgconfig(vorbis)
|
||||||
BuildRequires: pkgconfig(vpx)
|
BuildRequires: pkgconfig(vpx)
|
||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
BuildRequires: pkgconfig(xcb-shape)
|
BuildRequires: pkgconfig(xcb-shape)
|
||||||
@@ -81,21 +80,19 @@ BuildRequires: pkgconfig(xv)
|
|||||||
BuildRequires: pkgconfig(xvmc)
|
BuildRequires: pkgconfig(xvmc)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
%if %{without distributable}
|
%if %{without distributable}
|
||||||
BuildRequires: libfaad-devel
|
BuildRequires: pkgconfig(faad2)
|
||||||
BuildRequires: pkgconfig(glesv2)
|
BuildRequires: pkgconfig(glesv2)
|
||||||
BuildRequires: pkgconfig(libdts)
|
BuildRequires: pkgconfig(libdts)
|
||||||
BuildRequires: pkgconfig(libva)
|
BuildRequires: pkgconfig(libva)
|
||||||
BuildRequires: pkgconfig(libva-glx)
|
BuildRequires: pkgconfig(libva-glx)
|
||||||
BuildRequires: pkgconfig(vdpau)
|
BuildRequires: pkgconfig(vdpau)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libpulse-devel
|
|
||||||
%if %{with sdl}
|
%if %{with sdl}
|
||||||
BuildRequires: pkgconfig(sdl)
|
BuildRequires: pkgconfig(sdl)
|
||||||
%endif
|
%endif
|
||||||
%if %{with jack}
|
%if %{with jack}
|
||||||
BuildRequires: libjack-devel
|
BuildRequires: pkgconfig(jack)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libmodplug-devel
|
|
||||||
Version: 1.2.13
|
Version: 1.2.13
|
||||||
Release: 0
|
Release: 0
|
||||||
%define abiversion 2.11
|
%define abiversion 2.11
|
||||||
@@ -182,11 +179,11 @@ Autoren:
|
|||||||
Summary: Development environment for xine-based media players
|
Summary: Development environment for xine-based media players
|
||||||
License: GPL-2.0-or-later AND SUSE-Public-Domain
|
License: GPL-2.0-or-later AND SUSE-Public-Domain
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: freetype2-devel
|
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Requires: libv4l-devel
|
|
||||||
Requires: libxine2 = %{version}
|
Requires: libxine2 = %{version}
|
||||||
Requires: zlib-devel
|
Requires: pkgconfig(freetype2)
|
||||||
|
Requires: pkgconfig(libv4l2)
|
||||||
|
Requires: pkgconfig(zlib)
|
||||||
Obsoletes: libxine2-devel < %{version}-%{release}
|
Obsoletes: libxine2-devel < %{version}-%{release}
|
||||||
Provides: libxine2-devel = %{version}-%{release}
|
Provides: libxine2-devel = %{version}-%{release}
|
||||||
Obsoletes: xine-lib2-devel < %{version}-%{release}
|
Obsoletes: xine-lib2-devel < %{version}-%{release}
|
||||||
@@ -452,7 +449,7 @@ sed -i 's@libfaad@@g' contrib/Makefile.am
|
|||||||
rm -f m4/libtool15.m4
|
rm -f m4/libtool15.m4
|
||||||
sed -i -e 's|/tmp/vdr-xine|/var/lib/vdr-xine|g' src/vdr/input_vdr.c
|
sed -i -e 's|/tmp/vdr-xine|/var/lib/vdr-xine|g' src/vdr/input_vdr.c
|
||||||
|
|
||||||
export CFLAGS="%{optflags} -fno-strict-aliasing -fno-force-addr `pkg-config --cflags smbclient`"
|
export CFLAGS="%{optflags} -fno-strict-aliasing -fno-force-addr `pkg-config --cflags smbclient` -std=gnu11"
|
||||||
export CCASFLAGS=-Wa,--noexecstack
|
export CCASFLAGS=-Wa,--noexecstack
|
||||||
test -x "$(type -p gcc-7)" && export CC="$_"
|
test -x "$(type -p gcc-7)" && export CC="$_"
|
||||||
test -x "$(type -p gcc-8)" && export CC="$_"
|
test -x "$(type -p gcc-8)" && export CC="$_"
|
||||||
@@ -492,7 +489,7 @@ echo 'AC_DEFUN([AC_REQUIRE_AUX_FILE])dnl' >> acinclude.m4
|
|||||||
# --disable-libxine-builtins
|
# --disable-libxine-builtins
|
||||||
# --with-install-plugins-helper=${_prefix}/lib/opensuse-codecs-installer
|
# --with-install-plugins-helper=${_prefix}/lib/opensuse-codecs-installer
|
||||||
echo $CFLAGS
|
echo $CFLAGS
|
||||||
make %{?jobs:-j%{jobs}} V=1
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
|
Reference in New Issue
Block a user