wok diff wxWidgets/receipt @ 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 c72a5be583f4
children a0280eae1832
line diff
     1.1 --- a/wxWidgets/receipt	Thu May 23 17:17:24 2019 +0200
     1.2 +++ b/wxWidgets/receipt	Fri May 01 10:38:25 2020 +0100
     1.3 @@ -1,38 +1,40 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="wxWidgets"
     1.7 -VERSION="3.0.4"
     1.8 +VERSION="3.1.3"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Cross-platform GUI Library"
    1.11 +SHORT_DESC="Cross-platform GUI Library."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="LGPL"
    1.14 +WEB_SITE="https://www.wxwidgets.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://www.wxwidgets.org/"
    1.18 -WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$TARBALL"
    1.19 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    1.20  
    1.21 -DEPENDS="glib glibc-base gcc-lib-base libgio pkg-config expat zlib atk \
    1.22 -gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman util-linux-uuid \
    1.23 -xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \
    1.24 -xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext libglu-mesa \
    1.25 -xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa"
    1.26 -BUILD_DEPENDS="gtk+-dev expat-dev zlib-dev \
    1.27 -xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng-dev tiff-dev \
    1.28 -jpeg-dev xorg-libXpm-dev patch"
    1.29 +DEPENDS="atk cairo expat fontconfig freetype gcc-lib-base glib glibc-base 
    1.30 +	gtk+ jpeg libgio libglu-mesa libpng mesa pango pixman pkg-config 
    1.31 +	tiff util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 xorg-libXau 
    1.32 +	xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp 
    1.33 +	xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender 
    1.34 +	xorg-libXxf86vm zlib"
    1.35 +BUILD_DEPENDS="expat-dev gtk+-dev jpeg-dev libglu-mesa libpng-dev mesa-dev 
    1.36 +	tiff-dev xorg-dev xorg-libXpm-dev xorg-xineramaproto zlib-dev"
    1.37  
    1.38  # Rules to configure and make the package.
    1.39  compile_rules()
    1.40  {
    1.41  #	sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py
    1.42 -	./configure \
    1.43 -		--enable-shared \
    1.44 -		--enable-unicode \
    1.45 -		--with-opengl \
    1.46 -		--with-libpng=sys \
    1.47 -		--with-libxpm=sys \
    1.48 -		--with-libjpeg=sys \
    1.49 -		--with-libtiff=sys \
    1.50 -		--enable-graphics_ctx \
    1.51 -		--enable-unicode \
    1.52 +
    1.53 +	./configure			\
    1.54 +		--enable-shared		\
    1.55 +		--enable-unicode	\
    1.56 +		--with-opengl		\
    1.57 +		--with-libpng=sys	\
    1.58 +		--with-libxpm=sys	\
    1.59 +		--with-libjpeg=sys	\
    1.60 +		--with-libtiff=sys	\
    1.61 +		--enable-graphics_ctx	\
    1.62 +		--enable-unicode	\
    1.63  		$CONFIGURE_ARGS &&
    1.64  	make &&
    1.65  	make DESTDIR=$DESTDIR install
    1.66 @@ -47,8 +49,10 @@
    1.67  genpkg_rules()
    1.68  {
    1.69  	mkdir -p $fs/usr
    1.70 -	# Copy libs and contrib libs.
    1.71 -	cp -a $install/usr/lib/ $fs/usr/
    1.72 -	# Remove devel files.
    1.73 -	rm -rf $fs/usr/lib/wx/include
    1.74 +
    1.75 +	# Copy libraries and contrib libraries.
    1.76 +	cp -a $install/usr/lib	$fs/usr
    1.77 +
    1.78 +	# Remove development files.
    1.79 +	rm -rf			$fs/usr/lib/wx/include
    1.80  }