From 9eb84d12bd7e57d46322c9b542bb184d16166d20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Fri, 16 Dec 2016 07:28:46 +0100 Subject: [PATCH] krita: initial add 3.1.1 (although slipped in before silenttly) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- recipes-kde/apps/krita/krita.bb | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/recipes-kde/apps/krita/krita.bb b/recipes-kde/apps/krita/krita.bb index f6dfd2a6..79ba6f4c 100644 --- a/recipes-kde/apps/krita/krita.bb +++ b/recipes-kde/apps/krita/krita.bb @@ -6,11 +6,16 @@ LIC_FILES_CHKSUM = " \ file://COPYING.LIB;md5=cc4eecf2379e7a2a5f3d0441d680f82a \ " -inherit kde-apps +inherit kde-apps gtk-icon-cache DEPENDS += " \ + curl \ + poppler \ + boost \ libraw \ libeigen \ + exiv2 \ + fftw \ \ karchive \ kconfig \ @@ -26,10 +31,28 @@ DEPENDS += " \ kcrash \ " -PV = "3.0" +PV = "3.1.1" SRC_URI = " \ - ${KDE_MIRROR}/stable/krita/${PV}/${BPN}-${PV}.tgz \ + ${KDE_MIRROR}/stable/krita/${PV}/${BPN}-${PV}.tar.gz \ file://0001-fix-build-with-GLES2.patch \ " -SRC_URI[md5sum] = "beb7140471d1b6b0ae92d664743c067f" -SRC_URI[sha256sum] = "4cea85623b709d6d32084c98a0fd76b97ad96d11be9808fca9fcaad2839a9c5a" +SRC_URI[md5sum] = "322831adc0bc5c7d7ed298f152d57fe7" +SRC_URI[sha256sum] = "62ef2c4b9b19563c1e2e6dc0643dd0880e04469dd5798373401d8dd666720e8f" + +# krita has lots of include_directories(SYSTEM ${FOO_DIR}) +# have no better way to make gcc6 happy +do_configure_append() { + sed -i 's:-isystem:-I:g' `find ${B} -name *.make` +} + +# HACK - but overidable by BSP +LDFLAGSGL = "-lGLESv2" +LDFLAGS += "${LDFLAGSGL}" + +FILES_${PN} += " \ + ${datadir}/color \ + ${datadir}/color-schemes \ + ${datadir}/icons \ + ${datadir}/kritaplugins \ + ${libdir}/kritaplugins \ +"