32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
# Template file for 'texstudio'
|
|
pkgname=texstudio
|
|
version=4.8.4
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="$(vopt_bool multimedia TEXSTUDIO_ENABLE_MEDIAPLAYER)"
|
|
hostmakedepends="pkg-config qt6-base"
|
|
makedepends="qt6-svg-devel qt6-tools-devel qt6-qt5compat-devel
|
|
kf6-kdeclarative-devel hunspell-devel quazip-devel
|
|
$(vopt_if multimedia qt6-multimedia-devel)
|
|
$(vopt_if poppler "poppler-qt6-devel poppler-cpp-devel")"
|
|
depends="qt6-svg"
|
|
short_desc="Powerful Tex/LaTeX editor based on texmaker"
|
|
maintainer="Piraty <mail@piraty.dev>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://texstudio.org/"
|
|
changelog="https://raw.githubusercontent.com/texstudio-org/texstudio/master/utilities/manual/CHANGELOG.txt"
|
|
distfiles="https://github.com/texstudio-org/texstudio/archive/${version}.tar.gz"
|
|
checksum=aec719cb21b788a41576375eeeba734600a54ff64130dd93f5d0da1efa37414c
|
|
|
|
build_options="multimedia poppler"
|
|
desc_option_phonon="build with qt6-multimedia (=media support for pdf preview)"
|
|
desc_option_poppler="build with poppler (=internal pdf preview)"
|
|
|
|
build_options_default="multimedia poppler"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
ppc64*) ;;
|
|
aarch64*|ppc*)
|
|
configure_args+=" -DTEXSTUDIO_ENABLE_CRASH_HANDLER=OFF" ;;
|
|
esac
|