wok-next annotate nanoshot/receipt @ rev 20931

pygobject3 -> python-pygobject (latest); pygobject -> python-pygobject2 (legacy)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 23 08:03:04 2018 +0300 (2018-08-23)
parents a00b398faf9e
children c022997c7a57
rev   line source
al@20513 1 # SliTaz package receipt v2.
al@13649 2
al@13649 3 PACKAGE="nanoshot"
al@13649 4 VERSION="0.2.15"
al@13649 5 CATEGORY="utilities"
al@20513 6 SHORT_DESC="Take screenshots of screen area, windows, web pages and videos"
al@13649 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15000 8 LICENSE="GPL2"
al@20906 9 WEB_SITE="https://sourceforge.net/projects/nanoshot/"
al@20513 10
al@13649 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@13649 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@13649 13
al@20931 14 BUILD_DEPENDS="xdg-utils python python-pygobject2 pygtk pycurl gnome-python-desktop \
al@20919 15 python-dbus python-pil bash sed gettext"
al@13649 16
al@20513 17 compile_rules() {
al@13649 18 mkdir -p /usr/share/man
al@20513 19
al@13649 20 ./configure $CONFIGURE_ARGS &&
al@13649 21 sed -i 's/cp -T/cp/g' ./install
al@13649 22 # fix install paths
al@13649 23 sed -i "s|\"/usr|\"$install/usr|g" ./install
al@13649 24
al@13649 25 ./install
al@20513 26
al@20513 27 # fix paths
al@20513 28 sed -i "s|$install||g" $install/usr/bin/Nanoshot
al@13649 29 }
al@13649 30
al@20513 31 genpkg_rules() {
al@20513 32 copy @std
al@20931 33 DEPENDS="xdg-utils python python-pygobject2 pygtk pycurl gnome-python-desktop \
al@20919 34 python-dbus python-pil gst0-python"
al@13649 35 }