Date: Monday, December 5, 2016 @ 15:35:42 Author: arojas Revision: 282843
Update to 3.0.0 Modified: calligra/trunk/PKGBUILD ----------+ PKGBUILD | 128 +++++++++++++++++++------------------------------------------ 1 file changed, 40 insertions(+), 88 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-12-05 14:46:08 UTC (rev 282842) +++ PKGBUILD 2016-12-05 15:35:42 UTC (rev 282843) @@ -5,12 +5,9 @@ # Contributor: Ronald van Haren <ronald.archlinux.org> pkgbase=calligra -pkgname=('calligra-braindump' - 'calligra-devtools' +pkgname=('calligra-devtools' 'calligra-extras' 'calligra-filters' - 'calligra-flow' - 'calligra-gemini' 'calligra-handbook' 'calligra-karbon' 'calligra-libs' @@ -19,25 +16,22 @@ 'calligra-sheets' 'calligra-stage' 'calligra-words') -pkgver=2.9.11 -pkgrel=9 +pkgver=3.0.0 +pkgrel=1 arch=('i686' 'x86_64') url='http://www.calligra-suite.org/' license=('FDL1.2' 'GPL2' 'LGPL') -makedepends=('cmake' 'automoc4' 'boost' 'kdepimlibs4' 'eigen' - 'lcms2' 'libwpg' 'libwps' 'gsl' 'glew' 'fftw' 'poppler-qt4' 'libodfgen' - 'pstoedit' 'libvisio' 'libetonyek' 'libspnav') +makedepends=('extra-cmake-modules' 'kcmutils' 'kdoctools' 'python' 'kdelibs4support' 'knotifyconfig' + 'kdesignerplugin' 'kross' 'ktexteditor' 'threadweaver' 'kactivities' 'khtml' 'boost' + 'libwpg' 'poppler-qt5' 'kdiagram' 'kreport' 'eigen' 'marble' 'openjpeg' 'pstoedit' 'libspnav' + 'libvisio' 'libetonyek' 'libodfgen' 'libwps' 'gsl' 'openexr' 'akonadi-contacts' 'kcalcore' + 'vc' 'qca-qt5' 'git') groups=('calligra') -source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.xz" 'libwps-0.4.patch') -md5sums=('a1a4935debae64724cd4c0d17d61ae4e' - '6ea15f8b3938838d89ea0aa08921afd1') +source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.gz") +md5sums=('d658ed72aa7d5f2b0ebd8844007d4ac6') prepare() { mkdir -p build - -# Fix build against libwps 0.4 - cd $pkgbase-$pkgver - patch -p1 -i "$srcdir"/libwps-0.4.patch } build() { @@ -45,100 +39,88 @@ cmake ../${pkgbase}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_active=OFF \ - -DWITH_Soprano=OFF \ - -DBUILD_krita=OFF \ - -DBUILD_kexi=OFF + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF make } package_calligra-filters() { pkgdesc="Filters for the Calligra office suite" - depends=('libodfgen') + depends=('calligra-sheets' 'calligra-words' 'calligra-karbon' 'libodfgen') optdepends=('libwpg: Corel WordPerfect Graphics image importer' 'libwps: Microsoft Works file word processor format import' 'libvisio: Microsoft Visio import filter' - 'libetonyek: Apple Keynote import filter') - + 'libetonyek: Apple Keynote import filter' + 'pstoedit: EPS to SVG filter' + 'poppler: PDF to SVG filter' + 'khtml: HTML to ODS filter' + 'openjpeg: PDF to SVG filer') cd build/filters - make DESTDIR="${pkgdir}" install + make DESTDIR="$pkgdir" install } package_calligra-libs() { pkgdesc="Libraries for the Calligra office suite" - depends=('kdepimlibs4') - conflicts=('calligra-interfaces' 'calligra-pics' 'calligra-servicetypes') - replaces=('calligra-interfaces' 'calligra-pics' 'calligra-servicetypes') + depends=('akonadi-contacts' 'ilmbase' 'kactivities' 'qca-qt5') - for d in interfaces libs pics servicetypes; do - cd "${srcdir}"/build/${d} - make DESTDIR="${pkgdir}" install + for _d in interfaces libs pics servicetypes; do + cd "$srcdir"/build/$_d + make DESTDIR="$pkgdir" install done } package_calligra-plugins() { pkgdesc="Plugins for the Calligra office suite" - depends=('calligra-libs' 'calligra-filters' 'libspnav') + depends=('calligra-filters' 'libspnav' 'kdiagram') cd build/plugins - make DESTDIR="${pkgdir}" install - - cd ../3rdparty/kdchart - make DESTDIR="${pkgdir}" install + make DESTDIR="$pkgdir" install } package_calligra-karbon() { pkgdesc="Create scalable vector drawings" - depends=('calligra-libs' 'kdebase-runtime' 'pstoedit') + depends=('calligra-libs' 'hicolor-icon-theme') optdepends=('calligra-filters: import/export filters' 'calligra-extras: extra calligra tools') cd build/karbon - make DESTDIR="${pkgdir}" install + make DESTDIR="$pkgdir" install } package_calligra-plan() { pkgdesc="Calligra Project Management Component" - depends=('calligra-words') + depends=('calligra-words' 'kreport' 'kcalcore' 'khtml' 'kdiagram') cd build/plan - make DESTDIR="${pkgdir}" install - - cd ../3rdparty/kdgantt - make DESTDIR="${pkgdir}" install + make DESTDIR="$pkgdir" install } package_calligra-stage() { pkgdesc="Write presentation documents" - depends=('calligra-plugins' 'kdebase-runtime') + depends=('calligra-libs' 'qt5-webkit' 'hicolor-icon-theme') cd build/stage - make DESTDIR="${pkgdir}" install - cd ../doc/stage - make DESTDIR="${pkgdir}" install + make DESTDIR="$pkgdir" install } package_calligra-sheets() { pkgdesc="Write spreadsheet documents" - depends=('calligra-libs' 'gsl' 'kdebase-runtime') + depends=('calligra-libs' 'gsl' 'kdelibs4support' 'kcmutils' 'knotifyconfig' 'hicolor-icon-theme') optdepends=('calligra-filters: import/export filters' 'calligra-plugins: extra calligra plugins' 'calligra-extras: extra calligra tools') cd build/sheets - make DESTDIR="${pkgdir}" install - cd ../doc/sheets - make DESTDIR="${pkgdir}" install + make DESTDIR="$pkgdir" install } package_calligra-words() { pkgdesc="Word Processor" - depends=('kdebase-runtime' 'calligra-plugins') + depends=('calligra-libs' 'hicolor-icon-theme') optdepends=('calligra-extras: extra calligra tools') cd build/words - make DESTDIR="${pkgdir}" install + make DESTDIR="$pkgdir" install } package_calligra-handbook() { @@ -146,54 +128,24 @@ options=('docs') cd build/doc/calligra - make DESTDIR="${pkgdir}" install + make DESTDIR="$pkgdir" install } -package_calligra-braindump() { - pkgdesc="Notes and idea gathering" - depends=('calligra-libs' 'kdebase-runtime') - - cd build/braindump - make DESTDIR="${pkgdir}" install -} - -package_calligra-flow() { - pkgdesc="Flowchart & Diagram Editing" - depends=('calligra-words') - optdepends=('calligra-karbon: to export the charts in various formats') - - cd build/flow - make DESTDIR="${pkgdir}" install -} - package_calligra-extras() { pkgdesc="Calligra suite extras" depends=('calligra-libs') - conflicts=('calligra-tools') - replaces=('calligra-tools') cd build/extras - make DESTDIR="${pkgdir}" install + make DESTDIR="$pkgdir" install cd ../data - make DESTDIR="${pkgdir}" install + make DESTDIR="$pkgdir" install } package_calligra-devtools() { pkgdesc="Calligra developer tools" - depends=('calligra-libs' 'poppler-qt4') + depends=('calligra-sheets' 'calligra-words' 'poppler-qt5') cd build/devtools - make DESTDIR="${pkgdir}" install + make DESTDIR="$pkgdir" install } - -package_calligra-gemini() { - pkgdesc="QML interface for Calligra Words and Stage" - depends=('calligra-words' 'calligra-stage') -# optdepends=('libqgit2: GIT plugin') - - cd build/qtquick - make DESTDIR="${pkgdir}" install - cd "${srcdir}"/build/gemini - make DESTDIR="${pkgdir}" install -}