wok annotate cairo-compmgr-core/receipt @ rev 24119
Add javascript-boulderdash
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 04 18:07:23 2021 +0000 (2021-10-04) |
parents | 3e2a0347b2f1 |
children | ac8ca9758df1 |
rev | line source |
---|---|
al@14075 | 1 # SliTaz package receipt. |
al@14075 | 2 |
al@14075 | 3 PACKAGE="cairo-compmgr-core" |
al@14075 | 4 VERSION="0.3.0" |
al@14075 | 5 CATEGORY="x-window" |
al@14075 | 6 SHORT_DESC="Cairo composite manager - core files" |
al@14075 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14996 | 8 LICENSE="GPL2" |
pascal@20671 | 9 WEB_SITE="https://github.com/gandalfn/Cairo-Composite-Manager" |
al@14075 | 10 SOURCE="cairo-compmgr" |
al@14075 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
al@14075 | 12 WGET_URL="http://download.tuxfamily.org/ccm/$SOURCE/$TARBALL" |
al@14075 | 13 |
al@14075 | 14 DEPENDS="libbfd libcairo-compmgr0" |
al@14075 | 15 BUILD_DEPENDS="xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXext-dev \ |
al@14075 | 16 xorg-libXi-dev xorg-libSM-dev cairo-dev pixman-dev gtk+-dev vala \ |
pascal@15614 | 17 xorg-libICE-dev xorg-libX11-dev util-linux-uuid-dev" |
al@14075 | 18 |
pascal@24074 | 19 current_version() |
pascal@24074 | 20 { |
pascal@24075 | 21 wget -O - https://github.com/gandalfn/Cairo-Composite-Manager/releases 2>/dev/null | \ |
pascal@24075 | 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24074 | 23 } |
pascal@24074 | 24 |
al@14075 | 25 # Rules to configure and make the package. |
al@14075 | 26 compile_rules() |
al@14075 | 27 { |
al@14075 | 28 # make needed pkg-config file |
pascal@14656 | 29 ln -s $(ls /usr/lib/pkgconfig/libvala-*.pc | sed q) /usr/lib/pkgconfig/vala-1.0.pc |
al@14075 | 30 |
al@14075 | 31 # localization |
al@14075 | 32 cp -a $stuff/cairo-compmgr.pot $src/po |
al@14075 | 33 cp -a $stuff/ru.po $src/po |
al@14075 | 34 |
al@14075 | 35 export LDFLAGS="$LDFLAGS $(pkg-config --libs ice gmodule-2.0 x11)" |
al@14075 | 36 |
al@14075 | 37 ./configure $CONFIGURE_ARGS && |
al@14075 | 38 make && |
al@14075 | 39 make install |
al@14075 | 40 rm -f $install/usr/share/applications/* |
al@14075 | 41 } |
al@14075 | 42 |
al@14075 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14075 | 44 genpkg_rules() |
al@14075 | 45 { |
al@14075 | 46 mkdir -p \ |
al@14075 | 47 $fs/usr/bin \ |
al@14075 | 48 $fs/usr/share/applications \ |
al@14075 | 49 $fs/usr/share/cairo-compmgr/ui \ |
al@14075 | 50 $fs/usr/share/cairo-compmgr/schemas |
al@14075 | 51 cp -a $install/usr/bin/cairo-compmgr $fs/usr/bin |
al@14075 | 52 cp -a $install/usr/share/pixmaps $fs/usr/share |
al@14075 | 53 cp -a $install/usr/share/man $fs/usr/share |
al@14075 | 54 cp -a $stuff/cairo-compmgr.desktop $fs/usr/share/applications |
al@14075 | 55 cp -a $install/usr/share/cairo-compmgr/ui/ccm-preferences.ui \ |
al@14075 | 56 $fs/usr/share/cairo-compmgr/ui |
al@14075 | 57 cp -a $install/usr/share/cairo-compmgr/schemas/ccm-display.schema-key \ |
al@14075 | 58 $fs/usr/share/cairo-compmgr/schemas |
al@14075 | 59 } |