wok-next annotate glade/receipt @ rev 21382

updated nbd (3.3 -> 3.20)
author Hans-G?nter Theisgen
date Thu Apr 16 17:27:00 2020 +0100 (2020-04-16)
parents 33dc3c330cc7
children
rev   line source
al@20108 1 # SliTaz package receipt v2.
al@20108 2
al@20108 3 PACKAGE="glade"
al@21010 4 VERSION="3.22.1"
al@20108 5 CATEGORY="development"
al@20108 6 SHORT_DESC="A user interface designer for GTK+3"
al@20108 7 MAINTAINER="al.bobylev@gmail.com"
al@20108 8 LICENSE="LGPL"
al@20906 9 WEB_SITE="https://glade.gnome.org/"
al@20108 10
al@20108 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@20108 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
al@20108 13
al@21010 14 BUILD_DEPENDS="glib-dev intltool gtk-doc gtk3-dev python-pygobject-dev \
al@21010 15 python-dev itstool"
al@21010 16 SPLIT="$PACKAGE-python $PACKAGE $PACKAGE-dev"
al@20108 17
al@20108 18 compile_rules() {
al@21010 19 # # sdft can't work with keywords
al@21010 20 # sed -i '/_Keywords=/d' data/glade.desktop.in.in
al@20108 21
al@20108 22 # introspection produces error
al@20108 23 ./configure \
al@21010 24 --enable-gladeui \
al@20108 25 --disable-introspection \
al@20108 26 $CONFIGURE_ARGS &&
al@20570 27 fix libtool &&
al@20570 28 make &&
al@20570 29 make install
al@20108 30 }
al@20108 31
al@20108 32 genpkg_rules() {
al@20108 33 case $PACKAGE in
al@20108 34 *-python)
al@20108 35 copy libgladepython.so
al@20749 36 DEPENDS="glade glib python"
al@20108 37 CAT="python|Python bindings"
al@20108 38 ;;
al@20108 39 glade)
al@20108 40 copy @std @rm
al@21105 41 DEPENDS="libcairo gdk-pixbuf glib gtk3 libxml2 pango"
al@20108 42 ;;
al@20108 43 *-dev)
al@20108 44 copy @dev
al@20108 45 DEPENDS="glade glade-python \
al@21010 46 gtk3-dev libxml2-dev"
al@20108 47 ;;
al@20108 48 esac
al@20108 49 }