wok-next rev 21685

updated glib (2.58.2 -> 2.64.3)
author Hans-G?nter Theisgen
date Mon Jun 29 16:34:57 2020 +0100 (2020-06-29)
parents f615eab3599e
children ec9fd404de11
files glib/receipt
line diff
     1.1 --- a/glib/receipt	Mon Jun 29 15:40:33 2020 +0100
     1.2 +++ b/glib/receipt	Mon Jun 29 16:34:57 2020 +0100
     1.3 @@ -1,42 +1,51 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="glib"
     1.7 -VERSION="2.58.2"
     1.8 +VERSION="2.64.3"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="C routines"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +MAINTAINER="maintainer@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="https://developer.gnome.org/glib/"
    1.15  LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/glib2.html"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.19 -TARBALL_SHA1="9831bbdca749a42526d0afc4b31799e8be22037c"
    1.20 +TARBALL_SHA256="fe9cbc97925d14c804935f067a3ad77ef55c0bbe9befe68962318f5a767ceb22"
    1.21  
    1.22 -BUILD_DEPENDS="automake libtool zlib-dev libffi-dev gettext-dev \
    1.23 -util-linux-mount-dev pcre-dev libxslt docbook-xsl   elfutils-dev"
    1.24 -SPLIT="$PACKAGE-static $PACKAGE-dev $PACKAGE"
    1.25 +BUILD_DEPENDS="docbook-xsl elfutils-dev gettext-dev libffi-dev libxslt 
    1.26 +	meson ninja pcre-dev util-linux-mount-dev zlib-dev"
    1.27 +SPLIT="$PACKAGE-static $PACKAGE-dev $PACKAGE $PACKAGE-lang"
    1.28  
    1.29  COPY_static="*.a"
    1.30  COPY_dev="gdbus-codegen gobject-query bin/gresource bin/gtester* \
    1.31 -bin/glib-gettextize bin/glib-mkenums gdb/ gettext/ glib-2.0/ @dev @rm"
    1.32 +	bin/glib-gettextize bin/glib-mkenums gdb/ gettext/ glib-2.0/ @dev @rm"
    1.33  
    1.34  DEPENDS_std="libffi libpcre util-linux-mount zlib"
    1.35 -DEPENDS_dev="$PACKAGE elfutils libffi libpcre pcre-dev python \
    1.36 -util-linux-mount-dev zlib-dev   perl"
    1.37 +DEPENDS_dev="$PACKAGE elfutils libffi libpcre pcre-dev perl python 
    1.38 +	util-linux-mount-dev zlib-dev"
    1.39  
    1.40  CAT_static="development|static libraries"
    1.41  
    1.42 -compile_rules() {
    1.43 +compile_rules()
    1.44 +{
    1.45  	# --enable-static: desktop-file-validate-static require such lib
    1.46 -	./autogen.sh \
    1.47 -		--enable-debug=no \
    1.48 -		--enable-static \
    1.49 -		--disable-selinux \
    1.50 -		--disable-fam \
    1.51 -		--enable-man \
    1.52 -		$CONFIGURE_ARGS &&
    1.53 -	fix libtool &&
    1.54 -	make &&
    1.55 -	make install
    1.56 +#	./autogen.sh \
    1.57 +#		--enable-debug=no \
    1.58 +#		--enable-static \
    1.59 +#		--disable-selinux \
    1.60 +#		--disable-fam \
    1.61 +#		--enable-man \
    1.62 +#		$CONFIGURE_ARGS &&
    1.63 +#	fix libtool &&
    1.64 +#	make &&
    1.65 +#	make install
    1.66 +
    1.67 +	# --default-library=both: desktop-file-validate-static requires such library
    1.68 +	meson	build			\
    1.69 +		--prefix=/usr		\
    1.70 +		--default-library=both	\
    1.71 +		-Dman=true &&
    1.72 +	ninja -C build &&
    1.73 +	ninja -C build install
    1.74  }