Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |