wok-next view compton/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d3707642a563 |
children | 5669e8b3be70 |
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="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 libconfig libpcre xorg-libX11 xorg-libXcomposite \
38 xorg-libXdamage xorg-libXext xorg-libXfixes xorg-libXinerama \
39 xorg-libXrandr xorg-libXrender xorg-xwininfo xorg-xprop libconfig"
40 CONFIG_FILES="/etc/xdg/compton/compton.conf"
41 }