<commit_before>LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://kate/COPYING.LIB;md5=156642aa865c263a96e2cdd7a5cc8570"

DEPENDS = "kdelibs4"

inherit kde_cmake kde_without_docs kde_rdepends perlnative

SRC_URI = "git://anongit.kde.org/kate;protocol=git;branch=master"

## Tag 4.8.0
SRCREV = "78edc645422be447e7d451ed86e2fe690ae303e1"

PV = "4.8.0+git${SRCPV}"

S = "${WORKDIR}/git"

# kate *must* be built out of tree
OECMAKE_SOURCEPATH = ".."
OECMAKE_BUILDPATH = "build"

FILES_${PN} += "\
		${libdir}/kde4/*.so \
		${libdir}/libkdeinit4_kate.so \
		${libdir}/libkdeinit4_kwrite.so \
		\
		${datadir}/* \
	       "

FILES_${PN}-dbg += "${libdir}/kde4/.debug/*"
<commit_msg>kate: Fix packaging<commit_after>LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://kate/COPYING.LIB;md5=156642aa865c263a96e2cdd7a5cc8570"

DEPENDS = "kdelibs4"

inherit kde_cmake kde_without_docs kde_rdepends perlnative

SRC_URI = "git://anongit.kde.org/kate;protocol=git;branch=master"

## Tag 4.8.0
SRCREV = "78edc645422be447e7d451ed86e2fe690ae303e1"

PV = "4.8.0+git${SRCPV}"

PR = "r1"

S = "${WORKDIR}/git"

# kate *must* be built out of tree
OECMAKE_SOURCEPATH = ".."
OECMAKE_BUILDPATH = "build"

FILES_${PN} += "\
    ${libdir}/kde4/*.so \
    ${libdir}/libkdeinit4*.so \
    \
    ${datadir}/* \
    "

FILES_${PN}-dbg += "${libdir}/kde4/.debug/*"


# ${PN}-dev is currently "messy" so re-add all libraries by hand
FILES_SOLIBSDEV = ""

FILES_${PN}-dev += "${libdir}/libkateinterfaces.so \
    ${libdir}/libkatepartinterfaces.so \
    ${libdir}/libktexteditor_codesnippets_core.so \
    "

{'fraction_non_alphanumeric': 0.17263427109974425, 'fraction_numerical': 0.07544757033248081, 'mean_word_length': 4.287162162162162, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1049698', 'n_tokens_mistral': 787, 'n_tokens_neox': 710, 'n_words': 94}