agl-compositor: Move protocol files to the -dev package
[AGL/meta-agl.git] / meta-agl-core / recipes-graphics / wayland / agl-compositor_git.bb
index 87df04e..cdc781a 100644 (file)
@@ -24,9 +24,13 @@ PACKAGECONFIG[policy-deny-all] = "-Dpolicy-default=deny-all,,"
 inherit meson pkgconfig python3native
 
 FILES_${PN} = " \
-               ${bindir}/agl-compositor \
-               ${bindir}/agl-screenshooter \
-               ${datadir}/${PN}/protocols/agl-shell.xml \
-               ${datadir}/${PN}/protocols/agl-shell-desktop.xml \
-              "
+    ${bindir}/agl-compositor \
+    ${bindir}/agl-screenshooter \
+"
+
 RDEPENDS_${PN} += " ${@bb.utils.contains('AGL_FEATURES', 'waltham-remoting', 'waltham waltham-transmitter-plugin', '', d)}"
+
+FILES_${PN}-dev += " \
+    ${datadir}/agl-compositor/protocols/agl-shell.xml \
+    ${datadir}/agl-compositor/protocols/agl-shell-desktop.xml \
+"