wok-next view compton/receipt @ rev 20017

Add speexdsp, up speex, pulseaudio & pavucontrol.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Oct 22 03:28:23 2017 +0300 (2017-10-22)
parents 0f38eda21e70
children e756329576c3
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"
20 # Optional bdeps: libconfig-dev libdrm-dev mesa-dev
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make \
26 COMPTON_VERSION=v$VERSION \
27 NO_LIBCONFIG=yes \
28 NO_VSYNC_DRM=yes \
29 NO_VSYNC_OPENGL=yes \
30 PREFIX=/usr \
31 DOCDIR=/usr/share/doc/$PACKAGE-$VERSION \
32 install || return 1
34 mkdir -p $install/etc/xdg/compton
35 cp $src/compton.sample.conf $install/etc/xdg/compton/compton.conf
36 cp -r $stuff/autostart $install/etc/xdg/
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 copy etc/ bin/ # skip icons
43 DEPENDS="dbus pcre xorg-libX11 xorg-libXcomposite xorg-libXdamage \
44 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
45 xorg-libXrender xorg-xwininfo xorg-xprop"
46 CONFIG_FILES="/etc/xdg/compton/compton.conf"
47 }