diff --git a/net-im/nheko/nheko-0.8.2.recipe b/net-im/nheko/nheko-0.8.2.recipe index 8fbd3ec71..6aa7fd3ca 100644 --- a/net-im/nheko/nheko-0.8.2.recipe +++ b/net-im/nheko/nheko-0.8.2.recipe @@ -5,7 +5,7 @@ etc.) and less like an IRC client. It was developed using the Qt5 framework." HOMEPAGE="https://nheko.im/nheko-reborn/nheko" COPYRIGHT="2017-2021 Nheko Authors" LICENSE="GNU GPL v3" -REVISION="4" +REVISION="5" SOURCE_URI="https://github.com/Nheko-Reborn/nheko/archive/v${portVersion}.tar.gz" CHECKSUM_SHA256="df4575c47daab47d418637a4637b599e3848dd749132ca1e92f981d9212eabb2" SOURCE_FILENAME="nheko-${portVersion}.tar.gz" @@ -50,8 +50,6 @@ REQUIRES=" BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel lmdbxx - nlohmann_json - tweeny devel:libboost_iostreams$secondaryArchSuffix >= $boostMinimumVersion devel:libboost_system$secondaryArchSuffix >= $boostMinimumVersion devel:libboost_thread$secondaryArchSuffix >= $boostMinimumVersion @@ -76,6 +74,8 @@ BUILD_REQUIRES=" devel:libspdlog$secondaryArchSuffix devel:libssl$secondaryArchSuffix devel:libz$secondaryArchSuffix + devel:nlohmann_json + devel:tweeny " BUILD_PREREQUIRES=" cmd:g++$secondaryArchSuffix @@ -87,19 +87,18 @@ BUILD_PREREQUIRES=" BUILD() { - mkdir -p build - cd build - cmake .. $cmakeDirArgs \ + unset -f cmake + cmake -S. -Bbuild $cmakeDirArgs \ -DCMAKE_INSTALL_BINDIR=$appsDir \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_EXE_LINKER_FLAGS="-lnetwork -lz" - make $jobArgs + -DCMAKE_EXE_LINKER_FLAGS="-lnetwork -lz" \ + -Wno-dev + make -C build $jobArgs } INSTALL() { - cd build - make install + make -C build install local APP_SIGNATURE="application/x-vnd.nheko" local MAJOR="`echo "$portVersion" | cut -d. -f1`"