void-packages/srcpkgs/texstudio/template
Piraty af9a38c5c4 texstudio: 2.12.6
( unfortunately, upstream changed the source-archive ..., I already complained about this.)

updated checksum, wkrsrc
+ consolidated build options while at it
2017-08-21 22:00:10 +02:00

25 lines
1,015 B
Bash

# Template file for 'texstudio'
pkgname=texstudio
version=2.12.6
revision=1
build_style=qmake
wrksrc=${pkgname}${version}
short_desc="Powerful Tex/LaTeX editor based on texmaker"
maintainer="Piraty <piraty1@inbox.ru>"
license="GPL-2"
homepage="http://texstudio.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/TeXstudio%20${version}/${pkgname}-${version}.tar.gz"
checksum=cdae8c9f3fa84af2424cfef6d4a3abb2437cc71ecb24c1883e4ecca2f2693da3
configure_args="NO_TESTS=true $(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"
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