wok-next annotate compton/receipt @ rev 21051
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 30 01:34:53 2018 +0200 (2018-11-30) |
parents | d3707642a563 |
children | 5669e8b3be70 |
rev | line source |
---|---|
al@19828 | 1 # SliTaz package receipt v2. |
pankso@15939 | 2 |
pankso@15939 | 3 PACKAGE="compton" |
al@20902 | 4 VERSION="20170907" |
al@20902 | 5 COMMIT="b7f43ee" |
pankso@15939 | 6 CATEGORY="x-window" |
al@19828 | 7 SHORT_DESC="A compositor for X" |
al@21020 | 8 MAINTAINER="devel@slitaz.org" |
pankso@15939 | 9 LICENSE="MIT" |
pankso@15939 | 10 WEB_SITE="https://github.com/chjj/compton" |
pankso@15939 | 11 |
al@19828 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19828 | 13 WGET_URL="https://github.com/chjj/compton/archive/${COMMIT:-v$VERSION}.tar.gz" |
al@19828 | 14 |
al@19828 | 15 BUILD_DEPENDS="pcre-dev xorg-libX11-dev xorg-libXcomposite-dev \ |
al@19828 | 16 xorg-libXfixes-dev xorg-libXdamage-dev xorg-libXrender-dev xorg-libXext-dev \ |
al@19881 | 17 xorg-libXrandr-dev xorg-libXinerama-dev dbus-dev asciidoc libxml2-tools \ |
al@20018 | 18 docbook-xsl libconfig-dev" |
al@19881 | 19 # Optional bdeps: libconfig-dev libdrm-dev mesa-dev |
pankso@15939 | 20 |
al@20018 | 21 compile_rules() { |
pankso@15942 | 22 make \ |
al@19828 | 23 COMPTON_VERSION=v$VERSION \ |
al@19881 | 24 NO_VSYNC_DRM=yes \ |
al@19881 | 25 NO_VSYNC_OPENGL=yes \ |
al@19828 | 26 PREFIX=/usr \ |
al@19881 | 27 DOCDIR=/usr/share/doc/$PACKAGE-$VERSION \ |
al@19881 | 28 install || return 1 |
al@19881 | 29 |
al@19828 | 30 mkdir -p $install/etc/xdg/compton |
al@19828 | 31 cp $src/compton.sample.conf $install/etc/xdg/compton/compton.conf |
al@19828 | 32 cp -r $stuff/autostart $install/etc/xdg/ |
pankso@15939 | 33 } |
pankso@15939 | 34 |
al@20018 | 35 genpkg_rules() { |
al@19828 | 36 copy etc/ bin/ # skip icons |
al@20749 | 37 DEPENDS="dbus libconfig libpcre xorg-libX11 xorg-libXcomposite \ |
al@20749 | 38 xorg-libXdamage xorg-libXext xorg-libXfixes xorg-libXinerama \ |
al@20749 | 39 xorg-libXrandr xorg-libXrender xorg-xwininfo xorg-xprop libconfig" |
al@19828 | 40 CONFIG_FILES="/etc/xdg/compton/compton.conf" |
pankso@15939 | 41 } |