wok-current rev 23738

updated wxWidgets and wxWidgets-dev (3.0.4 -> 3.1.3)
author Hans-G?nter Theisgen
date Fri May 01 10:38:25 2020 +0100 (2020-05-01)
parents e7c729ae0681
children db191dc5aff6
files wxWidgets-dev/receipt wxWidgets/receipt
line diff
     1.1 --- a/wxWidgets-dev/receipt	Fri May 01 10:15:49 2020 +0100
     1.2 +++ b/wxWidgets-dev/receipt	Fri May 01 10:38:25 2020 +0100
     1.3 @@ -1,26 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="wxWidgets-dev"
     1.7 -VERSION="3.0.4"
     1.8 +VERSION="3.1.3"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Cross-platform GUI Library devel files."
    1.11 +SHORT_DESC="Cross-platform GUI Library - development files."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="LGPL"
    1.14 +WEB_SITE="https://www.wxwidgets.org/"
    1.15 +
    1.16 +DEPENDS="expat gtk+-dev pkg-config wxWidgets xorg-libICE-dev 
    1.17 +	xorg-libSM-dev xorg-libXinerama-dev zlib"
    1.18  WANTED="wxWidgets"
    1.19 -WEB_SITE="http://www.wxwidgets.org/"
    1.20 -
    1.21 -DEPENDS="pkg-config gtk+-dev xorg-libXinerama-dev xorg-libSM-dev \
    1.22 -xorg-libICE-dev expat wxWidgets zlib"
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27  	mkdir -p $fs/usr/lib/wx
    1.28 -	cp -a $install/usr/bin $fs/usr
    1.29 -	cp -a $install/usr/include $fs/usr
    1.30 +
    1.31 +	cp -a $install/usr/bin			$fs/usr
    1.32 +	cp -a $install/usr/include		$fs/usr
    1.33 +
    1.34  	# Just copy setup.h and contrib include
    1.35 -	cp -a $install/usr/lib/wx/include $fs/usr/lib/wx
    1.36 +	cp -a $install/usr/lib/wx/include	$fs/usr/lib/wx
    1.37  
    1.38 -	cp -a $install/usr/share $fs/usr
    1.39 -	rm -r $fs/usr/share/locale
    1.40 +	cp -a $install/usr/share		$fs/usr
    1.41 +	rm -r					$fs/usr/share/locale
    1.42  }
     2.1 --- a/wxWidgets/receipt	Fri May 01 10:15:49 2020 +0100
     2.2 +++ b/wxWidgets/receipt	Fri May 01 10:38:25 2020 +0100
     2.3 @@ -1,38 +1,40 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="wxWidgets"
     2.7 -VERSION="3.0.4"
     2.8 +VERSION="3.1.3"
     2.9  CATEGORY="x-window"
    2.10 -SHORT_DESC="Cross-platform GUI Library"
    2.11 +SHORT_DESC="Cross-platform GUI Library."
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="LGPL"
    2.14 +WEB_SITE="https://www.wxwidgets.org/"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.17 -WEB_SITE="http://www.wxwidgets.org/"
    2.18 -WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$TARBALL"
    2.19 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    2.20  
    2.21 -DEPENDS="glib glibc-base gcc-lib-base libgio pkg-config expat zlib atk \
    2.22 -gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman util-linux-uuid \
    2.23 -xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \
    2.24 -xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext libglu-mesa \
    2.25 -xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa"
    2.26 -BUILD_DEPENDS="gtk+-dev expat-dev zlib-dev \
    2.27 -xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng-dev tiff-dev \
    2.28 -jpeg-dev xorg-libXpm-dev patch"
    2.29 +DEPENDS="atk cairo expat fontconfig freetype gcc-lib-base glib glibc-base 
    2.30 +	gtk+ jpeg libgio libglu-mesa libpng mesa pango pixman pkg-config 
    2.31 +	tiff util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 xorg-libXau 
    2.32 +	xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp 
    2.33 +	xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender 
    2.34 +	xorg-libXxf86vm zlib"
    2.35 +BUILD_DEPENDS="expat-dev gtk+-dev jpeg-dev libglu-mesa libpng-dev mesa-dev 
    2.36 +	tiff-dev xorg-dev xorg-libXpm-dev xorg-xineramaproto zlib-dev"
    2.37  
    2.38  # Rules to configure and make the package.
    2.39  compile_rules()
    2.40  {
    2.41  #	sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py
    2.42 -	./configure \
    2.43 -		--enable-shared \
    2.44 -		--enable-unicode \
    2.45 -		--with-opengl \
    2.46 -		--with-libpng=sys \
    2.47 -		--with-libxpm=sys \
    2.48 -		--with-libjpeg=sys \
    2.49 -		--with-libtiff=sys \
    2.50 -		--enable-graphics_ctx \
    2.51 -		--enable-unicode \
    2.52 +
    2.53 +	./configure			\
    2.54 +		--enable-shared		\
    2.55 +		--enable-unicode	\
    2.56 +		--with-opengl		\
    2.57 +		--with-libpng=sys	\
    2.58 +		--with-libxpm=sys	\
    2.59 +		--with-libjpeg=sys	\
    2.60 +		--with-libtiff=sys	\
    2.61 +		--enable-graphics_ctx	\
    2.62 +		--enable-unicode	\
    2.63  		$CONFIGURE_ARGS &&
    2.64  	make &&
    2.65  	make DESTDIR=$DESTDIR install
    2.66 @@ -47,8 +49,10 @@
    2.67  genpkg_rules()
    2.68  {
    2.69  	mkdir -p $fs/usr
    2.70 -	# Copy libs and contrib libs.
    2.71 -	cp -a $install/usr/lib/ $fs/usr/
    2.72 -	# Remove devel files.
    2.73 -	rm -rf $fs/usr/lib/wx/include
    2.74 +
    2.75 +	# Copy libraries and contrib libraries.
    2.76 +	cp -a $install/usr/lib	$fs/usr
    2.77 +
    2.78 +	# Remove development files.
    2.79 +	rm -rf			$fs/usr/lib/wx/include
    2.80  }