template 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Template file for 'povray'
  2. pkgname=povray
  3. version=3.7.0.8
  4. revision=5
  5. build_style=gnu-configure
  6. _v=${version%.*.*}
  7. configure_args="COMPILED_BY='Ymir GNU/Linux-libre' --disable-optimiz-arch"
  8. conf_files="
  9. /etc/povray/$_v/povray.conf
  10. /etc/povray/$_v/povray.ini"
  11. hostmakedepends="git autoconf automake"
  12. makedepends="boost-devel libpng-devel tiff-devel SDL-devel"
  13. depends="openexr"
  14. short_desc="Script-based raytracer for 3D graphic production"
  15. maintainer="Brenton Horne <brentonhorne77@gmail.com>"
  16. license="AGPL-3.0-or-later"
  17. homepage="http://povray.org/"
  18. distfiles="https://github.com/POV-Ray/povray/archive/v${version}.tar.gz"
  19. checksum=53d11ebd2972fc452af168a00eb83aefb61387662c10784e81b63e44aa575de4
  20. nocross="Builds fail on ARM architectures
  21. Logs are at https://travis-ci.org/void-linux/void-packages/builds/412583835."
  22. LDFLAGS+=" -Wl,-z,stack-size=1048576"
  23. # Liberation
  24. # Some code has been taken from:
  25. # https://git.parabola.nu/abslibre.git/tree/libre/povray/PKGBUILD
  26. post_patch() {
  27. # remove nonfree documentation
  28. rm -rv doc
  29. }
  30. pre_configure() {
  31. cd $wrksrc/unix
  32. ./prebuild.sh
  33. cd ..
  34. ./bootstrap
  35. }
  36. post_install() {
  37. vlicense LICENSE
  38. }