36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
# Template file for 'glslViewer'
|
|
pkgname=glslViewer
|
|
version=3.1.0
|
|
revision=1
|
|
_vera_gitrev="5af26f827d3d36c4abba00f3053be3b0ef1b89c2"
|
|
build_wrksrc=${pkgname}
|
|
build_style=cmake
|
|
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 ncurses-devel liblo-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/v${version}.tar.gz
|
|
https://github.com/patriciogonzalezvivo/vera/archive/${_vera_gitrev}.tar.gz"
|
|
checksum="48109ed70e5de6ce05ca8cab6f2ed4a368f228d83df561d522b4ba8e49018008
|
|
1276b1d664902622728ce9cded9b6605f79cb58bc7bff77e82abbf95f4cd4424"
|
|
|
|
post_extract() {
|
|
mv ${pkgname}-${version} ${build_wrksrc}
|
|
mv vera-${_vera_gitrev}/* ${build_wrksrc}/deps/vera
|
|
}
|
|
|
|
pre_configure() {
|
|
if [ -z "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
vsed -e '/target_link_libraries(glslViewer PRIVATE atomic)/d' \
|
|
-i CMakeLists.txt
|
|
fi
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|