mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
nextcloud_client, fix doc package for any architecture (#12677)
This commit is contained in:
@@ -3,7 +3,7 @@ DESCRIPTION="This Nextcloud client is a tool to synchronize files with a Nextclo
|
||||
HOMEPAGE="https://nextcloud.com"
|
||||
COPYRIGHT="Nextcloud GmbH"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="4"
|
||||
REVISION="5"
|
||||
SOURCE_URI="https://github.com/nextcloud/desktop/archive/refs/tags/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="9f60a6707d31e82357780dff11168ede88d1f859481a22f2d04c827e656f3fba"
|
||||
SOURCE_DIR="desktop-$portVersion"
|
||||
@@ -80,18 +80,18 @@ REQUIRES_devel="
|
||||
|
||||
ARCHITECTURES_doc="any"
|
||||
PROVIDES_doc="
|
||||
nextcloud_client${secondaryArchSuffix}_doc = $portVersion
|
||||
nextcloud_client_doc = $portVersion
|
||||
"
|
||||
REQUIRES_doc="
|
||||
nextcloud_client$secondaryArchSuffix == $portVersion base
|
||||
REPLACES_doc="
|
||||
nextcloud_client_x86_doc
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
extra_cmake_modules$secondaryArchSuffix
|
||||
devel:libcmocka$secondaryArchSuffix # only needed during configure and testing
|
||||
devel:libcrypto$secondaryArchSuffix >= 3
|
||||
devel:libkf5archive$secondaryArchSuffix
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
devel:libKF5Archive$secondaryArchSuffix
|
||||
devel:libQt5Concurrent$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5DBus$secondaryArchSuffix
|
||||
@@ -111,7 +111,7 @@ BUILD_REQUIRES="
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
devel:libQt5Xml$secondaryArchSuffix
|
||||
devel:libsqlite3$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix >= 3
|
||||
devel:libssl$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
#optional
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
@@ -139,11 +139,15 @@ TEST_REQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
cmake -B build -S . $cmakeDirArgs \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_BINDIR=$commandBinDir \
|
||||
-DINCLUDE_INSTALL_DIR=$includeDir \
|
||||
-DSYSCONF_INSTALL_DIR=$settingsDir \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DWITH_DOC=ON -Wno-dev
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DBUILD_UPDATER=OFF \
|
||||
-DWITH_DOC=ON \
|
||||
-Wno-dev
|
||||
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user