git » okular.git » commit 24461a9

Don't build mobile app

author Antonio Rojas
2020-01-25 10:34:55 UTC
committer Antonio Rojas
2020-01-25 10:34:55 UTC
parent 47ac41958c24d7399eb18c310049e2855b595b58

Don't build mobile app

PKGBUILD +4 -3

diff --git a/PKGBUILD b/PKGBUILD
index e65c6ee..131a257 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=okular
 pkgver=19.12.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Document Viewer'
 arch=(x86_64)
 url="https://kde.org/applications/graphics/okular/"
@@ -13,7 +13,7 @@ groups=(kde-applications kdegraphics)
 depends=(djvulibre libspectre libkexiv2 poppler-qt5 qca kpty kactivities threadweaver kjs kparts purpose discount phonon-qt5)
 makedepends=(extra-cmake-modules ebook-tools kdegraphics-mobipocket kdoctools khtml chmlib)
 optdepends=('ebook-tools: mobi and epub support'
-            'kdegraphics-mobipocket: mobi support' 'kirigami2: mobile UI' 'libzip: CHM support'
+            'kdegraphics-mobipocket: mobi support' 'libzip: CHM support'
             'khtml: CHM support' 'chmlib: CHM support' 'calligra: ODT and ODP support'
             'unrar: Comic Book Archive support' 'unarchiver: Comic Book Archive support (alternative)')
 source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
@@ -30,7 +30,8 @@ prepare() {
 build() {
   cd build
   cmake ../$pkgname-$pkgver \
-    -DBUILD_TESTING=OFF
+    -DBUILD_TESTING=OFF \
+    -DBUILD_OKULARKIRIGAMI=OFF
   make
 }