mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/texstudio to 2.12.10-2
This commit is contained in:
parent
e0878b97a4
commit
c565e5f713
1 changed files with 8 additions and 4 deletions
|
@ -6,12 +6,12 @@
|
||||||
|
|
||||||
pkgname=texstudio
|
pkgname=texstudio
|
||||||
pkgver=2.12.10
|
pkgver=2.12.10
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Integrated writing environment for creating LaTeX documents"
|
pkgdesc="Integrated writing environment for creating LaTeX documents"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://texstudio.sourceforge.net/"
|
url="http://texstudio.sourceforge.net/"
|
||||||
license=('GPL')
|
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')
|
makedepends=('qt5-tools' 'mercurial' 'imagemagick' 'librsvg')
|
||||||
optdepends=('evince: pdf reader'
|
optdepends=('evince: pdf reader'
|
||||||
'okular: alternate pdf reader')
|
'okular: alternate pdf reader')
|
||||||
|
@ -26,7 +26,11 @@ sha512sums=('c3d1e14df8efe3f37dd71e5d0148f57f117c666b9487712fca5a7bd967eca4f7951
|
||||||
'dcb5ce7cd3e83fc221903fa895e6c428c54ada7468e74bb0a3e6bfac01c9e9575e4780d300b67f44064f2d25e10dd1aef531b847cdee71fbfbe7337808a0c8f4')
|
'dcb5ce7cd3e83fc221903fa895e6c428c54ada7468e74bb0a3e6bfac01c9e9575e4780d300b67f44064f2d25e10dd1aef531b847cdee71fbfbe7337808a0c8f4')
|
||||||
|
|
||||||
prepare() {
|
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}"/fs54269.patch
|
||||||
patch -Np1 < "${srcdir}"/fs56433.patch
|
patch -Np1 < "${srcdir}"/fs56433.patch
|
||||||
patch -Np1 < "${srcdir}"/texstudio-debughelper-arm-fix.patch
|
patch -Np1 < "${srcdir}"/texstudio-debughelper-arm-fix.patch
|
||||||
|
@ -35,7 +39,7 @@ prepare() {
|
||||||
build() {
|
build() {
|
||||||
cd texstudio-${pkgver}
|
cd texstudio-${pkgver}
|
||||||
[[ $CARCH == "aarch64" ]] && EXTRA="NO_CRASH_HANDLER=1"
|
[[ $CARCH == "aarch64" ]] && EXTRA="NO_CRASH_HANDLER=1"
|
||||||
qmake-qt5 CONFIG-="debug" $EXTRA texstudio.pro
|
qmake-qt5 CONFIG-="debug" $EXTRA USE_SYSTEM_QUAZIP=1 USE_SYSTEM_HUNSPELL=1 texstudio.pro
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue