diff --git a/srcpkgs/povray/template b/srcpkgs/povray/template new file mode 100644 index 00000000000..ea9e4b9dcc6 --- /dev/null +++ b/srcpkgs/povray/template @@ -0,0 +1,37 @@ +# Template file for 'povray' +pkgname=povray +version=3.7.0.7 +revision=1 +build_style=gnu-configure +_v=${version%.*.*} +conf_files=" + /etc/povray/$_v/povray.conf + /etc/povray/$_v/povray.ini" +nocross="Builds fail on ARM architectures, while on x86_64-musl it: (1) fails + to build or (2) if patched to make it build correctly it segfaults on startup. + Logs are at https://travis-ci.org/void-linux/void-packages/builds/412583835." +configure_args="COMPILED_BY=Void" +hostmakedepends="git autoconf automake" +makedepends="boost-devel libpng-devel tiff-devel SDL-devel" +depends="openexr" +short_desc="Script-based raytracer for 3D graphic production" +maintainer="Brenton Horne " +license="AGPL-3.0-or-later" +homepage="http://povray.org/" +distfiles="https://github.com/POV-Ray/povray/archive/v${version}.tar.gz" +checksum=085746e891edbb2cfda22bb2a8b86043bd680a68ad9121bc568118c730ace7b9 + +case $XBPS_TARGET_MACHINE in + *-musl) broken="segfaults on start";; +esac + +pre_configure() { + cd $wrksrc/unix + ./prebuild.sh + cd .. + ./bootstrap +} + +post_install() { + vlicense LICENSE +}