wok-next view gnome-python-desktop/receipt @ rev 21545

updated cgames (2.2 -> 2.2b)
author Hans-G?nter Theisgen
date Sun Jun 21 17:35:44 2020 +0100 (2020-06-21)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gnome-python-desktop"
4 VERSION="2.32.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Python bindings for GNOME desktop"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL LGPL"
9 WEB_SITE="https://www.gnome.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="python-dev python-pygtk-dev gnome-python-dev \
15 libgnome-keyring-dev librsvg-dev python-pycairo-dev libwnck2-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 # Can't fix build flags (like `fix libtool`) using waf -> unwanted
20 # dependencies (atk, cairo, fontconfig, freetype, gdk-pixbuf, pango).
21 # So switch to "deprecated build system" that "will be removed in a future
22 # version". But this is 2010 and no "future version" was made since that.
24 if false; then
26 ./waf configure \
27 --prefix=/usr \
28 --enable-module "gnomekeyring,rsvg,wnck" &&
29 ./waf build &&
30 ./waf install \
31 --destdir=$install &&
32 find $install -type f -name '*.so' -exec chmod +x '{}' \;
34 else
36 ./configure \
37 --disable-bugbuddy \
38 --enable-gnomekeyring \
39 --enable-rsvg \
40 --enable-wnck \
41 $CONFIGURE_ARGS &&
42 fix libtool &&
43 make &&
44 make install
46 fi
47 }
49 genpkg_rules() {
50 case $PACKAGE in
51 gnome-python-desktop)
52 copy @std
53 DEPENDS="glib gtk2 libgnome-keyring librsvg libwnck2 python \
54 gnome-python"
55 ;;
56 *-dev)
57 copy @dev
58 ;;
59 esac
60 }