libfm: split the gtk+ bindings into their own package

Submitted by Max Krummenacher on Jan. 27, 2018, 1:56 p.m. | Patch ID: 147635

Details

Message ID 20180127135632.9425-1-max.krummenacher@toradex.com
State Master Next
Commit 9a7d84c8477141b6707e3441ba7af1725bc53241
Headers show

Commit Message

Max Krummenacher Jan. 27, 2018, 1:56 p.m.
Recipes depending on libfm with the gtk+ bindings will automatically rdepend
additionally on the new package libfm-gtk.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
---
 meta/recipes-support/libfm/libfm_1.2.5.bb | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-support/libfm/libfm_1.2.5.bb b/meta/recipes-support/libfm/libfm_1.2.5.bb
index 1ddddfdc99..6844243c1e 100644
--- a/meta/recipes-support/libfm/libfm_1.2.5.bb
+++ b/meta/recipes-support/libfm/libfm_1.2.5.bb
@@ -24,7 +24,19 @@  EXTRA_OECONF = "--with-gtk=3"
 
 do_configure[dirs] =+ "${S}/m4"
 
+PACKAGES =+ "libfm-gtk"
 PACKAGES += "${PN}-mime"
+FILES_libfm-gtk = " \
+    ${libdir}/libfm-gtk*so.* \
+    ${libdir}/libfm/modules/gtk* \
+    ${bindir}/libfm-pref-apps \
+    ${bindir}/lxshortcut \
+    ${datadir}/applications/libfm-pref-apps.desktop \
+    ${datadir}/applications/lxshortcut.desktop \
+    ${datadir}/libfm/images/folder.png \
+    ${datadir}/libfm/images/unknown.png \
+    ${datadir}/libfm/ui/*.ui \
+"
 FILES_${PN}-mime = "${datadir}/mime/"
 
 do_install_append () {