wok-next view compton/receipt @ rev 20153
syslinux: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 15:14:00 2017 +0100 (2017-11-01) |
parents | ec4ebc01cb25 |
children | c4e53a39395a |
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"
11 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/chjj/compton/archive/${COMMIT:-v$VERSION}.tar.gz"
16 BUILD_DEPENDS="pcre-dev xorg-libX11-dev xorg-libXcomposite-dev \
17 xorg-libXfixes-dev xorg-libXdamage-dev xorg-libXrender-dev xorg-libXext-dev \
18 xorg-libXrandr-dev xorg-libXinerama-dev dbus-dev asciidoc libxml2-tools \
19 docbook-xsl libconfig-dev"
20 # Optional bdeps: libconfig-dev libdrm-dev mesa-dev
22 compile_rules() {
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 copy etc/ bin/ # skip icons
38 DEPENDS="dbus pcre xorg-libX11 xorg-libXcomposite xorg-libXdamage \
39 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
40 xorg-libXrender xorg-xwininfo xorg-xprop libconfig"
41 CONFIG_FILES="/etc/xdg/compton/compton.conf"
42 }