summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2019-05-28 15:30:35 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2019-05-31 13:44:41 +0300
commit34c416c14055aefb6f4b288e1c6a992bb020cc7f (patch)
tree4dd414eb14638a6c7c89fda856fbd225f663f0a5
parent2fb71399cce3ca7cba63ee1f6d93cd1a3082177e (diff)
meta-pipewire: initial yocto layer for pipewire
Bug-AGL: SPEC-2473 Change-Id: I1027dbfa7bfeba2bfa67f6247a819d9e04f3700c Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
-rw-r--r--meta-pipewire/conf/include/agl-pipewire.inc1
-rw-r--r--meta-pipewire/conf/layer.conf12
-rw-r--r--templates/feature/agl-pipewire/50_bblayers.conf.inc5
-rw-r--r--templates/feature/agl-pipewire/50_local.conf.inc2
4 files changed, 20 insertions, 0 deletions
diff --git a/meta-pipewire/conf/include/agl-pipewire.inc b/meta-pipewire/conf/include/agl-pipewire.inc
new file mode 100644
index 00000000..1df2d142
--- /dev/null
+++ b/meta-pipewire/conf/include/agl-pipewire.inc
@@ -0,0 +1 @@
+DISTRO_FEATURES_append = " pipewire"
diff --git a/meta-pipewire/conf/layer.conf b/meta-pipewire/conf/layer.conf
new file mode 100644
index 00000000..bd56479c
--- /dev/null
+++ b/meta-pipewire/conf/layer.conf
@@ -0,0 +1,12 @@
+# 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 += "meta-pipewire"
+BBFILE_PATTERN_meta-pipewire = "^${LAYERDIR}/"
+BBFILE_PRIORITY_meta-pipewire = "8"
+
+LAYERSERIES_COMPAT_meta-pipewire = "thud"
diff --git a/templates/feature/agl-pipewire/50_bblayers.conf.inc b/templates/feature/agl-pipewire/50_bblayers.conf.inc
new file mode 100644
index 00000000..8a6baaa2
--- /dev/null
+++ b/templates/feature/agl-pipewire/50_bblayers.conf.inc
@@ -0,0 +1,5 @@
+
+BBLAYERS =+ " \
+ ${METADIR}/meta-agl-devel/meta-pipewire \
+ "
+
diff --git a/templates/feature/agl-pipewire/50_local.conf.inc b/templates/feature/agl-pipewire/50_local.conf.inc
new file mode 100644
index 00000000..33838b08
--- /dev/null
+++ b/templates/feature/agl-pipewire/50_local.conf.inc
@@ -0,0 +1,2 @@
+#see meta-agl-devel/meta-pipewire/conf/include/agl-pipewire.inc
+require conf/include/agl-pipewire.inc