Remove unneeded .desktop files

This commit is contained in:
David McKinney 2019-05-07 09:07:58 -04:00 committed by Bruce Leidl
parent d32b7d13a2
commit 9f2bda3d20
4 changed files with 17 additions and 1 deletions

View File

@ -14,5 +14,9 @@ FILES_${PN} += "/usr/lib/systemd /usr/share/dbus-1"
inherit gettext pkgconfig autotools gobject-introspection inherit gettext pkgconfig autotools gobject-introspection
EXTRA_OECONF = "--disable-gtk-doc --disable-3g-source --disable-modem-gps-source --disable-cdma-source --disable-nmea-source" EXTRA_OECONF = "--disable-gtk-doc --disable-3g-source --disable-modem-gps-source --disable-cdma-source --disable-nmea-source --enable-demo-agent=no"
do_install_append () {
rm ${D}${datadir}/applications/geoclue-demo-agent.desktop
rm ${D}${datadir}/applications/geoclue-where-am-i.desktop
}

View File

@ -25,3 +25,8 @@ FILES_${PN} += " \
# http://errors.yoctoproject.org/Errors/Details/20229/ # http://errors.yoctoproject.org/Errors/Details/20229/
ARM_INSTRUCTION_SET = "arm" ARM_INSTRUCTION_SET = "arm"
do_install_append () {
rm ${D}${datadir}/applications/gcr-prompter.desktop
rm ${D}${datadir}/applications/gcr-viewer.desktop
}

View File

@ -23,3 +23,7 @@ FILES_${PN} += "\
DEPENDS += "gtk+3 glib-2.0 pango gnome-autoar libxml2 gnome-desktop tracker gexiv2" DEPENDS += "gtk+3 glib-2.0 pango gnome-autoar libxml2 gnome-desktop tracker gexiv2"
EXTRA_OEMESON = "-Dselinux=false -Dpackagekit=false -Dextensions=false -Dintrospection=true" EXTRA_OEMESON = "-Dselinux=false -Dpackagekit=false -Dextensions=false -Dintrospection=true"
do_install_append () {
rm ${D}${datadir}/applications/nautilus-autorun-software.desktop
}

View File

@ -39,3 +39,6 @@ do_configure_prepend() {
sed -i "s^@EXTRA_AM_VALAFLAGS@^--vapidir=${RECIPE_SYSROOT_NATIVE}${datadir}/vala-0.38/vapi --vapidir=${B}/bindings/vala --pkg gio-2.0^g" ${S}/ui/gtk3/Makefile.am sed -i "s^@EXTRA_AM_VALAFLAGS@^--vapidir=${RECIPE_SYSROOT_NATIVE}${datadir}/vala-0.38/vapi --vapidir=${B}/bindings/vala --pkg gio-2.0^g" ${S}/ui/gtk3/Makefile.am
} }
do_install_append () {
rm ${D}${datadir}/applications/ibus-setup.desktop
}