From 4ed43b92b122b20c51bc86b82db39ced222b01f2 Mon Sep 17 00:00:00 2001
From: Johan Thelin <johan.thelin@pelagicore.com>
Date: Thu, 10 Jul 2014 23:20:51 +0200
Subject: [PATCH] Initial configuration

---
 COPYING.MIT     | 17 ++++++++++++++
 README          | 59 +++++++++++++++++++++++++++++++++++++++++++++++++
 conf/layer.conf | 10 +++++++++
 3 files changed, 86 insertions(+)
 create mode 100644 COPYING.MIT
 create mode 100644 README
 create mode 100644 conf/layer.conf

diff --git a/COPYING.MIT b/COPYING.MIT
new file mode 100644
index 0000000..89de354
--- /dev/null
+++ b/COPYING.MIT
@@ -0,0 +1,17 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/README b/README
new file mode 100644
index 0000000..a2cfd70
--- /dev/null
+++ b/README
@@ -0,0 +1,59 @@
+Dependencies
+============
+
+This layer depends on:
+
+  URI: git://github.com/meta-qt5/meta-qt5
+  branch: master
+
+  URI: git://git.openembedded.org/bitbake
+  branch: master
+
+  URI: git://git.openembedded.org/openembedded-core
+  layers: meta
+  branch: master
+
+Patches
+=======
+
+Please submit any patches against the kf5 layer as pull requests to the github
+project available from https://github.com/e8johan/meta-kf5 .
+
+
+Table of Contents
+=================
+
+  I. Adding the kf5 layer to your build
+ II. KF5
+
+
+I. Adding the kf5 layer to your build
+=================================================
+
+In order to use this layer, you need to make the build system aware of
+it.
+
+Assuming the kf5 layer exists at the top-level of your
+yocto build tree, you can add it to the build system by adding the
+location of the kf5 layer to bblayers.conf, along with any
+other layers needed. e.g.:
+
+  BBLAYERS ?= " \
+    /path/to/yocto/meta \
+    /path/to/yocto/meta-yocto \
+    /path/to/yocto/meta-yocto-bsp \
+    /path/to/yocto/meta-kf5 \
+    "
+
+
+II. KF5
+=======
+
+KF5, or KDE Frameworks 5, are a set of Qt add-on modules developed by the KDE
+project. They extend and improve on Qt. User documentation can be found here:
+
+http://api.kde.org/frameworks-api/frameworks5-apidocs/
+
+Information regarding the development of KF5 can be found here:
+
+https://community.kde.org/Frameworks
diff --git a/conf/layer.conf b/conf/layer.conf
new file mode 100644
index 0000000..12ae27f
--- /dev/null
+++ b/conf/layer.conf
@@ -0,0 +1,10 @@
+# We have a conf and classes directory, add to BBPATH
+BBPATH .= ":${LAYERDIR}"
+
+# We have recipes-* directories, add to BBFILES
+BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
+	${LAYERDIR}/recipes-*/*/*.bbappend"
+
+BBFILE_COLLECTIONS += "kf5"
+BBFILE_PATTERN_kf5 = "^${LAYERDIR}/"
+BBFILE_PRIORITY_kf5 = "6"