<commit_before>LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/lib/info.h;md5=4547c0d20883d91da92544ee5fc15a0d;beginline=1;endline=16"

inherit kde-exports

KDE_EXPORT_FILES = "${S}/build/lib/CMakeFiles/Export/_usr/share/apps/cmake/modules/KActivitiesLibraryTargets-relwithdebinfo.cmake"

require kde4.inc

#DEPENDS = "kdelibs4"
#+soprano

OECMAKE_SOURCEPATH = ".."
OECMAKE_BUILDPATH = "build"

SRC_URI = "git://anongit.kde.org/kactivities;protocol=git;branch=master \
	   file://Fix-cmake-destination-directory.patch"

SRCREV = "52cfa820d71a129d003b596892edcccc09459738"


PV = "4.7.97+git${SRCPV}"

S = "${WORKDIR}/git" 

FILES_${PN}-dev += "${datadir}/apps/cmake/modules/KActivitiesConfig.cmake \
		    ${datadir}/apps/cmake/modules/KActivitiesLibraryTargets.cmake"

#do_install_prepend() {
#  tmp_patchfile=${S}/build/lib/CMakeFiles/Export/_usr/share/apps/cmake/modules/KActivitiesLibraryTargets-relwithdebinfo.cmake
#  cat ${tmp_patchfile} | sed "s|/usr/|${STAGING_DIR_TARGET}${prefix}/|" > ${WORKDIR}/tmp_swapfile
#  cat ${WORKDIR}/tmp_swapfile > ${tmp_patchfile}
#  rm ${WORKDIR}/tmp_swapfile
#}

EXTRA_OECMAKE += "\
		  -DPERL_EXECUTABLE=${STAGING_BINDIR_NATIVE}/perl-native/perl \
		 "

#PARALLEL_MAKE=""
#BBCLASSEXTEND = "native"<commit_msg>libkactivities: Add dependencies.<commit_after>LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/lib/info.h;md5=4547c0d20883d91da92544ee5fc15a0d;beginline=1;endline=16"

inherit kde-exports

KDE_EXPORT_FILES = "${S}/build/lib/CMakeFiles/Export/_usr/share/apps/cmake/modules/KActivitiesLibraryTargets-relwithdebinfo.cmake"

require kde4.inc

DEPENDS = "kdelibs4 soprano shared-desktop-ontologies"
#+soprano

OECMAKE_SOURCEPATH = ".."
OECMAKE_BUILDPATH = "build"

SRC_URI = "git://anongit.kde.org/kactivities;protocol=git;branch=master \
	   file://Fix-cmake-destination-directory.patch"

SRCREV = "52cfa820d71a129d003b596892edcccc09459738"


PV = "4.7.97+git${SRCPV}"

S = "${WORKDIR}/git" 

FILES_${PN}-dev += "${datadir}/apps/cmake/modules/KActivitiesConfig.cmake \
		    ${datadir}/apps/cmake/modules/KActivitiesLibraryTargets.cmake"

#do_install_prepend() {
#  tmp_patchfile=${S}/build/lib/CMakeFiles/Export/_usr/share/apps/cmake/modules/KActivitiesLibraryTargets-relwithdebinfo.cmake
#  cat ${tmp_patchfile} | sed "s|/usr/|${STAGING_DIR_TARGET}${prefix}/|" > ${WORKDIR}/tmp_swapfile
#  cat ${WORKDIR}/tmp_swapfile > ${tmp_patchfile}
#  rm ${WORKDIR}/tmp_swapfile
#}

EXTRA_OECMAKE += "\
		  -DPERL_EXECUTABLE=${STAGING_BINDIR_NATIVE}/perl-native/perl \
		 "

#PARALLEL_MAKE=""
#BBCLASSEXTEND = "native"
{'fraction_non_alphanumeric': 0.16156528477334367, 'fraction_numerical': 0.04571871367686943, 'mean_word_length': 5.978378378378379, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5371261', 'n_tokens_mistral': 1168, 'n_tokens_neox': 1065, 'n_words': 93}