Skip to content

Commit

Permalink
nemo-qml-plugin-calendar: added
Browse files Browse the repository at this point in the history
  • Loading branch information
neochapay committed Feb 1, 2022
1 parent d8faff7 commit 9c8c661
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy.sh
Expand Up @@ -104,6 +104,7 @@ eval "$BUILD qt5-feedback-haptics-native-vibrator"
eval "$BUILD libsocialcache"
eval "$BUILD buteo-sync-plugins-social"
eval "$BUILD nemo-qml-plugin-alarms"
eval "$BUILD nemo-qml-plugin-calendar"

#Glacier UX packages
eval "$BUILD nemo-theme-openmoko-git"
Expand Down
12 changes: 12 additions & 0 deletions nemo-qml-plugin-calendar/0001-disable_werror.patch
@@ -0,0 +1,12 @@
diff --git a/src/src.pro b/src/src.pro
index f3b3f75..2843f72 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -6,7 +6,6 @@ CONFIG += qt plugin hide_symbols

QT += qml concurrent
QT -= gui
-QMAKE_CXXFLAGS += -Werror

target.path = $$[QT_INSTALL_QML]/$$PLUGIN_IMPORT_PATH
PKGCONFIG += KF5CalendarCore libmkcal-qt5 accounts-qt5
32 changes: 32 additions & 0 deletions nemo-qml-plugin-calendar/PKGBUILD
@@ -0,0 +1,32 @@
## $Id$
# Contributor: Chupligin Sergey (NeoChapay) <neochapay@gmail.com>

pkgname=nemo-qml-plugin-calendar
pkgver=0.6.33
pkgrel=1
pkgdesc="Calendar plugin for Nemo Mobile"
arch=('x86_64' 'aarch64')
url="https://github.com/sailfishos/$pkgname"
license=('BSD')
depends=('qt5-base' 'libaccounts-qt' 'mkcal' 'kcalendarcore')
source=("${url}/archive/refs/tags/$pkgver.tar.gz"
"0001-disable_werror.patch")
sha256sums=('ad65aeb33594fff112c8add7b6c3cd59286b22ff9c5d9f2a08446d56a4ec73ae'
'5497ca6cf4dc9dad821ae4b0614da789c92efcb74837dc99a006938aaa6bfc36')

prepare() {
cd $pkgname-$pkgver
patch -p1 --input="${srcdir}/0001-disable_werror.patch"
}

build() {
cd $pkgname-$pkgver
qmake
make
}

package() {
cd $pkgname-$pkgver
make -j 1 INSTALL_ROOT="$pkgdir/" install
rm -rf $pkgdir/opt
}

0 comments on commit 9c8c661

Please sign in to comment.