LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://LICENSE.LGPL-2.1;md5=4fbd65380cdd255951079008b364516c"

DEPENDS = "kdelibs4 libkactivities4"

inherit kde_cmake

SRC_URI = "git://anongit.kde.org/share-like-connect.git;branch=master"
SRCREV = "2d19bb9d148a3293b18355bb8fd8d777d680a1b1"

PV = "Active/2.0+git${SRCPV}"

S = "${WORKDIR}/git"

# RECIPE IS CURRENTLY BROKEN

LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://LICENSE.LGPL-2.1;md5=4fbd65380cdd255951079008b364516c"

DEPENDS = "kdelibs4 libkactivities4"

inherit kde_cmake

# This tag is very odd, it will cause bitbake to create a directory in the workdir of this recipe with the name 2.0+${SRCREV}
# But other than that no misbehaviour has been spotted
SRC_URI = "git://anongit.kde.org/share-like-connect.git;tag=Active/2.0"
SRCREV = "ab39e67ebdb8f67da447fe13bb0cd952d24a2df9"

PV = "Active-2.0+git${SRCPV}"

S = "${WORKDIR}/git"

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

FILES_${PN}-dbg += "${libdir}/kde4/.debug/*"
Set git revision to the tag Active/2.0
share-like-connect: Set git revision to the tag Active/2.0

This will fix building the recipe.
It doesn't look like it improves the plasma-active situation (suggested by Lamarque V. Souza on the PA mailing list).

Signed-off-by: Samuel Stirtzel <5e7b27e76d616174d4c71d96463fdd2f7e57e559@googlemail.com>
