ehooks() { sed -i "s/:ubuntu//" data/unity{,.session}.desktop.in.in || die # Disable all language files as they can be incomplete # # due to being provided by Ubuntu's language-pack packages # > po/LINGUAS # If a .desktop file does not have inline # translations, fall back to calling gettext echo "X-GNOME-Gettext-Domain=${PN}" >> "data/${PN}-properties.desktop.in" # Drop version suffix # sed -i "/GETTEXT_PACKAGE/{s/session_api_name/'${PN}'/}" meson.build || die }