Projects
Multimedia
kodi.binary-addons
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 35
View file
kodi.binary-addons-noX-raspberry-pi.spec
Changed
@@ -73,12 +73,12 @@ BuildRequires: ccache BuildRequires: cmake BuildRequires: fdupes -%if 0%{?suse_version} > 1320 && 0%{?sle_version} == 0 -BuildRequires: gcc9 -BuildRequires: gcc9-c++ +%if 0%{?suse_version} > 1500 +BuildRequires: gcc +BuildRequires: gcc-c++ %else -BuildRequires: gcc8 -BuildRequires: gcc8-c++ +BuildRequires: gcc9 +BuildRequires: gcc9-c++ %endif %if %{noX_build} BuildRequires: kodi-noX-devel = %{version} @@ -166,6 +166,10 @@ %patch1 %patch2 +%build + +%install + pushd cmake/addons tar xvf %{SOURCE3} mkdir -pv build/bootstrap/binary-addons/src @@ -183,11 +187,10 @@ echo "c3f0b886374981bb20fabcf323d755db4be6dba42064599481da64a85f5b3571" > depends/common/rapidxml/rapidxml.sha256 popd -%build sed -i~ 's/@@@_libdir@@@/%{_lib}/' cmake/scripts/common/AddonHelpers.cmake diff -u cmake/scripts/common/AddonHelpers.cmake~ cmake/scripts/common/AddonHelpers.cmake && exit 0 - +%if 0 # Tumbleweed and Factory have GCC 5.x ATM (20160309), source needs patching for this #%if 0%{?suse_version} > 1320 # patch audiodecoders.ncsf @@ -209,15 +212,15 @@ #done #patch -p 0 < %{PATCH7} #make VERBOSE=1 %{?_smp_mflags} - -%if 0%{?suse_version} > 1320 && 0%{?sle_version} == 0 - export CC=gcc-9 - export CXX=g++-9 -%else - export CC=gcc-8 - export CXX=g++-8 %endif +test -x "$(type -P gcc)" && CC="$_" +test -x "$(type -P g++)" && CXX="$_" +test -x "$(type -P gcc-9)" && CC="$_" +test -x "$(type -P g++-9)" && CXX="$_" +CC="$(readlink -f ${CC})" +CXX="$(readlink -f ${CXX})" + pushd tools/depends/target/binary-addons mkdir -p native %cmake \ @@ -251,7 +254,6 @@ sed -i -e 's#""##' depends/CMakeFiles/rapidxml.dir/build.make make -O %{?_smp_mflags} VERBOSE=1 CC=$CC CXX=$CXX #%{?_smp_mflags} -%install %fdupes %{buildroot}
View file
kodi.binary-addons-noX-raspberry-pi2.spec
Changed
@@ -73,12 +73,12 @@ BuildRequires: ccache BuildRequires: cmake BuildRequires: fdupes -%if 0%{?suse_version} > 1320 && 0%{?sle_version} == 0 -BuildRequires: gcc9 -BuildRequires: gcc9-c++ +%if 0%{?suse_version} > 1500 +BuildRequires: gcc +BuildRequires: gcc-c++ %else -BuildRequires: gcc8 -BuildRequires: gcc8-c++ +BuildRequires: gcc9 +BuildRequires: gcc9-c++ %endif %if %{noX_build} BuildRequires: kodi-noX-devel = %{version} @@ -166,6 +166,10 @@ %patch1 %patch2 +%build + +%install + pushd cmake/addons tar xvf %{SOURCE3} mkdir -pv build/bootstrap/binary-addons/src @@ -183,11 +187,10 @@ echo "c3f0b886374981bb20fabcf323d755db4be6dba42064599481da64a85f5b3571" > depends/common/rapidxml/rapidxml.sha256 popd -%build sed -i~ 's/@@@_libdir@@@/%{_lib}/' cmake/scripts/common/AddonHelpers.cmake diff -u cmake/scripts/common/AddonHelpers.cmake~ cmake/scripts/common/AddonHelpers.cmake && exit 0 - +%if 0 # Tumbleweed and Factory have GCC 5.x ATM (20160309), source needs patching for this #%if 0%{?suse_version} > 1320 # patch audiodecoders.ncsf @@ -209,15 +212,15 @@ #done #patch -p 0 < %{PATCH7} #make VERBOSE=1 %{?_smp_mflags} - -%if 0%{?suse_version} > 1320 && 0%{?sle_version} == 0 - export CC=gcc-9 - export CXX=g++-9 -%else - export CC=gcc-8 - export CXX=g++-8 %endif +test -x "$(type -P gcc)" && CC="$_" +test -x "$(type -P g++)" && CXX="$_" +test -x "$(type -P gcc-9)" && CC="$_" +test -x "$(type -P g++-9)" && CXX="$_" +CC="$(readlink -f ${CC})" +CXX="$(readlink -f ${CXX})" + pushd tools/depends/target/binary-addons mkdir -p native %cmake \ @@ -251,7 +254,6 @@ sed -i -e 's#""##' depends/CMakeFiles/rapidxml.dir/build.make make -O %{?_smp_mflags} VERBOSE=1 CC=$CC CXX=$CXX #%{?_smp_mflags} -%install %fdupes %{buildroot}
View file
kodi.binary-addons-noX.spec
Changed
@@ -73,12 +73,12 @@ BuildRequires: ccache BuildRequires: cmake BuildRequires: fdupes -%if 0%{?suse_version} > 1320 && 0%{?sle_version} == 0 -BuildRequires: gcc9 -BuildRequires: gcc9-c++ +%if 0%{?suse_version} > 1500 +BuildRequires: gcc +BuildRequires: gcc-c++ %else -BuildRequires: gcc8 -BuildRequires: gcc8-c++ +BuildRequires: gcc9 +BuildRequires: gcc9-c++ %endif %if %{noX_build} BuildRequires: kodi-noX-devel = %{version} @@ -166,6 +166,10 @@ %patch1 %patch2 +%build + +%install + pushd cmake/addons tar xvf %{SOURCE3} mkdir -pv build/bootstrap/binary-addons/src @@ -183,11 +187,10 @@ echo "c3f0b886374981bb20fabcf323d755db4be6dba42064599481da64a85f5b3571" > depends/common/rapidxml/rapidxml.sha256 popd -%build sed -i~ 's/@@@_libdir@@@/%{_lib}/' cmake/scripts/common/AddonHelpers.cmake diff -u cmake/scripts/common/AddonHelpers.cmake~ cmake/scripts/common/AddonHelpers.cmake && exit 0 - +%if 0 # Tumbleweed and Factory have GCC 5.x ATM (20160309), source needs patching for this #%if 0%{?suse_version} > 1320 # patch audiodecoders.ncsf @@ -209,15 +212,15 @@ #done #patch -p 0 < %{PATCH7} #make VERBOSE=1 %{?_smp_mflags} - -%if 0%{?suse_version} > 1320 && 0%{?sle_version} == 0 - export CC=gcc-9 - export CXX=g++-9 -%else - export CC=gcc-8 - export CXX=g++-8 %endif +test -x "$(type -P gcc)" && CC="$_" +test -x "$(type -P g++)" && CXX="$_" +test -x "$(type -P gcc-9)" && CC="$_" +test -x "$(type -P g++-9)" && CXX="$_" +CC="$(readlink -f ${CC})" +CXX="$(readlink -f ${CXX})" + pushd tools/depends/target/binary-addons mkdir -p native %cmake \ @@ -251,7 +254,6 @@ sed -i -e 's#""##' depends/CMakeFiles/rapidxml.dir/build.make make -O %{?_smp_mflags} VERBOSE=1 CC=$CC CXX=$CXX #%{?_smp_mflags} -%install %fdupes %{buildroot}
View file
kodi.binary-addons.spec
Changed
@@ -73,12 +73,12 @@ BuildRequires: ccache BuildRequires: cmake BuildRequires: fdupes -%if 0%{?suse_version} > 1320 && 0%{?sle_version} == 0 -BuildRequires: gcc9 -BuildRequires: gcc9-c++ +%if 0%{?suse_version} > 1500 +BuildRequires: gcc +BuildRequires: gcc-c++ %else -BuildRequires: gcc8 -BuildRequires: gcc8-c++ +BuildRequires: gcc9 +BuildRequires: gcc9-c++ %endif %if %{noX_build} BuildRequires: kodi-noX-devel = %{version} @@ -166,6 +166,10 @@ %patch1 %patch2 +%build + +%install + pushd cmake/addons tar xvf %{SOURCE3} mkdir -pv build/bootstrap/binary-addons/src @@ -183,11 +187,10 @@ echo "c3f0b886374981bb20fabcf323d755db4be6dba42064599481da64a85f5b3571" > depends/common/rapidxml/rapidxml.sha256 popd -%build sed -i~ 's/@@@_libdir@@@/%{_lib}/' cmake/scripts/common/AddonHelpers.cmake diff -u cmake/scripts/common/AddonHelpers.cmake~ cmake/scripts/common/AddonHelpers.cmake && exit 0 - +%if 0 # Tumbleweed and Factory have GCC 5.x ATM (20160309), source needs patching for this #%if 0%{?suse_version} > 1320 # patch audiodecoders.ncsf @@ -209,15 +212,15 @@ #done #patch -p 0 < %{PATCH7} #make VERBOSE=1 %{?_smp_mflags} - -%if 0%{?suse_version} > 1320 && 0%{?sle_version} == 0 - export CC=gcc-9 - export CXX=g++-9 -%else - export CC=gcc-8 - export CXX=g++-8 %endif +test -x "$(type -P gcc)" && CC="$_" +test -x "$(type -P g++)" && CXX="$_" +test -x "$(type -P gcc-9)" && CC="$_" +test -x "$(type -P g++-9)" && CXX="$_" +CC="$(readlink -f ${CC})" +CXX="$(readlink -f ${CXX})" + pushd tools/depends/target/binary-addons mkdir -p native %cmake \ @@ -251,7 +254,6 @@ sed -i -e 's#""##' depends/CMakeFiles/rapidxml.dir/build.make make -O %{?_smp_mflags} VERBOSE=1 CC=$CC CXX=$CXX #%{?_smp_mflags} -%install %fdupes %{buildroot}
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.