void-packages/srcpkgs/texworks/template

22 lines
903 B
Bash

# Template file for 'texworks'
pkgname=texworks
version=0.6.2
revision=1
wrksrc=${pkgname}-release-${version}
build_style=cmake
configure_args="-DTW_BUILD_ID=Void -DWITH_LUA=ON -DWITH_PYTHON=ON
-DDESIRED_QT_VERSION:STRING=5 gp_tool=$LDD"
cmake_builddir=build
hostmakedepends="pkg-config qt5-qmake qt5-host-tools qt5-tools-devel qt5-script-devel
poppler-qt5-devel hunspell-devel"
makedepends="lua-devel python-devel qt5-tools-devel qt5-script-devel
poppler-qt5-devel hunspell-devel"
depends="lua python hunspell dejavu-fonts-ttf"
short_desc="TeX editor"
maintainer="Bosco <jboscogg@gmail.com>"
license="GPL-2"
homepage="https://www.tug.org/texworks"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/release-${version}.tar.gz"
checksum=22885c11d92654b0cba1f4808fc9aa3c2fdd3e5435fd89dff9aa1e67658a6339
nocross="/usr/share/cmake-3.11/Modules/GetPrerequisites.cmake fails to detect poppler-qt5"