# Contributor: Jonas <3426-spameier@users.gitlab.alpinelinux.org> # Maintainer: Jonas <3426-spameier@users.gitlab.alpinelinux.org> pkgname=texstudio pkgver=4.6.3 pkgrel=1 pkgdesc="A fully featured editor for LaTeX documents" url="https://www.texstudio.org" # disabled elsewhere due to huge size, request if you need it arch="aarch64 x86_64" license="GPL-3.0-or-later" makedepends=" cmake poppler-qt5-dev qt6-qt5compat-dev qt6-qtbase-dev qt6-qtdeclarative-dev qt6-qtsvg-dev qt6-qttools-dev qtermwidget-dev quazip-dev samurai " source="$pkgname-$pkgver.tar.gz::https://github.com/texstudio-org/texstudio/archive/$pkgver.tar.gz qt6.patch " options="!check" # tests fail to build build() { cmake -B build -G Ninja -Wno-dev \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DQT_VERSION_MAJOR=6 cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 4d452574dede32442b40d5c84b79f5e62d02105fd2ff34d2900db1c7e0dd3e945ab93f2e28d6944f1ec206d1847a0779742c4e86dc8cc828bb186a77840787a0 texstudio-4.6.3.tar.gz 60380c7e962ea9deb9117c95153dc7f827b0534adeeb59b6de123d57264b74dba3c960744433686c68fac34f11d788125ba7bc08d36882b10f1282bfa597829d qt6.patch "