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

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5669e8b3be70
children
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="libxcomposite-dev libxdamage-dev libxext-dev \
15 libxi-dev libsm-dev cairo-dev pixman-dev gtk2-dev vala \
16 libice-dev libx11-dev util-linux-uuid-dev intltool"
17 SPLIT="$PACKAGE-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="libcairo gdk-pixbuf glib gtk2 pango vala libice \
42 libsm libx11 libxcomposite libxdamage \
43 libxext libxfixes libxi pixman"
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="cairo-compmgr \
48 gconf-dev cairo-dev gtk2-dev"
49 ;;
50 esac
51 }