wok-next diff glade3/receipt @ rev 20108
Up glade3, json-glib, libgee, font-manager, liberation-fonts; add glade, liberation-classic-fonts, python-distutils-extra.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 30 00:16:27 2017 +0200 (2017-10-30) |
parents | 10e6c72b2c15 |
children | a5d7827e08cf |
line diff
1.1 --- a/glade3/receipt Sun Aug 11 18:44:25 2013 +0000 1.2 +++ b/glade3/receipt Mon Oct 30 00:16:27 2017 +0200 1.3 @@ -1,44 +1,44 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="glade3" 1.8 -VERSION="3.8.0" 1.9 +VERSION="3.8.6" 1.10 CATEGORY="development" 1.11 -SHORT_DESC="Vector drawing application." 1.12 +SHORT_DESC="A user interface designer for GTK+2" 1.13 MAINTAINER="pankso@slitaz.org" 1.14 -LICENSE="LGPL" 1.15 -SUGGESTED="python" 1.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 +LICENSE="GPL2 LGPL2" 1.18 WEB_SITE="http://glade.gnome.org/" 1.19 + 1.20 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.21 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.22 1.23 -DEPENDS="gtk+ libglade xorg-libXdamage" 1.24 -BUILD_DEPENDS="intltool libxml2-dev expat-dev python gtk+-dev" 1.25 +BUILD_DEPENDS="intltool gtk-doc gtk+-dev pygtk-dev python-dev itstool" 1.26 +SPLIT="glade3-python glade3 glade3-dev" 1.27 1.28 -# Rules to configure and make the package. 1.29 -compile_rules() 1.30 -{ 1.31 - cd $src 1.32 - ./configure \ 1.33 - --prefix=/usr \ 1.34 - --with-html-dir=/usr/share/doc \ 1.35 - --disable-scrollkeeper \ 1.36 - $CONFIGURE_ARGS 1.37 - # Doc doesn't built 1.38 - sed -i 's/= help/=/' Makefile 1.39 - make && 1.40 - make DESTDIR=$DESTDIR install 1.41 +compile_rules() { 1.42 + ./configure $CONFIGURE_ARGS && make && make install 1.43 } 1.44 1.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.46 -genpkg_rules() 1.47 -{ 1.48 - mkdir -p $fs/usr/lib $fs/usr/share/pixmaps 1.49 - cp -a $install/usr/bin $fs/usr 1.50 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.51 - cp -a $install/usr/lib/glade3 $fs/usr/lib 1.52 - rm $fs/usr/lib/glade3/modules/*.*a 1.53 - cp -a $install/usr/share/icons/hicolor/24x24/apps/* \ 1.54 - $fs/usr/share/pixmaps 1.55 - cp -a $install/usr/share/glade3 $fs/usr/share 1.56 +genpkg_rules() { 1.57 + case $PACKAGE in 1.58 + *-python) 1.59 + copy libgladepython.so 1.60 + DEPENDS="glade3 python" 1.61 + CAT="python|Python bindings" 1.62 + ;; 1.63 + glade3) 1.64 + copy @std @rm 1.65 + DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ \ 1.66 + libxml2 pango" 1.67 + ;; 1.68 + *-dev) 1.69 + copy @dev 1.70 + DEPENDS="glade3 glade3-python \ 1.71 + atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \ 1.72 + gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libffi-dev \ 1.73 + libpng16-dev libxml2-dev pango-dev pcre-dev python \ 1.74 + util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ 1.75 + xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ 1.76 + xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" 1.77 + ;; 1.78 + esac 1.79 } 1.80 -