wok-next annotate cairo-compmgr/receipt @ rev 21286

updated gnuradio (3.7.8 -> 3.8.0.0)
author Hans-G?nter Theisgen
date Sun Dec 08 11:42:09 2019 +0100 (2019-12-08)
parents 5669e8b3be70
children
rev   line source
al@20557 1 # SliTaz package receipt v2.
pascal@11218 2
pascal@11218 3 PACKAGE="cairo-compmgr"
pascal@11218 4 VERSION="0.3.0"
al@14075 5 CATEGORY="meta"
al@14075 6 SHORT_DESC="Cairo composite manager"
al@14075 7 MAINTAINER="al.bobylev@gmail.com"
pascal@14653 8 LICENSE="GPL2"
al@20906 9 WEB_SITE="https://github.com/gandalfn/Cairo-Composite-Manager"
pascal@11218 10
al@20557 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20557 12 WGET_URL="http://download.tuxfamily.org/ccm/$PACKAGE/$TARBALL"
al@20557 13
al@21078 14 BUILD_DEPENDS="libxcomposite-dev libxdamage-dev libxext-dev \
al@21078 15 libxi-dev libsm-dev cairo-dev pixman-dev gtk2-dev vala \
al@21078 16 libice-dev libx11-dev util-linux-uuid-dev intltool"
al@21020 17 SPLIT="$PACKAGE-dev"
al@20557 18
al@20557 19 compile_rules() {
al@20557 20 # make needed pkg-config file
al@20557 21 ln -s $(ls /usr/lib/pkgconfig/libvala-*.pc | sed q) /usr/lib/pkgconfig/vala-1.0.pc
al@20557 22
al@20557 23 # localization
al@20557 24 cp -a $stuff/cairo-compmgr.pot $src/po
al@20557 25 cp -a $stuff/ru.po $src/po
al@20557 26
al@20557 27 export LDFLAGS="$LDFLAGS $(pkg-config --libs ice gmodule-2.0 x11)"
al@20557 28
al@20557 29 ./configure $CONFIGURE_ARGS &&
al@20569 30 fix libtool &&
al@20557 31 make &&
al@20557 32 make install || return 1
al@20557 33
al@20557 34 rm -f $install/usr/share/applications/*
al@20557 35 }
al@20557 36
al@20557 37 genpkg_rules() {
al@20557 38 case $PACKAGE in
al@20557 39 cairo-compmgr)
al@20557 40 copy @std
al@21105 41 DEPENDS="libcairo gdk-pixbuf glib gtk2 pango vala libice \
al@21078 42 libsm libx11 libxcomposite libxdamage \
al@21078 43 libxext libxfixes libxi pixman"
al@20557 44 ;;
al@20557 45 *-dev)
al@20557 46 copy @dev
al@20799 47 DEPENDS="cairo-compmgr \
al@21017 48 gconf-dev cairo-dev gtk2-dev"
al@20557 49 ;;
al@20557 50 esac
al@20557 51 }