[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [yocto-meta-kf5] /: Add KNotification recipe
From:       Volker Krause <null () kde ! org>
Date:       2017-07-31 18:41:06
Message-ID: E1dcFco-00087I-OH () code ! kde ! org
[Download RAW message or body]

Git commit cf312af286710658893f88688eba920e596a16dc by Volker Krause.
Committed on 31/07/2017 at 18:41.
Pushed by vkrause into branch 'master'.

Add KNotification recipe

Reviewers: cordlandwehr

Reviewed By: cordlandwehr

Differential Revision: https://phabricator.kde.org/D7000

M  +6    -2    conf/layer.conf
A  +19   -0    recipes-kdesupport/phonon.inc
A  +4    -0    recipes-kdesupport/phonon_4.9.0.bb
A  +23   -0    recipes-kf5/tier2/knotifications.inc
A  +2    -0    recipes-kf5/tier2/knotifications_5.36.0.bb

https://commits.kde.org/yocto-meta-kf5/cf312af286710658893f88688eba920e596a16dc

diff --git a/conf/layer.conf b/conf/layer.conf
index 12ae27f..6114550 100644
--- 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
index 0000000..ffd9b70
--- /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
index 0000000..1e70106
--- /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
index 0000000..1be1561
--- /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
index 0000000..56169bb
--- /dev/null
+++ b/recipes-kf5/tier2/knotifications_5.36.0.bb
@@ -0,0 +1,2 @@
+require ${PN}.inc
+SRCREV = "v${PV}"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic