31 lines
963 B
Plaintext
31 lines
963 B
Plaintext
![]() |
# Description: A compositor for X, and a fork of xcompmgr-dana, and a fork of compton.
|
||
|
# URL: https://github.com/yshui/picom
|
||
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
||
|
# Depends on: hicolor-icon-theme libconfig libev libxdg-basedir mesa3d xorg-libpixman xorg-xcb-util-image xorg-xcb-util-renderutil uthash dbus
|
||
|
# Optional: asciidoc
|
||
|
|
||
|
name=picom
|
||
|
version=7.5
|
||
|
release=1
|
||
|
source=(https://github.com/yshui/picom/archive/v$version/$name-v$version.tar.gz
|
||
|
picom.conf picom-trans.1 picom.1)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
|
||
|
[ -e '/usr/bin/asciidoctor' ] && PKGMK_PICOM+=' -D build_docs=true'
|
||
|
|
||
|
meson build ${PKGMK_PICOM} \
|
||
|
--prefix=/usr \
|
||
|
-D b_ndebug=true
|
||
|
|
||
|
ninja -C build -j ${JOBS:-1}
|
||
|
|
||
|
DESTDIR=$PKG ninja -C build install
|
||
|
|
||
|
install -Dm644 $SRC/picom.conf $PKG/etc/xdg/picom.conf
|
||
|
install -Dm644 picom.sample.conf $PKG/etc/xdg/picom.conf.example
|
||
|
|
||
|
[ -e '/usr/bin/asciidoctor' ] || install -D -m 0644 -t $PKG/usr/share/man/man1 $SRC/picom-trans.1 $SRC/picom.1
|
||
|
}
|