void-packages/srcpkgs/libopenglrecorder/template

27 lines
803 B
Bash

# Template file for 'libopenglrecorder'
pkgname=libopenglrecorder
version=0.1.0
revision=3
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libvpx-devel libogg-devel libjpeg-turbo-devel libvorbis-devel pulseaudio-devel"
short_desc="Library allowing audio and OpenGL recording"
maintainer="Orphaned <orphan@voidlinux.org>"
license="3-clause-BSD"
homepage="https://github.com/Benau/libopenglrecorder"
distfiles="https://github.com/Benau/libopenglrecorder/archive/v${version}.tar.gz"
checksum=a90a99c23f868636f77003a8dc6ffe6c3699fc2759c47df5dbd44ff8b42d2e4f
post_install() {
vlicense LICENSE
}
libopenglrecorder-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}