]> code.ossystems Code Review - openembedded-core.git/commitdiff
gnomebase.bbclass: add datadir/icons and datadir/appdata to standard FILES list
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Fri, 16 Jun 2017 11:38:58 +0000 (14:38 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Jun 2017 14:51:55 +0000 (15:51 +0100)
Gnome apps seem to increasingly package those, so let's make it common.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
meta/classes/gnomebase.bbclass
meta/recipes-gnome/epiphany/epiphany_3.22.6.bb
meta/recipes-kernel/sysprof/sysprof_3.24.1.bb

index 54aa45f174c474d6d949ffab97cbd6fa102838e3..4ccc8e078140be3ad36f506ae3757f7f4d81647f 100644 (file)
@@ -14,6 +14,8 @@ FILES_${PN} += "${datadir}/application-registry  \
                 ${datadir}/polkit* \
                 ${datadir}/GConf \
                 ${datadir}/glib-2.0/schemas \
+                ${datadir}/appdata \
+                ${datadir}/icons \
 "
 
 FILES_${PN}-doc += "${datadir}/devhelp"
index 651fef1bf086f1beae400237eae09d4b57b22cd0..e9e3493e6741955ed3761c9d4fef02eb2cdb14d9 100644 (file)
@@ -19,5 +19,5 @@ do_configure_prepend() {
     sed -i -e s:help::g ${S}/Makefile.am
 }
 
-FILES_${PN} += "${datadir}/appdata ${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers"
+FILES_${PN} += "${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers"
 RDEPENDS_${PN} = "iso-codes adwaita-icon-theme"
index ca3589bcc97bd08a4805fac4e89859cdda700c62..36093ca89f4d13116a6cf883c967a62468e41827 100644 (file)
@@ -30,7 +30,6 @@ PACKAGECONFIG[polkit] = "--enable-polkit,--disable-polkit,polkit dbus"
 
 SOLIBS = ".so"
 FILES_SOLIBSDEV = ""
-FILES_${PN} += "${datadir}/icons/ ${datadir}/appdata"
 
 SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'polkit', 'sysprof2.service', '', d)}"