[arch-commits] Commit in texstudio/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Jul 7 00:46:30 UTC 2018
Date: Saturday, July 7, 2018 @ 00:46:29
Author: svenstaro
Revision: 353928
upgpkg: texstudio 2.12.10-2
Use system hunspell and quazip
Modified:
texstudio/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-07 00:40:56 UTC (rev 353927)
+++ PKGBUILD 2018-07-07 00:46:29 UTC (rev 353928)
@@ -2,12 +2,12 @@
# Contributor: Clément DEMOULINS <clement at archivel.fr>
pkgname=texstudio
pkgver=2.12.10
-pkgrel=1
+pkgrel=2
pkgdesc="Integrated writing environment for creating LaTeX documents"
arch=('x86_64')
url="http://texstudio.sourceforge.net/"
license=('GPL')
-depends=('poppler-qt5' 'qt5-svg' 'qt5-script' 'libxkbcommon-x11' 'hicolor-icon-theme')
+depends=('poppler-qt5' 'qt5-svg' 'qt5-script' 'libxkbcommon-x11' 'hicolor-icon-theme' 'hunspell' 'quazip')
makedepends=('qt5-tools' 'mercurial' 'imagemagick' 'librsvg')
optdepends=('evince: pdf reader'
'okular: alternate pdf reader')
@@ -20,7 +20,11 @@
'a098c45440077db6c137bbeeb76d266242b80d51c3721aed30987d22b3e381b2a490b685aff4897d203a17256c64a9254360e3ac6f962675ea4b9a575a29a808')
prepare() {
- cd texstudio-${pkgver}/src
+ cd texstudio-${pkgver}
+ sed -i "s/-lquazip/-lquazip5/g" texstudio.pro
+ sed -i "s|include/quazip|include/quazip5|g" texstudio.pro
+
+ cd src
patch -Np1 < "${srcdir}"/fs54269.patch
patch -Np1 < "${srcdir}"/fs56433.patch
}
@@ -27,7 +31,7 @@
build() {
cd texstudio-${pkgver}
- qmake-qt5 CONFIG-="debug" texstudio.pro
+ qmake-qt5 CONFIG-="debug" USE_SYSTEM_QUAZIP=1 USE_SYSTEM_HUNSPELL=1 texstudio.pro
make
}
More information about the arch-commits
mailing list