Skip to content

Commit 993284c

Browse files
committedJan 27, 2012
Initial Layer setup.
This layer was splitted out from my testbase layer to allow other developers to contribute. Please see the README file (especially if libiconv troubles you) Signed-off-by: Samuel Stirtzel <[email protected]>
0 parents  commit 993284c

16 files changed

+437
-0
lines changed
 

‎COPYING.MIT

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (C) 2011, 2012 Samuel Stirtzel
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of
4+
this software and associated documentation files (the "Software"), to deal in
5+
the Software without restriction, including without limitation the rights to
6+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7+
of the Software, and to permit persons to whom the Software is furnished to do
8+
so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.

‎README

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Layer name: meta-kde
2+
Layer purpose: Support plasma active in OpenEmbedded
3+
Layer status: Work in progress / unstable
4+
Layer dependencies: meta-openembedded, openembedded-core
5+
Layer license: MIT license (see COPYING.MIT)
6+
Layer maintainers:
7+
Samuel Stirtzel <s.stirtzel@googlemail.com>
8+
9+
Editors:
10+
(C)2011, 2012 - Samuel Stirtzel
11+
12+
FAQ / Troubleshooting:
13+
1.
14+
Q: When this layer is enabled eglibc complains about libiconv, how to resolve this?
15+
A: Disable / rename / remove the file recipes/libiconv_1.14.bbappend (this will prevent the native build of strigi)
16+
2.
17+
Q: How can I contribute my patches / recipes to this layer?
18+
A: Send a merge request to one of the layer maintainers, don't forget to add your name to the Editors and the COPYING.MIT list.

‎TODO

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Currently to be done:
2+
3+
kdelibs4:
4+
-fix compile errors.
5+
6+
plasma-active:
7+
-provide dependencies.
8+
-test on OpenEmbedded compatible hardware
9+
10+
all recipes:
11+
-test cross compiling capabilities.

‎conf/layer.conf

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# We have a conf directory, append to BBPATH
2+
BBPATH .= ":${LAYERDIR}"
3+
4+
# We have a recipes directory, add to BBFILES
5+
BBFILES += "${LAYERDIR}/recipes*/*.bb ${LAYERDIR}/recipes*/*.bbappend"
6+
7+
BBFILE_COLLECTIONS += "meta-kde"
8+
BBFILE_PATTERN_meta-kde := "^${LAYERDIR}/"
9+
BBFILE_PRIORITY_meta-kde = "10"

‎recipes/attica_git.bb

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
LICENSE = "LGPLv2"
2+
LIC_FILES_CHKSUM = "file://COPYING;md5=be254b9345b1c2ff33e1a6a96768f2fb"
3+
4+
inherit qt4x11 cmake
5+
6+
SRC_URI = "git://anongit.kde.org/attica;protocol=git;branch=master"
7+
SRCREV = "bc6c171dad0d2f83cd0bd327875e37588a0dcc3e"
8+
9+
PV = "0.3.0+git${SRCPV}"
10+
11+
S = "${WORKDIR}/git"
12+
13+
BBCLASSEXTEND = "native"

