wok-next view cairo-compmgr/receipt @ rev 20976

Follow recent changes in the Python renames
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 25 17:35:51 2018 +0300 (2018-09-25)
parents a3c581bf52b8
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cairo-compmgr"
4 VERSION="0.3.0"
5 CATEGORY="meta"
6 SHORT_DESC="Cairo composite manager"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/gandalfn/Cairo-Composite-Manager"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.tuxfamily.org/ccm/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXext-dev \
15 xorg-libXi-dev xorg-libSM-dev cairo-dev xorg-pixman-dev gtk+-dev vala \
16 xorg-libICE-dev xorg-libX11-dev util-linux-uuid-dev intltool"
17 SPLIT="cairo-compmgr-dev"
19 compile_rules() {
20 # make needed pkg-config file
21 ln -s $(ls /usr/lib/pkgconfig/libvala-*.pc | sed q) /usr/lib/pkgconfig/vala-1.0.pc
23 # localization
24 cp -a $stuff/cairo-compmgr.pot $src/po
25 cp -a $stuff/ru.po $src/po
27 export LDFLAGS="$LDFLAGS $(pkg-config --libs ice gmodule-2.0 x11)"
29 ./configure $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install || return 1
34 rm -f $install/usr/share/applications/*
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 cairo-compmgr)
40 copy @std
41 DEPENDS="cairo gdk-pixbuf glib gtk+ pango vala xorg-libICE \
42 xorg-libSM xorg-libX11 xorg-libXcomposite xorg-libXdamage \
43 xorg-libXext xorg-libXfixes xorg-libXi xorg-pixman"
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="cairo-compmgr \
48 gconf-dev cairo-dev gtk+-dev"
49 ;;
50 esac
51 }