void-packages/srcpkgs/picom/template

30 lines
942 B
Bash

# Template file for 'picom'
pkgname=picom
version=12.4
revision=1
build_style=meson
configure_args="-Dwith_docs=true"
hostmakedepends="pkg-config ruby-asciidoctor"
makedepends="dbus-devel libconfig-devel libepoxy-devel libev-devel pcre2-devel
pixman-devel uthash xcb-util-image-devel xcb-util-renderutil-devel"
short_desc="Lightweight compositor for X11 (previously a compton fork)"
maintainer="0x5c <dev@0x5c.io>"
license="MPL-2.0 AND MIT"
homepage="https://github.com/yshui/picom/"
distfiles="https://github.com/yshui/picom/archive/v${version}.tar.gz"
checksum=ee8554d4b3fe8e08673352d861ed8ed9c8b62220d56baa77b4080f4d178856a0
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)"
}