void-packages/srcpkgs/libplacebo/template
2018-12-25 13:55:10 -02:00

24 lines
843 B
Bash

# Template file for 'libplacebo'
pkgname=libplacebo
version=1.7.0
revision=1
build_style=meson
configure_args="-Dvulkan=enabled -Dglslang=enabled -Dshaderc=enabled"
hostmakedepends="pkg-config"
makedepends="vulkan-loader glslang-devel shaderc Vulkan-Headers lcms2-devel"
short_desc="Reusable library for GPU-accelerated video/image rendering"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/haasn/libplacebo"
distfiles="https://github.com/haasn/libplacebo/archive/v${version}.tar.gz"
checksum=5ee618bee614aeae9f8bb526329824468f93c740e8fd37fd46d58114fd7977eb
libplacebo-devel_package() {
depends="libplacebo-${version}_${revision} vulkan-loader lcms2-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}