diff --git a/kde-base/kstars/kstars-3.3.9.recipe b/kde-base/kstars/kstars-3.3.9.recipe index 10d9913a5..6866e7093 100644 --- a/kde-base/kstars/kstars-3.3.9.recipe +++ b/kde-base/kstars/kstars-3.3.9.recipe @@ -10,7 +10,7 @@ conjunctions, and many common astronomical calculations." HOMEPAGE="https://edu.kde.org/kstars" COPYRIGHT="2010-2019 KDE Organisation" LICENSE="GNU LGPL v2" -REVISION="1" +REVISION="2" SOURCE_URI="https://download.kde.org/stable/kstars/kstars-$portVersion.tar.xz" CHECKSUM_SHA256="dc8c0170b2735a1319bb21c2dddbecbef2b5d041f4216be8c14e0730bc06937b" PATCHES="kstars-$portVersion.patchset" @@ -71,6 +71,7 @@ REQUIRES=" lib:libQt5PrintSupport$secondaryArchSuffix lib:libQt5Widgets$secondaryArchSuffix lib:libQt5Xml$secondaryArchSuffix + lib:libraw$secondaryArchSuffix lib:libz$secondaryArchSuffix " @@ -119,6 +120,7 @@ BUILD_REQUIRES=" devel:libKF5WindowSystem$secondaryArchSuffix devel:libKF5XmlGui$secondaryArchSuffix devel:libQt5Core$secondaryArchSuffix >= 5.14 + devel:libraw$secondaryArchSuffix devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" @@ -141,6 +143,7 @@ BUILD() -DCMAKE_INSTALL_DATAROOTDIR=$dataDir \ -DSHARE_INSTALL_PREFIX=$dataDir \ -DECM_DIR=/system/data/cmake/Modules/ECM/cmake \ + -DFETCH_TRANSLATIONS=OFF \ -DBUILD_DOC=OFF make $jobArgs } diff --git a/kde-base/kstars/patches/kstars-3.3.9.patchset b/kde-base/kstars/patches/kstars-3.3.9.patchset index 79a71fb08..0ff9571cf 100644 --- a/kde-base/kstars/patches/kstars-3.3.9.patchset +++ b/kde-base/kstars/patches/kstars-3.3.9.patchset @@ -1,6 +1,6 @@ -From 9f236c815be14fe65ca3244a03366827c684084f Mon Sep 17 00:00:00 2001 +From 06785240556b89317d27f6117c6e3b01c6b5e15d Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Wed, 8 Jan 2020 00:21:30 +1000 +Date: Wed, 8 Jan 2020 12:20:41 +1000 Subject: Fix build for Haiku @@ -129,6 +129,32 @@ index fa3ae42..660498a 100644 #define LINKAGE #endif +diff --git a/kstars/main.cpp b/kstars/main.cpp +index bdd17f3..93ceb4c 100644 +--- a/kstars/main.cpp ++++ b/kstars/main.cpp +@@ -50,6 +50,11 @@ + #include + #include + ++#ifdef Q_OS_HAIKU ++#include ++#include ++#include ++#endif + + #ifndef KSTARS_LITE + static const char description[] = I18N_NOOP("Desktop Planetarium"); +@@ -335,6 +340,9 @@ int main(int argc, char *argv[]) + KStarsLite::createInstance(true); + + app.exec(); ++#endif ++#ifdef Q_OS_HAIKU ++ kill(::getpid(), SIGKILL); + #endif + return 0; + } -- 2.24.1