mirror of
https://invent.kde.org/packaging/yocto-meta-kf5.git
synced 2026-01-29 21:08:43 +01:00
Unexport kjscmd, to make this actually usable as a dependency
This commit is contained in:
@@ -10,6 +10,7 @@ DEPENDS = "qttools qtsvg kjs ki18n"
|
||||
SRC_URI = " \
|
||||
git://anongit.kde.org/${PN};nobranch=1 \
|
||||
file://0001-optional-kdoctools.patch \
|
||||
file://0002-unexport-kjscmd.patch \
|
||||
"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
27
recipes-kf5/obsolete/kjsembed/0002-unexport-kjscmd.patch
Normal file
27
recipes-kf5/obsolete/kjsembed/0002-unexport-kjscmd.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
commit ed04f56a66c2a8a7aadfda12b9534850bd6e57c1
|
||||
Author: Volker Krause <vkrause@kde.org>
|
||||
Date: Mon Jan 1 14:51:00 2018 +0100
|
||||
|
||||
Unexport kjscmd
|
||||
|
||||
Summary:
|
||||
This is a user tool, not a build-time tool. Having it exported makes it
|
||||
required to be available (and runnable) for the corresponding find_package
|
||||
call to work, which is by default not the case when cross-compiling.
|
||||
|
||||
Reviewers: #frameworks
|
||||
|
||||
Tags: #frameworks
|
||||
|
||||
Differential Revision: https://phabricator.kde.org/D9589
|
||||
|
||||
diff --git a/src/kjscmd/CMakeLists.txt b/src/kjscmd/CMakeLists.txt
|
||||
index 95f7c31..5718d29 100644
|
||||
--- a/src/kjscmd/CMakeLists.txt
|
||||
+++ b/src/kjscmd/CMakeLists.txt
|
||||
@@ -10,4 +10,4 @@ target_link_libraries(kjscmd5
|
||||
KF5::JsEmbed
|
||||
)
|
||||
|
||||
-install(TARGETS kjscmd5 EXPORT KF5JsEmbedTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
+install(TARGETS kjscmd5 ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
Reference in New Issue
Block a user