‎recipes/automoc4_git.bb

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
LICENSE = "GPLv2"
2+
LIC_FILES_CHKSUM = "file://kde4automoc.cpp;beginline=2;endline=23;md5=14e0a466a78db8537ab521a34551fc10"
3+
4+
inherit qt4x11 cmake
5+
6+
SRC_URI = "git://anongit.kde.org/automoc;protocol=git;branch=master"
7+
SRCREV = "a003654d36b9e409931d15af68091d1f366bd46e"
8+
9+
PV = "0.9.88+git${SRCPV}"
10+
11+
S = "${WORKDIR}/git"
12+
13+
BBCLASSEXTEND = "native"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
From a35a1a5c11272ba1122cd85e13ff6a7b2f1ba8b9 Mon Sep 17 00:00:00 2001
2+
From: Samuel Stirtzel <s.stirtzel@googlemail.com>
3+
Date: Fri, 27 Jan 2012 08:17:03 +0100
4+
Subject: [PATCH] Disable documentation. Signed-off-by: Samuel Stirtzel
5+
<s.stirtzel@googlemail.com>
6+
7+
---
8+
CMakeLists.txt | 7 +++++--
9+
1 files changed, 5 insertions(+), 2 deletions(-)
10+
11+
diff --git a/CMakeLists.txt b/CMakeLists.txt
12+
index c82cdda..d91625b 100644
13+
--- a/CMakeLists.txt
14+
+++ b/CMakeLists.txt
15+
@@ -6,6 +6,9 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
16+
# Make CPack available to easy generate binary packages
17+
include(CPack)
18+
19+
+## we need no docs, or at least an option to disable them!
20+
+set (DISABLE_DOCS "Docs won't be build" TRUE)
21+
+
22+
################# set KDE specific information #################
23+
24+
set (KDE_VERSION_MAJOR 4)
25+
@@ -295,9 +298,9 @@ if (QT_QT3SUPPORT_FOUND)
26+
endif (QT_QT3SUPPORT_FOUND)
27+
add_subdirectory( kfile )
28+
add_subdirectory( kconf_update )
29+
-if(NOT WINCE)
30+
+if(NOT WINCE AND NOT DISABLE_DOCS)
31+
add_subdirectory( kdoctools )
32+
-endif(NOT WINCE)
33+
+endif(NOT WINCE AND NOT DISABLE_DOCS)
34+
add_subdirectory( kioslave )
35+
add_subdirectory( knewstuff )
36+
add_subdirectory( kparts )
37+
--
38+
1.7.5.4
39+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
From 36d143c8a9ac26ba63a943bb88766c2fdfe216c8 Mon Sep 17 00:00:00 2001
2+
From: Samuel Stirtzel <s.stirtzel@googlemail.com>
3+
Date: Wed, 25 Jan 2012 16:26:07 +0100
4+
Subject: [PATCH] When using OpenEmbedded we can't trust that these checks are
5+
correct for our toolchain. Signed-off-by: Samuel Stirtzel
6+
<s.stirtzel@googlemail.com>
7+
8+
---
9+
kdecore/network/ConfigureChecks.cmake | 10 ----------
10+
1 files changed, 0 insertions(+), 10 deletions(-)
11+
12+
diff --git a/kdecore/network/ConfigureChecks.cmake b/kdecore/network/ConfigureChecks.cmake
13+
index e91d1bf..032a93e 100644
14+
--- a/kdecore/network/ConfigureChecks.cmake
15+
+++ b/kdecore/network/ConfigureChecks.cmake
16+
@@ -11,16 +11,6 @@ macro_push_required_vars()
17+
if (QT_USE_FRAMEWORKS)
18+
set(CMAKE_REQUIRED_FLAGS "-F${QT_LIBRARY_DIR} ")
19+
endif (QT_USE_FRAMEWORKS)
20+
- check_cxx_source_compiles(
21+
-"#include <QtNetwork/QSslSocket>
22+
-int main()
23+
-{
24+
- QSslSocket *socket;
25+
- return 0;
26+
-}" HAVE_QSSLSOCKET)
27+
- if (NOT HAVE_QSSLSOCKET)
28+
- message(SEND_ERROR "KDE Requires Qt to be built with SSL support")
29+
- endif (NOT HAVE_QSSLSOCKET)
30+
macro_pop_required_vars()
31+
32+
check_include_files("sys/types.h;sys/socket.h;net/if.h" HAVE_NET_IF_H)
33+
--
34+
1.7.5.4
35+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
From 29919035ff6f1839da0a840194dd77597050f743 Mon Sep 17 00:00:00 2001
2+
From: Samuel Stirtzel <s.stirtzel@googlemail.com>
3+
Date: Thu, 26 Jan 2012 15:06:11 +0100
4+
Subject: [PATCH] Disable Phonon. Signed-off-by: Samuel Stirtzel
5+
<s.stirtzel@googlemail.com>
6+
7+
---
8+
cmake/modules/FindKDE4Internal.cmake | 21 +++++++++++----------
9+
1 files changed, 11 insertions(+), 10 deletions(-)
10+
11+
diff --git a/cmake/modules/FindKDE4Internal.cmake b/cmake/modules/FindKDE4Internal.cmake
12+
index 84df6f5..0b137fb 100644
13+
--- a/cmake/modules/FindKDE4Internal.cmake
14+
+++ b/cmake/modules/FindKDE4Internal.cmake
15+
@@ -702,16 +702,17 @@ endif(_kdeBootStrapping OR TARGET ${KDE4_TARGET_PREFIX}nepomuk)
16+
# which helps with finding the phonon installed as part of kdesupport:
17+
18+
# only make Phonon REQUIRED if KDE4 itself is REQUIRED
19+
-find_package(Phonon 4.3.80 ${_REQ_STRING_KDE4})
20+
-set(KDE4_PHONON_LIBRARY ${PHONON_LIBRARY})
21+
-set(KDE4_PHONON_LIBS ${PHONON_LIBS})
22+
-set(KDE4_PHONON_INCLUDES ${PHONON_INCLUDES})
23+
-
24+
-if(NOT PHONON_FOUND)
25+
- message(STATUS "KDE4 not found, because Phonon was not found")
26+
- return()
27+
-endif(NOT PHONON_FOUND)
28+
-
29+
+if (NOT OPENEMBEDDED)
30+
+ find_package(Phonon 4.3.80 ${_REQ_STRING_KDE4})
31+
+ set(KDE4_PHONON_LIBRARY ${PHONON_LIBRARY})
32+
+ set(KDE4_PHONON_LIBS ${PHONON_LIBS})
33+
+ set(KDE4_PHONON_INCLUDES ${PHONON_INCLUDES})
34+
+
35+
+ if(NOT PHONON_FOUND)
36+
+ message(STATUS "KDE4 not found, because Phonon was not found")
37+
+ return()
38+
+ endif(NOT PHONON_FOUND)
39+
+endif (NOT OPENEMBEDDED)
40+
41+
##################### provide some options ##########################################
42+
43+
--
44+
1.7.5.4
45+

‎recipes/kdelibs4_git.bb

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
LICENSE = "GPLv2"
2+
3+
LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24"
4+
5+
DEPENDS = "automoc4 giflib attica jpeg libpng soprano libphonon"
6+
#strigi native
7+
DEPENDS_virtclass-native = "perl-native"
8+
9+
inherit qt4x11 cmake mime native perlnative
10+
11+
12+
SRC_URI = "git://anongit.kde.org/kdelibs;protocol=git;branch=master \
13+
file://0001-Disable-documentation.patch \
14+
file://0002-Fix-openssl-check.patch \
15+
file://0003-Disable-Phonon.patch \
16+
"
17+
# file://0001-Fix-KDE-dependency-HELL.patch \
18+
19+
SRCREV = "cc5bf952ad182cf049e5df02c4c5f09d62bb68a2"
20+
PV = "4.7.97+git${SRCPV}"
21+
22+
S = "${WORKDIR}/git"
23+
24+
# kdelibs *must* be built out of tree
25+
OECMAKE_SOURCEPATH = ".."
26+
OECMAKE_BUILDPATH = "build"
27+
28+
# for some reason cmake can't find the qt stuff
29+
EXTRA_OECMAKE = "\
30+
-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \
31+
-DQT_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT} \
32+
\
33+
-DQT_DBUSXML2CPP_EXECUTABLE=/usr/bin/qdbusxml2cpp \
34+
-DQT_DBUSCPP2XML_EXECUTABLE=/usr/bin/qdbuscpp2xml \
35+
\
36+
-DAUTOMOC4_EXECUTABLE=${STAGING_BINDIR_NATIVE}/automoc4 \
37+
\
38+
-DQT_QT_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/Qt \
39+
\
40+
-DDBUSMENUQT_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT} \
41+
-DDBUSMENUQT_LIBRARIES=${OE_QMAKE_LIBDIR_QT} \
42+
\
43+
-DKJS_FORCE_DISABLE_PCRE=TRUE \
44+
-DSTRIGI_REQUIRED=FALSE \
45+
\
46+
"
47+
48+
49+
### -DQT_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT} \
50+
#possible dirs: ${STAGING_INCDIR}/Qt ${STAGING_INCDIR}/Qt3Support ${STAGING_INCDIR}/QtCore ${STAGING_INCDIR}/QtDBus ${STAGING_INCDIR}/QtGui ${STAGING_INCDIR}/QtNetwork ${STAGING_INCDIR}/QtSql ${STAGING_INCDIR}/QtTest ${STAGING_INCDIR}/QtXml ${STAGING_INCDIR}/QtXmlPatterns
51+
52+
53+
do_install_append() {
54+
install -d ${D}/${libdir}/qt4
55+
mv ${D}/${STAGING_DIR_TARGET}/qt4/plugins* ${D}/${libdir}/qt4 || true
56+
}
57+
58+
FILES_${PN} += "${libdir}/qt4 \
59+
${datadir}/mime/packages \
60+
${datadir}/dbus-1 \
61+
${datadir}/config \
62+
"
63+
64+
FILES_${PN}-dbg += "${libdir}/qt4/.debug \
65+
${libdir}/qt4/*/.debug \
66+
${libdir}/qt4/*/*/.debug"
67+
68+
BBCLASSEXTEND = "native"

