[arch-commits] Commit in calligra/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Dec 14 22:39:35 UTC 2017
Date: Thursday, December 14, 2017 @ 22:39:34
Author: arojas
Revision: 312907
kcalcore/okular 17.12 rebuild
Modified:
calligra/trunk/PKGBUILD
----------+
PKGBUILD | 37 +++++++++++++++++++++----------------
1 file changed, 21 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-14 22:20:02 UTC (rev 312906)
+++ PKGBUILD 2017-12-14 22:39:34 UTC (rev 312907)
@@ -7,14 +7,14 @@
pkgname=calligra
pkgdesc="A set of applications for productivity and creative usage"
pkgver=3.0.1
-pkgrel=8
-arch=('x86_64')
+pkgrel=9
+arch=(x86_64)
url='https://www.calligra-suite.org/'
-license=('FDL1.2' 'GPL2' 'LGPL')
-depends=('kcmutils' 'knotifyconfig' 'kross' 'kactivities' 'kdiagram' 'kreport' 'libspnav'
- 'gsl' 'openexr' 'kcontacts' 'kcalcore' 'qca-qt5' 'poppler-qt5' 'libodfgen' 'qt5-webkit' 'cauchy' 'khtml')
-makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'kdesignerplugin' 'boost' 'openjpeg'
- 'libwpg' 'okular' 'eigen' 'marble-common' 'pstoedit' 'libvisio' 'libetonyek' 'libwps' 'vc')
+license=(FDL1.2 GPL2 LGPL)
+depends=(kcmutils knotifyconfig kross kactivities kdiagram kreport libspnav kdelibs4support
+ gsl openexr kcontacts kcalcore qca-qt5 poppler-qt5 libodfgen qt5-webkit cauchy khtml)
+makedepends=(extra-cmake-modules kdoctools python kdesignerplugin boost openjpeg akonadi-contacts
+ libwpg okular eigen marble-common pstoedit libvisio libetonyek libwps vc)
optdepends=('libwpg: Corel WordPerfect Graphics image importer'
'libwps: Microsoft Works file word processor format import'
'libvisio: Microsoft Visio import filter'
@@ -22,32 +22,37 @@
'pstoedit: EPS to SVG filter'
'poppler: PDF to SVG filter'
'openjpeg: PDF to SVG filer')
-conflicts=('calligra-devtools' 'calligra-extras' 'calligra-filters' 'calligra-karbon' 'karbon' 'calligra-libs' 'calligra-plan'
- 'calligra-plugins' 'calligra-sheets' 'calligra-stage' 'calligra-words' 'calligra-l10n' 'calligra-meta'
- 'calligra-flow' 'calligra-braindump' 'calligra-gemini' 'calligra-handbook')
-replaces=('calligra-devtools' 'calligra-extras' 'calligra-filters' 'calligra-karbon' 'karbon' 'calligra-libs' 'calligra-plan'
- 'calligra-plugins' 'calligra-sheets' 'calligra-stage' 'calligra-words' 'calligra-l10n' 'calligra-meta')
+conflicts=(calligra-devtools calligra-extras calligra-filters calligra-karbon karbon calligra-libs calligra-plan
+ calligra-plugins calligra-sheets calligra-stage calligra-words calligra-l10n calligra-meta
+ calligra-flow calligra-braindump calligra-gemini calligra-handbook)
+replaces=(calligra-devtools calligra-extras calligra-filters calligra-karbon karbon calligra-libs calligra-plan
+ calligra-plugins calligra-sheets calligra-stage calligra-words calligra-l10n calligra-meta)
for _lang in bs ca ca at valencia cs da de el en_gb es et fi fr gl hu it ja kk nb nl \
pl pt pt_br ru sk sv uk zh_cn zh_tw; do
conflicts+=(calligra-l10n-$_lang)
replaces+=(calligra-l10n-$_lang)
done
-source=("https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig}
+ calligra-kcalcore-17.12.patch::"https://cgit.kde.org/calligra.git/patch/?id=9a02a545")
sha256sums=('452bddc4e03cfbf48de508b991dc94209d386d86bf010ea9d10afed0f5694db2'
- 'SKIP')
+ 'SKIP'
+ '83b8eff3e5fa50decf826b22912d0f77ae855c230c470ad4c260870a888cdce0')
validpgpkeys=(05D00A8B73A686789E0A156858B9596C722EA3BD # Boudewijn Rempt <foundation at krita.org>
42A60D06F449E895F40F09C01638B8A616108B8A) # Dag Andersen <danders at get2net.dk>
prepare() {
mkdir -p build
+
+ cd $pkgbase-$pkgver
+ patch -p1 -i ../calligra-kcalcore-17.12.patch # Fix build with kcalcore 17.12
}
build() {
cd build
- cmake ../${pkgbase}-${pkgver} \
+ cmake ../$pkgbase-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DKDE_INSTALL_LIBDIR=lib \
+ -DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
make
}
More information about the arch-commits
mailing list