wok-next annotate screenlets/receipt @ rev 21280
gimp: added build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 17:24:40 2019 +0100 (2019-12-07) |
parents | a3254b6a96ac |
children |
rev | line source |
---|---|
al@20491 | 1 # SliTaz package receipt v2. |
pascal@12973 | 2 |
pascal@12973 | 3 PACKAGE="screenlets" |
pascal@12973 | 4 VERSION="0.1.6" |
pascal@12973 | 5 CATEGORY="system-tools" |
al@20491 | 6 SHORT_DESC="Desktop widgets framework" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="https://web.archive.org/web/20121113151039/http://screenlets.org:80/index.php/Home" |
al@20491 | 10 |
pascal@12973 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@12973 | 12 WGET_URL="https://launchpad.net/screenlets/trunk/$VERSION/+download/$TARBALL" |
pascal@12973 | 13 |
al@21020 | 14 BUILD_DEPENDS="python-dev gettext-dev" |
pascal@12973 | 15 |
al@20491 | 16 compile_rules() { |
al@21020 | 17 python -B setup.py install --root=$install || return 1 |
al@20491 | 18 |
al@20491 | 19 mkdir -p $install/etc/screenlets/ |
al@20491 | 20 echo '/usr' > $install/etc/screenlets/prefix |
pascal@12973 | 21 } |
pascal@12973 | 22 |
al@20491 | 23 genpkg_rules() { |
al@20491 | 24 copy @std |
al@20976 | 25 DEPENDS="python python-pygtk python-pyxdg python-beautifulsoup4 gnome-python-desktop \ |
al@20919 | 26 python-dbus gnome-icon-theme" |
pascal@12973 | 27 } |
pascal@12973 | 28 |
al@20491 | 29 post_install() { |
al@18086 | 30 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache |
pascal@12973 | 31 } |
pascal@12973 | 32 |
al@20491 | 33 post_remove() { |
al@18086 | 34 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache |
pascal@12973 | 35 } |