Projects
Extra
finalhe
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
finalhe.spec
Changed
@@ -26,7 +26,8 @@ Group: Hardware/Other Url: https://github.com/soarqin/finalhe Source: %{name}-%{version}.tar.gz -BuildRequires: cmake >= 1.11 +Patch0: finalhe.patch +BuildRequires: cmake >= 3.11 BuildRequires: gcc-c++ BuildRequires: zlib-devel BuildRequires: libxml2-devel @@ -40,19 +41,11 @@ This all-in-one program sets up h-encore for your PS Vita or PS TV %prep -%setup -q +%autosetup -p1 %build -mkdir build && cd build -cmake .. \ - -DUSER_CMAKE_C_FLAGS='%{optflags}' \ - -DUSER_CMAKE_CXX_FLAGS='%{optflags}' \ - -DCMAKE_INSTALL_PREFIX='%{_prefix}' \ - -DCMAKE_BUILD_TYPE='Release' - - -make %{?_smp_mflags} -cd - +%cmake +%cmake_build %install install -D -m0755 build/src/FinalHE %{buildroot}/%{_bindir}/FinalHE
View file
finalhe.patch
Added
@@ -0,0 +1,27 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.11) + + project(finalhe C CXX) + +--- a/deps/psvlib/img/CMakeLists.txt ++++ b/deps/psvlib/img/CMakeLists.txt +@@ -14,5 +14,5 @@ target_link_libraries(psvimg scrypto) + if (WIN32) + target_link_libraries(psvimg zlibstatic) + else () +- target_link_libraries(psvimg ZLIB::ZLIB) ++ target_link_libraries(psvimg ZLIB::ZLIB pthread) + endif () +--- a/deps/psvlib/img/backup.c ++++ b/deps/psvlib/img/backup.c +@@ -14,6 +14,7 @@ + #include <fcntl.h> + #include <stdint.h> + #include <stdio.h> ++#include <string.h> + #include <stdlib.h> + #include <sys/stat.h> + #include <sys/types.h>
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
.