‎recipes/libiconv_1.14.bbappend

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
BBCLASSEXTEND = "native"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
From cc7358b3b8ed5397fa3c8fbcd7e050c0e45b0e86 Mon Sep 17 00:00:00 2001
2+
From: Samuel Stirtzel <s.stirtzel@googlemail.com>
3+
Date: Fri, 27 Jan 2012 08:47:50 +0100
4+
Subject: [PATCH] Patch out Qt visibility check. Signed-off-by: Samuel
5+
Stirtzel <s.stirtzel@googlemail.com>
6+
7+
---
8+
cmake/FindPhononInternal.cmake | 10 ++++++----
9+
1 files changed, 6 insertions(+), 4 deletions(-)
10+
11+
diff --git a/cmake/FindPhononInternal.cmake b/cmake/FindPhononInternal.cmake
12+
index 2bad949..1725946 100644
13+
--- a/cmake/FindPhononInternal.cmake
14+
+++ b/cmake/FindPhononInternal.cmake
15+
@@ -290,11 +290,13 @@ if (CMAKE_COMPILER_IS_GNUCXX)
16+
file(WRITE "${_source_file}" "${_source}")
17+
set(_include_dirs "-DINCLUDE_DIRECTORIES:STRING=${QT_INCLUDES}")
18+
19+
- try_compile(_compile_result ${CMAKE_BINARY_DIR} ${_source_file} CMAKE_FLAGS "${_include_dirs}" COMPILE_OUTPUT_VARIABLE _compile_output_var)
20+
+# Don't probe our OpenEmbedded Qt version, as this script get's the arguments wrong anyway
21+
22+
- if(NOT _compile_result)
23+
- message(FATAL_ERROR "Qt compiled without support for -fvisibility=hidden. This will break plugins and linking of some applications. Please fix your Qt installation.")
24+
- endif(NOT _compile_result)
25+
+# try_compile(_compile_result ${CMAKE_BINARY_DIR} ${_source_file} CMAKE_FLAGS "${_include_dirs}" COMPILE_OUTPUT_VARIABLE _compile_output_var)
26+
+
27+
+# if(NOT _compile_result)
28+
+# message(FATAL_ERROR "Qt compiled without support for -fvisibility=hidden. This will break plugins and linking of some applications. Please fix your Qt installation.")
29+
+# endif(NOT _compile_result)
30+
31+
if (GCC_IS_NEWER_THAN_4_2)
32+
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden")
33+
--
34+
1.7.5.4
35+

