mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
cutter: Fix secondary arch build
This commit is contained in:
@@ -22,7 +22,7 @@ SOURCE_FILENAME="cutter-$portVersion.tar.gz"
|
||||
ADDITIONAL_FILES="cutter.rdef.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
cutter$secondaryArchSuffix = $portVersion
|
||||
@@ -60,6 +60,7 @@ REQUIRES="
|
||||
lib:libr_syscall$secondaryArchSuffix
|
||||
lib:libr_util$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libxxhash$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
@@ -72,6 +73,7 @@ BUILD_REQUIRES="
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
devel:libr_core$secondaryArchSuffix >= 2.9.0
|
||||
devel:libssl$secondaryArchSuffix
|
||||
devel:libxxhash$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
@@ -89,9 +91,10 @@ BUILD()
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. \
|
||||
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
|
||||
-DCUTTER_ENABLE_QTWEBENGINE=OFF \
|
||||
-DCUTTER_ENABLE_JUPYTER=OFF \
|
||||
-DRADARE2_INCLUDE_DIRS="$portPackageLinksDir/lib~libr_core/$relativeIncludeDir/libr" \
|
||||
-DRADARE2_INCLUDE_DIRS="$portPackageLinksDir/lib~libr_core$secondaryArchSuffix/$relativeIncludeDir/libr" \
|
||||
-DCMAKE_CXX_FLAGS="-fpermissive"
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user