void-packages/srcpkgs/glslViewer/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

32 lines
954 B
Bash

# Template file for 'glslViewer'
pkgname=glslViewer
version=1.5.5
revision=2
build_style=gnu-makefile
make_use_env=yes
hostmakedepends="pkg-config"
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="Orphaned <orphan@voidlinux.org>"
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
}