Add alias org.nemomobile.dbus
Some nemomobile packages (e.g. https://github.com/nemomobile-ux/glacier-contacts/) refers to org.nemomobile.dbus interface as it was named like this in some previous versions.
In https://github.com/nemomobile-ux/nemo-packaging/ repository it is handled by making symlink and copying modified qmldir file. Can you please include this into your package?
From fb3e413cda32a7848a77f28787d6175f52269c03 Mon Sep 17 00:00:00 2001
From: Jozef Mlich <jmlich83@gmail.com>
Date: Tue, 25 May 2021 17:35:34 +0200
Subject: [PATCH] Add alias to plugin 'org.nemomobile.dbus' for older nemo apps
---
PKGBUILD | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/PKGBUILD b/PKGBUILD
index 383a216..8a75816 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,4 +20,8 @@ build() {
package() {
cd $pkgname-$pkgver
make INSTALL_ROOT="$pkgdir/" install
+ mkdir -p ${pkgdir}/usr/lib/qt/qml/org/nemomobile/dbus/
+ ln -sf /usr/lib/qt/qml/Nemo/DBus/libnemodbus.so ${pkgdir}/usr/lib/qt/qml/org/nemomobile/dbus/
+ sed 's/Nemo.DBus/org.nemomobile.dbus/' < ${pkgdir}/usr/lib/qt/qml/Nemo/DBus/qmldir > ${pkgdir}/usr/lib/qt/qml/org/nemomobile/dbus/qmldir
+
}
--
2.31.1
Edited by Jozef Mlich