wok annotate steadyflow/receipt @ rev 21648
updated ossp-uuid and ossp-uuid-dev (1.6.1 -> 1.6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 30 09:48:05 2019 +0100 (2019-05-30) |
parents | 1d5099bdcfad |
children | 1bd2c6414e5a |
rev | line source |
---|---|
al@14237 | 1 # SliTaz package receipt. |
al@14237 | 2 |
al@14237 | 3 PACKAGE="steadyflow" |
al@14237 | 4 VERSION="0.2.0" |
al@14237 | 5 CATEGORY="x-window" |
al@14237 | 6 SHORT_DESC="Simple download manager for GNOME" |
al@14237 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14237 | 8 LICENSE="GPL3" |
al@14237 | 9 WEB_SITE="https://launchpad.net/steadyflow" |
al@14237 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@14237 | 11 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL" |
al@14237 | 12 TAGS="gtk3" |
al@14237 | 13 |
al@14237 | 14 DEPENDS="gtk+3 libgee libnotify-gtk3" |
al@14237 | 15 BUILD_DEPENDS="wget cmake vala gtk+3-dev glib-dev libgee-dev libnotify-gtk3-dev" |
al@14237 | 16 |
al@14237 | 17 BUGS="Not able to download anything. Gnome-VFS error?" |
al@14237 | 18 |
al@14237 | 19 # Rules to configure and make the package. |
al@14237 | 20 compile_rules() |
al@14237 | 21 { |
pascal@20601 | 22 sed -i 's|ListStore| Gtk.&|' Steadyflow/FileListController.vala |
pascal@15096 | 23 mkdir -p $DESTDIR/usr/share/man/man1 |
al@14237 | 24 # gee-1.0 is old while gee-0.8 is latest ;) |
al@14237 | 25 sed -i 's|gee-1.0|gee-0.8|g; s|Gee-1.0|Gee-0.8|g' \ |
al@14237 | 26 $(grep -li gee-1.0 $(find . -type f)) |
pascal@16663 | 27 sed -i 's/exit(/GLib.Process.&/' Steadyflow/Services.vala |
al@14237 | 28 |
al@14237 | 29 mkdir build |
al@14237 | 30 cd build |
al@14237 | 31 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
al@14237 | 32 make |
pascal@15173 | 33 make install 2>&1 | grep -v gzip: |
al@14237 | 34 } |
al@14237 | 35 |
al@14237 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14237 | 37 genpkg_rules() |
al@14237 | 38 { |
al@14237 | 39 mkdir -p \ |
al@14237 | 40 $fs/usr/share/applications \ |
al@14237 | 41 $fs/usr/share/pixmaps \ |
al@14237 | 42 $fs/usr/share/locale |
al@14237 | 43 cp -a $install/usr/bin $fs/usr |
al@14237 | 44 cp -a $install/usr/share/glib* $fs/usr/share |
al@14237 | 45 cp -a $install/usr/share/steadyflow $fs/usr/share |
al@14237 | 46 |
al@14237 | 47 # localization |
al@14237 | 48 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14237 | 49 for lang in $LOCALE_PACK; do |
al@14237 | 50 langf=$install/usr/share/locale/$lang |
al@14237 | 51 [ -d $langf ] && cp -a $langf $fs/usr/share/locale && echo -n "$lang " |
al@14237 | 52 done |
al@14237 | 53 echo |
al@14237 | 54 } |