wok-next rev 20367

pywebkitgtk: up and use webkitgtk; claws-mail-dev: update dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 24 15:34:52 2017 +0200 (2017-11-24)
parents 2dd86a72fdf4
children 66d50fb5be62
files claws-mail/receipt pywebkitgtk/receipt
line diff
     1.1 --- a/claws-mail/receipt	Fri Nov 24 14:48:02 2017 +0200
     1.2 +++ b/claws-mail/receipt	Fri Nov 24 15:34:52 2017 +0200
     1.3 @@ -172,7 +172,8 @@
     1.4  			;;
     1.5  		*-dev)
     1.6  			copy @dev
     1.7 -			DEPENDS="claws-mail acl-dev atk-dev attr-dev bzip2-dev cairo-dev \
     1.8 +			DEPENDS="${SPLIT/$PACKAGE/} claws-mail \
     1.9 +			acl-dev atk-dev attr-dev bzip2-dev cairo-dev \
    1.10  			curl-dev enchant-dev expat-dev fontconfig-dev freetype-dev \
    1.11  			gdk-pixbuf-dev glib-dev gpgme-dev gst1-plugins-base-dev \
    1.12  			gstreamer1-dev gtk+-dev harfbuzz-dev harfbuzz-icu-dev icu-dev \
     2.1 --- a/pywebkitgtk/receipt	Fri Nov 24 14:48:02 2017 +0200
     2.2 +++ b/pywebkitgtk/receipt	Fri Nov 24 15:34:52 2017 +0200
     2.3 @@ -1,35 +1,49 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="pywebkitgtk"
     2.8 -VERSION="1.1.7"
     2.9 -CATEGORY="development"
    2.10 -SHORT_DESC="Python bindings to the Webkit GTK+ port."
    2.11 +VERSION="1.1.8"
    2.12 +CATEGORY="python"
    2.13 +SHORT_DESC="Python2 bindings to the WebKit GTK+ port"
    2.14  MAINTAINER="slaxemulator@gmail.com"
    2.15  LICENSE="LGPL2"
    2.16 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 -WEB_SITE="http://code.google.com/p/pywebkitgtk/"
    2.18 -WGET_URL="http://pywebkitgtk.googlecode.com/files/$TARBALL"
    2.19 +WEB_SITE="https://code.google.com/archive/p/pywebkitgtk/"
    2.20  
    2.21 -DEPENDS="libwebkit pygtk libxslt"
    2.22 -BUILD_DEPENDS="libwebkit-dev pygtk-dev libxslt-dev python-dev util-linux-uuid-dev pkg-config"
    2.23 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.24 +WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pywebkitgtk/$TARBALL"
    2.25  
    2.26 -# Rules to configure and make the package.
    2.27 -compile_rules()
    2.28 -{
    2.29 -	cd $src
    2.30 -	./configure \
    2.31 -		--prefix=/usr \
    2.32 -		--infodir=/usr/share/info \
    2.33 -		--mandir=/usr/share/man \
    2.34 -		$CONFIGURE_ARGS &&
    2.35 -	make && make DESTDIR=$DESTDIR install
    2.36 +BUILD_DEPENDS="python-dev libxslt-dev glib-dev pygtk-dev webkitgtk-dev"
    2.37 +SPLIT="pywebkitgtk-dev"
    2.38 +
    2.39 +compile_rules() {
    2.40 +	./configure $CONFIGURE_ARGS && make && make install
    2.41  }
    2.42  
    2.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.44 -genpkg_rules()
    2.45 -{
    2.46 -	mkdir -p $fs/usr/share
    2.47 -	cp -a $install/usr/lib $fs/usr
    2.48 -	cp -a $install/usr/share/pywebkitgtk $fs/usr/share
    2.49 +genpkg_rules() {
    2.50 +	case $PACKAGE in
    2.51 +		pywebkitgtk)
    2.52 +			copy @std
    2.53 +			DEPENDS="atk bzlib cairo enchant fontconfig freetype gdk-pixbuf \
    2.54 +			glib gst1-plugins-base gstreamer1 gtk+ icu libatomic libffi \
    2.55 +			libgcrypt libgpg-error libharfbuzz libharfbuzz-icu libicu \
    2.56 +			libjpeg-turbo liblzma libpng16 libsecret libsoup libsqlite3 \
    2.57 +			libwebp libxml2 libxslt orc pango pcre python util-linux-blkid \
    2.58 +			util-linux-mount util-linux-uuid webkitgtk xorg-libICE xorg-libSM \
    2.59 +			xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender \
    2.60 +			xorg-libXt xorg-libxcb xorg-pixman zlib"
    2.61 +			;;
    2.62 +		*-dev)
    2.63 +			copy @dev
    2.64 +			DEPENDS="pywebkitgtk atk-dev bzip2-dev cairo-dev enchant-dev \
    2.65 +			fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \
    2.66 +			gst1-plugins-base-dev gstreamer1-dev gtk+-dev harfbuzz-dev \
    2.67 +			harfbuzz-icu-dev icu-dev libjpeg-turbo-dev libffi-dev \
    2.68 +			libgcrypt-dev libgpg-error-dev libpng16-dev libsecret-dev \
    2.69 +			libsoup-dev libwebp-dev libxml2-dev libxslt-dev orc-dev pango-dev \
    2.70 +			pcre-dev sqlite3-dev util-linux-blkid-dev util-linux-mount-dev \
    2.71 +			util-linux-uuid-dev webkitgtk-dev xorg-libICE-dev xorg-libSM-dev \
    2.72 +			xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
    2.73 +			xorg-libXrender-dev xorg-libXt-dev xorg-libxcb-dev xorg-pixman-dev \
    2.74 +			xz-dev zlib-dev"
    2.75 +			;;
    2.76 +	esac
    2.77  }
    2.78 -