void-packages/srcpkgs/texstudio/template
Piraty fa63ac7e3c texstudio: update to 2.12.6
- corrected the license to gpl2
- updated maintainer email

Closes:  [via git-merge-pr]
2017-08-05 02:24:52 +00:00

40 lines
1.2 KiB
Bash

# Template file for 'texstudio'
pkgname=texstudio
version=2.12.6
revision=1
build_style=qmake
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=135af312ad0718ce5347acd1cbb732b2992e4e74919bf87bc115331865718c85
hostmakedepends="pkg-config qt5-qmake"
makedepends="qt5-webkit-devel qt5-svg-devel qt5-script-devel qt5-tools-devel"
depends="qt5-svg"
configure_args="-unix"
configure_args+=" -spec linux-g++"
configure_args+=" NO_TESTS=true"
configure_args+=" CONFIG-=debug CONFIG-=debug_and_release CONFIG+=release"
build_options_default="phonon"
build_options="phonon"
desc_option_phonon="build with phonon support"
if [ "$build_option_phonon" ]; then
configure_args+=" PHONON=true"
makedepends+=" phonon-qt5-devel"
fi
build_options+=" nopoppler"
desc_option_nopoppler="build without poppler (= no internal pdf preview)"
if [ "$build_option_nopoppler" ]; then
configure_args+=" NO_POPPLER_PREVIEW=true"
else
makedepends+=" poppler-qt5-devel"
fi
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" ${makedepends}"
fi