add kjs 5.5.0

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2014-12-03 16:13:16 +01:00
parent 49ad42cdbb
commit 17c3493a6c
4 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
From d5c93a4838c8283b0a13ac1ca2395118cefe7e94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Wed, 3 Dec 2014 16:02:52 +0100
Subject: [PATCH] install icemaker - we need the native one for cross
compilation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
src/kjs/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/kjs/CMakeLists.txt b/src/kjs/CMakeLists.txt
index d8406ea..3286334 100644
--- a/src/kjs/CMakeLists.txt
+++ b/src/kjs/CMakeLists.txt
@@ -67,6 +67,7 @@ endif()
add_executable(icemaker ${icemaker_SRCS})
ecm_mark_nongui_executable(icemaker)
target_include_directories(icemaker PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/..")
+ install(TARGETS icemaker EXPORT KF5JSTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
# get the name of the generated wrapper script (which sets up LD_LIBRARY_PATH)
#get_target_property(ICEMAKER_EXECUTABLE icemaker WRAPPER_SCRIPT)
--
1.8.3.1

View File

@@ -0,0 +1,9 @@
require ${BPN}.inc
inherit native
SRC_URI += " \
file://0001-install-icemaker-we-need-the-native-one-for-cross-co.patch \
"
DEPENDS += "libpcre-native"

View File

@@ -0,0 +1,9 @@
require ${BPN}.inc
inherit cmake-lib
DEPENDS += "${BPN}-native libpcre"
# cross libs / headers
CMAKE_HIDE_ERROR[1] = "KF5JS, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib"
CMAKE_HIDE_ERROR[2] = "KF5JS, -S${includedir}, -S${STAGING_INCDIR}"

View File

@@ -0,0 +1,10 @@
SUMMARY = "Support for JS scripting in applications"
LICENSE = "GPLv2 | LGPLv2.1"
LIC_FILES_CHKSUM = " \
file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
"
inherit kde perlnative
SRCREV = "c59650a0b873df766de2bbf11e6ef37a7b2c323b"
PV = "5.5.0"