Accepting request 508481 from home:olh:branches:multimedia:xine
- Remove dependency to gcc5 - Use simple bcond for ffmpeg OBS-URL: https://build.opensuse.org/request/show/508481 OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-lib?expand=0&rev=97
This commit is contained in:
parent
c2f5d2c231
commit
4ab3ed86e2
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 6 10:15:58 UTC 2017 - olaf@aepfle.de
|
||||||
|
|
||||||
|
- Remove dependency to gcc5
|
||||||
|
- Use simple bcond for ffmpeg
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Apr 9 14:25:06 UTC 2017 - davejplater@gmail.com
|
Sun Apr 9 14:25:06 UTC 2017 - davejplater@gmail.com
|
||||||
|
|
||||||
|
@ -27,20 +27,18 @@ Name: xine-lib
|
|||||||
%bcond_without distributable
|
%bcond_without distributable
|
||||||
%bcond_with onlynondistributable
|
%bcond_with onlynondistributable
|
||||||
%bcond_without pulseaudio
|
%bcond_without pulseaudio
|
||||||
%if 0%{?suse_version} == 1315
|
%if 0%{?suse_version} > 1320
|
||||||
%bcond_without gcc5
|
BuildRequires: gcc
|
||||||
%else
|
%else
|
||||||
%bcond_with gcc5
|
%if 0%{?sle_version} == 120100
|
||||||
|
# Leap 42.1
|
||||||
|
BuildRequires: gcc5
|
||||||
|
%else
|
||||||
|
# Leap 42.2+ / SLE12SP2Backports
|
||||||
|
BuildRequires: gcc6
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} > 1320 || 0%{?is_opensuse} == 1
|
|
||||||
%bcond_without ffmpeg
|
%bcond_without ffmpeg
|
||||||
%else
|
|
||||||
%if %{with distributable}
|
|
||||||
%bcond_with ffmpeg
|
|
||||||
%else
|
|
||||||
%bcond_without ffmpeg
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
%bcond_with sdl
|
%bcond_with sdl
|
||||||
%bcond_with aalib
|
%bcond_with aalib
|
||||||
%bcond_with esd
|
%bcond_with esd
|
||||||
@ -49,9 +47,6 @@ Name: xine-lib
|
|||||||
%bcond_with directfb
|
%bcond_with directfb
|
||||||
%bcond_without modplug
|
%bcond_without modplug
|
||||||
#
|
#
|
||||||
%if %{with gcc5}
|
|
||||||
BuildRequires: gcc5
|
|
||||||
%endif
|
|
||||||
BuildRequires: ImageMagick-devel
|
BuildRequires: ImageMagick-devel
|
||||||
BuildRequires: Mesa-devel
|
BuildRequires: Mesa-devel
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
@ -592,11 +587,9 @@ sed -i -e 's|/tmp/vdr-xine|/var/lib/vdr-xine|g' src/vdr/input_vdr.c
|
|||||||
%build
|
%build
|
||||||
export CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing -fno-force-addr `pkg-config --cflags smbclient`"
|
export CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing -fno-force-addr `pkg-config --cflags smbclient`"
|
||||||
export CCASFLAGS=-Wa,--noexecstack
|
export CCASFLAGS=-Wa,--noexecstack
|
||||||
# Leap:42.2 won't build with gcc48
|
test -x "$(type -p gcc-5)" && export CC=gcc-5
|
||||||
%if %{with gcc5}
|
test -x "$(type -p gcc-6)" && export CC=gcc-6
|
||||||
export CC="gcc-5"
|
test -x "$(type -p gcc-7)" && export CC=gcc-7
|
||||||
export CPP="cpp-5"
|
|
||||||
%endif
|
|
||||||
echo 'AC_DEFUN([AC_REQUIRE_AUX_FILE])dnl' >> acinclude.m4
|
echo 'AC_DEFUN([AC_REQUIRE_AUX_FILE])dnl' >> acinclude.m4
|
||||||
# # hack for sles10
|
# # hack for sles10
|
||||||
## rm m4/gettext.m4 m4/intl.m4
|
## rm m4/gettext.m4 m4/intl.m4
|
||||||
|
Loading…
Reference in New Issue
Block a user