Commit f960d5f1 authored by Florent Revest's avatar Florent Revest

lipstick: Provide a default notifications database. This is a hacky way to...

lipstick: Provide a default notifications database. This is a hacky way to solve lipstick using 100% of CPU on first launch and improve the user experience.
parent 85fb11fd
...@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24" ...@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24"
SRC_URI = "git://github.com/AsteroidOS/lipstick.git;protocol=https \ SRC_URI = "git://github.com/AsteroidOS/lipstick.git;protocol=https \
file://0001-Disables-tests-and-doc.patch \ file://0001-Disables-tests-and-doc.patch \
file://0002-notificationcategories-use-ion-icons.patch \ file://0002-notificationcategories-use-ion-icons.patch \
file://0003-Disable-USB-mode-notifications-on-connect.patch" file://0003-Disable-USB-mode-notifications-on-connect.patch \
file://Notifications/"
SRCREV = "a1234260a95fba1601fd8be2709b1dd214c434fa" SRCREV = "a1234260a95fba1601fd8be2709b1dd214c434fa"
PR = "r1" PR = "r1"
PV = "+git${SRCPV}" PV = "+git${SRCPV}"
...@@ -26,9 +27,12 @@ do_install_append() { ...@@ -26,9 +27,12 @@ do_install_append() {
cd ${S}/i18n/ cd ${S}/i18n/
lrelease -idbased *.ts lrelease -idbased *.ts
cp -r *.qm ${D}/usr/share/translations/ cp -r *.qm ${D}/usr/share/translations/
install -d ${D}/home/ceres/.local/share/system/privileged/Notifications/
cp -r ${WORKDIR}/Notifications/* ${D}/home/ceres/.local/share/system/privileged/Notifications/
} }
FILES_${PN} += "/usr/lib/qml/org/nemomobile/lipstick/liblipstickplugin.so /usr/lib/qml/org/nemomobile/lipstick/qmldir /usr/share/icons/hicolor/86x86/apps/" FILES_${PN} += "/usr/lib/qml/org/nemomobile/lipstick/liblipstickplugin.so /usr/lib/qml/org/nemomobile/lipstick/qmldir /usr/share/icons/hicolor/86x86/apps/ /home/ceres/.local/share/system/privileged/Notifications"
FILES_${PN}-dev += "/usr/lib/liblipstick-qt5.prl" FILES_${PN}-dev += "/usr/lib/liblipstick-qt5.prl"
FILES_${PN}-dbg += "/usr/lib/qml/org/nemomobile/lipstick/.debug" FILES_${PN}-dbg += "/usr/lib/qml/org/nemomobile/lipstick/.debug"
FILES_${PN}-locale += "/usr/share/translations" FILES_${PN}-locale += "/usr/share/translations"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment