wok-next view compton/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | e756329576c3 |
children | 342b30daff76 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="compton"
4 VERSION="0.1_beta2+87" # 87 commits to master since release 0.1_beta2
5 COMMIT="316eac0"
6 CATEGORY="x-window"
7 SHORT_DESC="A compositor for X"
8 MAINTAINER="pankso@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="pcre-dev xorg-libX11-dev xorg-libXcomposite-dev \
16 xorg-libXfixes-dev xorg-libXdamage-dev xorg-libXrender-dev xorg-libXext-dev \
17 xorg-libXrandr-dev xorg-libXinerama-dev dbus-dev asciidoc libxml2-tools \
18 docbook-xsl libconfig-dev"
19 # Optional bdeps: libconfig-dev libdrm-dev mesa-dev
21 compile_rules() {
22 make \
23 COMPTON_VERSION=v$VERSION \
24 NO_VSYNC_DRM=yes \
25 NO_VSYNC_OPENGL=yes \
26 PREFIX=/usr \
27 DOCDIR=/usr/share/doc/$PACKAGE-$VERSION \
28 install || return 1
30 mkdir -p $install/etc/xdg/compton
31 cp $src/compton.sample.conf $install/etc/xdg/compton/compton.conf
32 cp -r $stuff/autostart $install/etc/xdg/
33 }
35 genpkg_rules() {
36 copy etc/ bin/ # skip icons
37 DEPENDS="dbus pcre xorg-libX11 xorg-libXcomposite xorg-libXdamage \
38 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
39 xorg-libXrender xorg-xwininfo xorg-xprop libconfig"
40 CONFIG_FILES="/etc/xdg/compton/compton.conf"
41 }