wok-next view compton/receipt @ rev 21721

created recipes for efivar and efibootmgr
author Hans-G?nter Theisgen
date Tue Sep 01 10:09:15 2020 +0100 (2020-09-01)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="compton"
4 VERSION="20170907"
5 COMMIT="b7f43ee"
6 CATEGORY="x-window"
7 SHORT_DESC="A compositor for X"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/chjj/compton"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/chjj/compton/archive/${COMMIT:-v$VERSION}.tar.gz"
15 BUILD_DEPENDS="asciidoc dbus-dev docbook-xsl libconfig-dev libx11-dev
16 libxcomposite-dev libxdamage-dev libxext-dev libxfixes-dev
17 libxinerama-dev libxml2-tools libxrandr-dev libxrender-dev \
18 pcre-dev"
19 # Optional bdeps: libconfig-dev libdrm-dev mesa-dev
21 compile_rules()
22 {
23 make \
24 COMPTON_VERSION=v$VERSION \
25 NO_VSYNC_DRM=yes \
26 NO_VSYNC_OPENGL=yes \
27 PREFIX=/usr \
28 DOCDIR=/usr/share/doc/$PACKAGE-$VERSION \
29 install || return 1
31 mkdir -p $install/etc/xdg/compton
32 cp $src/compton.sample.conf $install/etc/xdg/compton/compton.conf
33 cp -r $stuff/autostart $install/etc/xdg/
34 }
36 genpkg_rules()
37 {
38 copy etc/ bin/ # skip icons
39 DEPENDS="dbus libconfig libpcre libx11 libxcomposite \
40 libxdamage libxext libxfixes libxinerama \
41 libxrandr libxrender xprop xwininfo"
42 CONFIG_FILES="/etc/xdg/compton/compton.conf"
43 }