‎recipes/libphonon_git.bb

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
LICENSE = "LGPLv2"
2+
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
3+
4+
DEPENDS = "automoc4"
5+
6+
inherit qt4x11 cmake
7+
8+
SRC_URI = "git://anongit.kde.org/phonon.git;protocol=git;branch=master \
9+
file://0001-Patch-out-Qt-visibility-check.patch \
10+
"
11+
SRCREV = "b93727e0eac9faeaf073e60d2d6799d39a17ae23"
12+
13+
PV = "4.6.0+git${SRCPV}"
14+
15+
S = "${WORKDIR}/git"
16+
17+
#we don't need experimental stuff
18+
EXTRA_OECMAKE = "\
19+
-DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \
20+
-DQT_INSTALL_LIBS=${OE_QMAKE_LIBDIR_QT} \
21+
-DQT_INCLUDE_DIR=${STAGING_INCDIR}/Qt \
22+
-DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
23+
-DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
24+
-DQT_UIC3_EXECUTABLE=${OE_QMAKE_UIC3} \
25+
-DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
26+
-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \
27+
-DQT_QTCORE_INCLUDE_DIR=${STAGING_INCDIR}/QtCore \
28+
-DQT_QT_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/Qt \
29+
\
30+
-DPHONON_BUILD_EXPERIMENTAL=OFF \
31+
"
32+
33+
34+
BBCLASSEXTEND = "native"

