wok-6.x annotate granite/receipt @ rev 22232
updated xorg-libXxf86dga and xorg-libXxf86dga-dev (1.1.4 -> 1.1.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 12 08:30:43 2019 +0100 (2019-11-12) |
parents | 4ec0694bfc21 |
children | 1bd2c6414e5a |
rev | line source |
---|---|
pascal@15721 | 1 # SliTaz package receipt. |
pascal@15721 | 2 |
pascal@15721 | 3 PACKAGE="granite" |
pascal@15721 | 4 VERSION="0.2.1" |
pascal@15721 | 5 CATEGORY="system-tools" |
pascal@15721 | 6 SHORT_DESC="A development library for elementary development" |
pascal@15721 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15721 | 8 LICENSE="LGPL3" |
pascal@15721 | 9 WEB_SITE="https://launchpad.net/granite" |
pascal@15721 | 10 BRANCH="535" |
pascal@15721 | 11 TARBALL="$PACKAGE-$BRANCH.tar.bz2" |
pascal@15721 | 12 WGET_URL="bzr|lp:granite" |
pascal@15721 | 13 |
pascal@15721 | 14 DEPENDS="gtk+3 libgee" |
pascal@15721 | 15 BUILD_DEPENDS="bazaar cmake vala gtk+3-dev libgio-dev glib-dev libgee-dev \ |
pascal@15721 | 16 gobject-introspection-dev" |
pascal@15721 | 17 |
pascal@15721 | 18 # Rules to configure and make the package. |
pascal@15721 | 19 compile_rules() |
pascal@15721 | 20 { |
pascal@20617 | 21 sed -i 's|~Notebook|~DynamicNotebook|' lib/Widgets/DynamicNotebook.vala |
pascal@20617 | 22 sed -i 's|ListSt|Gtk.&|;s|ove (|&ref |' lib/Widgets/ContractorView.vala |
pascal@20617 | 23 |
pascal@15721 | 24 # gee-1.0 is old while gee-0.8 is latest ;) |
pascal@15721 | 25 sed -i 's|gee-1.0|gee-0.8|g; s|Gee-1.0|Gee-0.8|g' \ |
pascal@15721 | 26 $(grep -li gee-1.0 $(find . -type f)) |
pascal@15721 | 27 |
pascal@15721 | 28 mkdir build && |
pascal@15721 | 29 cd build && |
pascal@15721 | 30 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
pascal@15721 | 31 make && |
pascal@15721 | 32 make DESTDIR=$install install |
pascal@15721 | 33 } |
pascal@15721 | 34 |
pascal@15721 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15721 | 36 genpkg_rules() |
pascal@15721 | 37 { |
pascal@15721 | 38 mkdir -p \ |
pascal@15721 | 39 $fs/usr/lib \ |
al@16691 | 40 $fs/usr/share/locale |
pascal@15721 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15721 | 42 # icons converted from svg |
pascal@15721 | 43 for size in 16 22 24 32 48; do |
pascal@15721 | 44 ifolder=$fs/usr/share/icons/hicolor/${size}x${size}/actions |
pascal@15721 | 45 mkdir -p $ifolder |
pascal@15721 | 46 cp $stuff/${size}.png $ifolder/application-menu.png |
pascal@15721 | 47 done |
pascal@15721 | 48 # localization |
pascal@15721 | 49 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
pascal@15721 | 50 for lang in $LOCALE_PACK; do |
pascal@15721 | 51 langf=$install/usr/share/locale/$lang |
pascal@15721 | 52 [ -d $langf ] && cp -a $langf $fs/usr/share/locale |
pascal@15721 | 53 done |
pascal@15721 | 54 } |