void-packages/srcpkgs/glslViewer/template

33 lines
954 B
Bash
Raw Normal View History

# Template file for 'glslViewer'
pkgname=glslViewer
version=1.5.5
revision=1
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pkgconf"
makedepends="glfw-devel glu-devel MesaLib-devel libX11-devel libXrandr-devel
libXi-devel libXxf86vm-devel libXcursor-devel libXinerama-devel libXext-devel
libXrender-devel libXdamage-devel"
short_desc="Live GLSL coding render"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="BSD-3-Clause"
homepage="http://patriciogonzalezvivo.com/2015/glslViewer/"
distfiles="https://github.com/patriciogonzalezvivo/glslViewer/archive/${version}.tar.gz"
checksum=28a784d701294fd335031ab293c5f4764a498f84714b1ae677dbc4e05ed94b23
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="Requires lots -D_GNU_SOURCE=1 and #include <sys/types.h>" ;;
esac
pre_build() {
# can obscure real errors
vsed -e 's|-fpermissive||g' \
-e 's|^CXX =.*||g' \
-i Makefile
}
do_install() {
vbin bin/glslViewer
vlicense LICENSE
}