Krita: fix build

This commit is contained in:
Gerasim Troeglazov
2018-06-29 23:36:13 +10:00
parent 75652c450b
commit 9d4929a429
2 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ layers and masks, group-based layer management, vector artwork support and switc
HOMEPAGE="https://www.krita.org/"
COPYRIGHT="2010-2018 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://download.kde.org/stable/krita/$portVersion/krita-$portVersion.tar.gz"
CHECKSUM_SHA256="78792df8165b986b806dcf9960a2679f683f2263e06f3ad5a24b0f78d8f27ed5"
ADDITIONAL_FILES="krita.rdef.in"
@@ -79,7 +79,7 @@ REQUIRES="
"
BUILD_REQUIRES="
extra_cmake_modules >= 5.39
extra_cmake_modules >= 5.47
haiku${secondaryArchSuffix}_devel
devel:eigen$secondaryArchSuffix
devel:libboost_system$secondaryArchSuffix

View File

@@ -1,4 +1,4 @@
From 8e1f56e954955e22cb1e98f3ec02be844646d1d6 Mon Sep 17 00:00:00 2001
From 0412e03d13d0858b0548d87cad9b9687a8762b60 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Fri, 29 Jun 2018 21:43:43 +1000
Subject: Fix haiku build
@@ -104,7 +104,7 @@ index fe7af22..7a6fe44 100644
# Add VSync disable workaround
-if(NOT WIN32 AND NOT APPLE)
+if(NOT WIN32 AND NOT APPLE NOT HAIKU)
+if(NOT WIN32 AND NOT APPLE AND NOT HAIKU)
target_link_libraries(kritaui ${CMAKE_DL_LIBS} Qt5::X11Extras)
endif()