wok-next annotate compton/receipt @ rev 19929
libwebkit, libxfconf, yelp-xsl: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 00:34:25 2017 +0200 (2017-10-15) |
parents | 0f38eda21e70 |
children | e756329576c3 |
rev | line source |
---|---|
al@19828 | 1 # SliTaz package receipt v2. |
pankso@15939 | 2 |
pankso@15939 | 3 PACKAGE="compton" |
al@19828 | 4 VERSION="0.1_beta2+87" # 87 commits to master since release 0.1_beta2 |
al@19828 | 5 COMMIT="316eac0" |
pankso@15939 | 6 CATEGORY="x-window" |
al@19828 | 7 SHORT_DESC="A compositor for X" |
pankso@15939 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@15939 | 9 LICENSE="MIT" |
pankso@15939 | 10 WEB_SITE="https://github.com/chjj/compton" |
pankso@16382 | 11 HOST_ARCH="i486 arm" |
pankso@15939 | 12 |
al@19828 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19828 | 14 WGET_URL="https://github.com/chjj/compton/archive/${COMMIT:-v$VERSION}.tar.gz" |
al@19828 | 15 |
al@19828 | 16 BUILD_DEPENDS="pcre-dev xorg-libX11-dev xorg-libXcomposite-dev \ |
al@19828 | 17 xorg-libXfixes-dev xorg-libXdamage-dev xorg-libXrender-dev xorg-libXext-dev \ |
al@19881 | 18 xorg-libXrandr-dev xorg-libXinerama-dev dbus-dev asciidoc libxml2-tools \ |
al@19881 | 19 docbook-xsl" |
al@19881 | 20 # Optional bdeps: libconfig-dev libdrm-dev mesa-dev |
pankso@15939 | 21 |
pankso@15939 | 22 # Rules to configure and make the package. |
pankso@15939 | 23 compile_rules() |
pankso@15939 | 24 { |
pankso@15942 | 25 make \ |
al@19828 | 26 COMPTON_VERSION=v$VERSION \ |
al@19881 | 27 NO_LIBCONFIG=yes \ |
al@19881 | 28 NO_VSYNC_DRM=yes \ |
al@19881 | 29 NO_VSYNC_OPENGL=yes \ |
al@19828 | 30 PREFIX=/usr \ |
al@19881 | 31 DOCDIR=/usr/share/doc/$PACKAGE-$VERSION \ |
al@19881 | 32 install || return 1 |
al@19881 | 33 |
al@19828 | 34 mkdir -p $install/etc/xdg/compton |
al@19828 | 35 cp $src/compton.sample.conf $install/etc/xdg/compton/compton.conf |
al@19828 | 36 cp -r $stuff/autostart $install/etc/xdg/ |
pankso@15939 | 37 } |
pankso@15939 | 38 |
pankso@15939 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15939 | 40 genpkg_rules() |
pankso@15939 | 41 { |
al@19828 | 42 copy etc/ bin/ # skip icons |
al@19881 | 43 DEPENDS="dbus pcre xorg-libX11 xorg-libXcomposite xorg-libXdamage \ |
al@19881 | 44 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \ |
al@19881 | 45 xorg-libXrender xorg-xwininfo xorg-xprop" |
al@19828 | 46 CONFIG_FILES="/etc/xdg/compton/compton.conf" |
pankso@15939 | 47 } |