26 lines
963 B
Bash
26 lines
963 B
Bash
# Template file for 'texstudio'
|
|
pkgname=texstudio
|
|
version=2.12.10
|
|
revision=1
|
|
build_style=qmake
|
|
configure_args="$(vopt_if phonon PHONON=true)
|
|
$(vopt_if poppler '' NO_POPPLER_PREVIEW=true)"
|
|
hostmakedepends="pkg-config qt5-qmake"
|
|
makedepends="qt5-webkit-devel qt5-svg-devel qt5-script-devel qt5-tools-devel
|
|
$(vopt_if phonon phonon-qt5-devel) $(vopt_if poppler poppler-qt5-devel)"
|
|
depends="qt5-svg"
|
|
short_desc="Powerful Tex/LaTeX editor based on texmaker"
|
|
maintainer="Piraty <piraty1@inbox.ru>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://texstudio.org/"
|
|
distfiles="https://github.com/texstudio-org/texstudio/archive/${version}.tar.gz"
|
|
checksum=92cf9cbb536e58a5929611fa40438cd9d7ea6880022cd3c5de0483fd15d3df0b
|
|
|
|
build_options="phonon poppler"
|
|
desc_option_phonon="build with phonon support"
|
|
desc_option_poppler="build with poppler (=internal pdf preview)"
|
|
build_options_default="phonon poppler"
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" ${makedepends}"
|
|
fi
|