Projects
Staging
x265
Sign Up
Log In
Username
Password
Problem getting expanded diff: bad link: could not apply patch 'project.diff'
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 23
View file
project.diff
Deleted
@@ -1,58 +0,0 @@ ---- x265.spec.orig -+++ x265.spec -@@ -30,11 +30,20 @@ Group: Productivity/Multimedia/ - URL: https://bitbucket.org/multicoreware/x265_git - Source0: https://bitbucket.org/multicoreware/x265_git/downloads/%{name}_%{version}.tar.gz - Patch1: x265.pkgconfig.patch --Patch2: x265-fix_enable512.patch - Patch3: 0001-Fix-arm-flags.patch - Patch4: 0004-Do-not-build-with-assembly-support-on-arm.patch --BuildRequires: cmake >= 2.8.8 -+BuildRequires: cmake -+%if 0%{?suse_version} > 1500 - BuildRequires: gcc-c++ -+%else -+%if 0%{?sle_version} > 150500 -+BuildRequires: gcc13 -+BuildRequires: gcc13-c++ -+%else -+BuildRequires: gcc10 -+BuildRequires: gcc10-c++ -+%endif -+%endif - BuildRequires: nasm >= 2.13 - BuildRequires: pkgconfig - %ifarch x86_64 -@@ -73,16 +82,27 @@ x265 is a free library for encoding next - streams. - - %prep --%setup -q -n %{name}_%{version} --%autopatch -p1 -+%autosetup -p1 -n %{name}_%{version} - -+%build -+test -x "$(type -p gcc)" && CC="$_" -+test -x "$(type -p g++)" && CXX="$_" -+test -x "$(type -p gcc-10)" && CC="$_" -+test -x "$(type -p g++-10)" && CXX="$_" -+test -x "$(type -p gcc-13)" && CC="$_" -+test -x "$(type -p g++-13)" && CXX="$_" -+export CC="$(readlink -f ${CC})" -+export CXX="$(readlink -f ${CXX})" -+CFLAGS='%optflags -Wno-misleading-indentation -Wno-unused-parameter -Wno-unused-variable' -+CXXFLAGS='%optflags -Wno-misleading-indentation -Wno-unused-parameter -Wno-unused-variable' - # set the version by hand --sed -i "/^include(Version)/d" source/CMakeLists.txt -+sed -i~ "/^include(Version)/d" source/CMakeLists.txt -+diff -u "$_"~ "$_" && exit 1 - # force version number in the soname --sed -i 's/hdr10plus-shared PROPERTIES OUTPUT_NAME hdr10plus/hdr10plus-shared PROPERTIES OUTPUT_NAME hdr10plus-%{version}/' \ -+sed -i~ 's/hdr10plus-shared PROPERTIES OUTPUT_NAME hdr10plus/hdr10plus-shared PROPERTIES OUTPUT_NAME hdr10plus-%{version}/' \ - source/CMakeLists.txt -+diff -u "$_"~ "$_" && exit 1 - --%build - SOURCE_DIR="$PWD"/source - COMMON_FLAGS="-DENABLE_TESTS=OFF -DENABLE_PIC=ON -Wno-dev" - HIGH_BIT_DEPTH_FLAGS="-DENABLE_CLI=OFF -DENABLE_SHARED=OFF -DEXPORT_C_API=OFF -DHIGH_BIT_DEPTH=ON"
View file
_link
Changed
@@ -1,6 +1,1 @@ -<link project="Essentials" cicount="add" baserev="14faec77a6141375dcad6ffc2fbbca95"> - <patches> - <delete name="x265-fix_enable512.patch"/> - <apply name="project.diff"/> - </patches> -</link> +<link project="Essentials" cicount="add"/>
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
.