Dirty hack to force mobile version of Okular

This commit is contained in:
Volker Krause
2019-02-22 17:15:01 +01:00
parent e0c3a51934
commit 24c3ad1323

View File

@@ -19,6 +19,11 @@ DEPENDS += " \
SRC_URI = "git://anongit.kde.org/${BPN};nobranch=1"
S = "${WORKDIR}/git"
# dirty hack to force the mobile version and hide the desktop one
do_install_append() {
sed -i 's/Exec=okular %U$/Exec=okularkirigami %U/g' ${D}${datadir}/applications/org.kde.okular.desktop
}
inherit cmake_kdeapp
inherit kcoreaddons
inherit kconfig