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

Update png and Xorg in dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 04:52:35 2018 +0200 (2018-12-22)
parents d5aab818505e
children 82b613cfd1e0
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="cairo 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 }