diff --git a/conf/layer.conf b/conf/layer.conf --- a/conf/layer.conf +++ b/conf/layer.conf @@ -2,8 +2,12 @@ BBPATH .= ":${LAYERDIR}" # We have recipes-* directories, add to BBFILES -BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ - ${LAYERDIR}/recipes-*/*/*.bbappend" +BBFILES += " \ + ${LAYERDIR}/recipes-*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*.bbappend \ + ${LAYERDIR}/recipes-*/*/*.bbappend \ +" BBFILE_COLLECTIONS += "kf5" BBFILE_PATTERN_kf5 = "^${LAYERDIR}/" diff --git a/recipes-kdesupport/phonon.inc b/recipes-kdesupport/phonon.inc new file mode 100644 --- /dev/null +++ b/recipes-kdesupport/phonon.inc @@ -0,0 +1,19 @@ +DESCRIPTION = "Phonon" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1" +PR = "r0" + +DEPENDS = "qtbase ecm" + +SRC_URI = "git://anongit.kde.org/phonon" +S = "${WORKDIR}/git" + +inherit cmake_qt5 +EXTRA_OECMAKE += " -DPHONON_BUILD_PHONON4QT5=ON" + +FILES_${PN}-dev += " \ + ${datadir}/phonon4qt5/buildsystem/* \ + ${datadir}/dbus-1/interfaces/*.xml \ + ${datadir}/qt5/mkspecs/modules/*.pri \ + ${libdir}/cmake/phonon4qt5/* \ +" diff --git a/recipes-kdesupport/phonon_4.9.0.bb b/recipes-kdesupport/phonon_4.9.0.bb new file mode 100644 --- /dev/null +++ b/recipes-kdesupport/phonon_4.9.0.bb @@ -0,0 +1,4 @@ +require ${PN}.inc +# v4.9.0 misses a build fix we need, so use a newer revision until there's a newer release +# SRCREV = "v${PV}" +SRCREV = "543183aa844a27869c7fc46957ff097c155d6575" diff --git a/recipes-kf5/tier2/knotifications.inc b/recipes-kf5/tier2/knotifications.inc new file mode 100644 --- /dev/null +++ b/recipes-kf5/tier2/knotifications.inc @@ -0,0 +1,23 @@ +DESCRIPTION = "KNotifications" +HOMEPAGE = "https://api.kde.org/frameworks/knotifications/html/index.html" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ + " +PR = "r0" + +DEPENDS = "qtbase kwindowsystem kconfig kconfig-native kcodecs kcoreaddons kcoreaddons-native phonon" + +SRC_URI = "git://anongit.kde.org/knotifications;nobranch=1" +S = "${WORKDIR}/git" + +inherit cmake_kf5 + +FILES_${PN} += " \ + ${datadir}/kservicetypes5/knotificationplugin.desktop \ +" + +FILES_${PN}-dev += " \ + ${datadir}/dbus-1/interfaces/*.xml \ + ${libdir}/cmake/KF5Notifications/*.cmake \ + ${prefix}/mkspecs/modules/qt_KNotifications.pri \ +" diff --git a/recipes-kf5/tier2/knotifications_5.36.0.bb b/recipes-kf5/tier2/knotifications_5.36.0.bb new file mode 100644 --- /dev/null +++ b/recipes-kf5/tier2/knotifications_5.36.0.bb @@ -0,0 +1,2 @@ +require ${PN}.inc +SRCREV = "v${PV}"