void-packages/srcpkgs/picom/template

32 lines
996 B
Bash

# Template file for 'picom'
pkgname=picom
version=11.2
revision=1
build_style=meson
configure_args="-Dwith_docs=true"
hostmakedepends="pkg-config asciidoc"
makedepends="MesaLib-devel dbus-devel libconfig-devel libepoxy-devel libev-devel
pcre2-devel pixman-devel xcb-util-image-devel xcb-util-renderutil-devel
libxdg-basedir-devel uthash"
depends="desktop-file-utils"
short_desc="Lightweight compositor for X11 (previously a compton fork)"
maintainer="0x5c <dev@0x5c.io>"
license="MIT, MPL-2.0"
homepage="https://github.com/yshui/picom/"
distfiles="https://github.com/yshui/picom/archive/v${version}.tar.gz"
checksum=1c1063936faf09ed9bba726e7737a562564b7a5f8cdef79d48fcdaf3669a4df4
post_install() {
vlicense LICENSES/MIT
vlicense COPYING
vsconf picom.sample.conf
vsconf compton-default-fshader-win.glsl
vsconf compton-fake-transparency-fshader-win.glsl
}
compton_package() {
depends="${sourcepkg}>=${version}_${revision}"
build_style=meta
short_desc+=" (transitional dummy package)"
}