‎recipes/plasma-active_git.bb

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
LICENSE = "GPLv2"
2+
LIC_FILES_CHKSUM = "file://LICENSE.GPL-2;md5=b234ee4d69f5fce4486a80fdaf4a4263"
3+
4+
inherit qt4x11 cmake
5+
#require kdelibs4.inc
6+
7+
AUTHOR = "Samuel Stirtzel"
8+
DESCRIPTION = "This recipe builds the development version of plasma active / mobile"
9+
10+
#depends list from kubuntu "apt-get build-dep plasma-mobile"
11+
#DEPENDS = "automoc cmake cmake-data emacsen-common kde-workspace-dev kdelibs5-dev libcurl3 libkactivities5 libkdeclarative5 libkimproxy4 libkutils4 liblsofui4 libphonon-dev libsoprano-dev libxmlrpc-core-c3-0 quilt"
12+
13+
#finalized (and WORKING) depends list
14+
DEPENDS = "quilt curl lsof"
15+
16+
# kdelibs *must* be built out of tree
17+
OECMAKE_SOURCEPATH = ".."
18+
OECMAKE_BUILDPATH = "build"
19+
20+
21+
EXTRA_OECMAKE += " \
22+
-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH \
23+
-DKDE4_KDECONFIG_EXECUTABLE=/usr/bin/kde4-config \
24+
-DCMAKE_MODULE_PATH=${WORKDIR}/git/cmake/modules \
25+
"
26+
27+
#NOTFOUND_DEPENDS =
28+
#'emacsen-common'
29+
##'kde-workspace-dev'
30+
##'kdelibs5-dev'
31+
#'libkactivities5'
32+
#'libkdeclarative5'
33+
#'libkimproxy4'
34+
#'libkutils4'
35+
##'libphonon-dev'
36+
##'libsoprano-dev'
37+
#'libxmlrpc-core-c3-0'
38+
39+
SRC_URI = "git://anongit.kde.org/plasma-mobile;protocol=git;branch=master"
40+
SRCREV = "c99274e85a653115d90a4d2b8fd21705d0ea5984"
41+
PV = "2+git${SRCPV}"
42+
43+
S=${WORKDIR}/git
44+

‎recipes/soprano_git.bb

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
LICENSE = "GPLv2"
2+
LIC_FILES_CHKSUM = "file://COPYING;md5=58ea69e00c0f1a17ba58451500255625"
3+
4+
inherit qt4x11 cmake
5+
6+
SRC_URI = "git://anongit.kde.org/soprano.git;branch=master;tag=v2.6.0"
7+
#SRCREV = "2f5381c4c449f5c0b1390f7eaf00ef9216f8b5fa"
8+
9+
PV = "2.6+git${SRCPV}"
10+
11+
# OE lacks some native qt4 tools, so we use the ones form the host :/
12+
EXTRA_OECMAKE = "-DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \
13+
-DQT_INSTALL_LIBS=${OE_QMAKE_LIBDIR_QT} \
14+
-DQT_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT} \
15+
-DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
16+
-DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
17+
-DQT_UIC3_EXECUTABLE=${OE_QMAKE_UIC3} \
18+
-DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
19+
-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \
20+
-DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \
21+
-DQT_DBUSXML2CPP_EXECUTABLE=/usr/bin/qdbusxml2cpp \
22+
-DQT_DBUSCPP2XML_EXECUTABLE=/usr/bin/qdbuscpp2xml \
23+
"
24+
25+
S = "${WORKDIR}/git"

‎recipes/strigi_git.bb

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
LICENSE = "LGPLv2.1"
2+
LIC_FILES_CHKSUM = "file://COPYING;md5=ccf994d4070fbdcd43bf7de4bf9b4a22"
3+
4+
inherit qt4x11 cmake
5+
DEPENDS = "boost-native curl-native libxml2-native expat-native binutils-native virtual/libiconv"
6+
PREFERRED_PROVIDER_virtclass-native_virtual/libiconv ?= "libiconv"
7+
8+
SRC_URI = "git://anongit.kde.org/strigi.git;branch=master"
9+
SRCREV = "28a7df0d99f8fde1c8c9f5868cbd7f9a278c4655"
10+
PV = "0.7.7+git${SRCPV}"
11+
12+
do_sync_submodules() {
13+
git submodule update --init
14+
}
15+
16+
#for further information please see http://old.nabble.com/Cannot-build-strigi-to31394092.html#a31394092
17+
EXTRA_OECMAKE = "-DENABLE_DBUS=OFF \
18+
-DBoost_INCLUDE_DIR=${STAGING_INCDIR} \
19+
"
20+
21+
S = "${WORKDIR}/git"
22+
23+
#some includes missing?
24+
OECMAKE_CXX_FLAGS += " -I. -I${S}/strigidaemon/bin/daemon/dbus/dbuscpp"
25+
26+
addtask sync_submodules before do_patch after do_unpack
27+
28+
BBCLASSEXTEND = "native"

0 commit comments

Comments
 (0)
Please sign in to comment.