wok-next view pygobject3/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 05d4a6d977d4 |
children | 342b30daff76 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pygobject3"
4 VERSION="3.26.0"
5 CATEGORY="development"
6 SHORT_DESC="Python Bindings for GLib/GObject/GIO/GTK+"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://wiki.gnome.org/Projects/PyGObject"
11 TARBALL="pygobject-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/pygobject/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="automake glib-dev libtool python-dev gobject-introspection-dev \
15 cairo-dev pycairo-dev"
16 SPLIT="pygobject3-dev"
18 compile_rules() {
19 NOCONFIGURE=1 ./autogen.sh &&
20 ./configure $CONFIGURE_ARGS > /dev/null 2>&1 # create ./libtool
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 # sed -i 's| -shared | -Wl,-O1,--as-needed\0|g' libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 pygobject3)
31 copy @std
32 DEPENDS="cairo glib gobject-introspection libffi python"
33 PROVIDE="python-gi"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="pygobject3 bzip2-dev cairo-dev fontconfig-dev \
38 freetype-dev glib-dev gobject-introspection-dev harfbuzz-dev \
39 libffi-dev libpng16-dev libxml2-dev pcre-dev util-linux-blkid-dev \
40 util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
41 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
42 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
43 ;;
44 esac
45 }