wok diff hexchat/receipt @ rev 25535

updated imlib2 and imlib2-dev 1.8.0 -> 1.10.0
author Hans-G?nter Theisgen
date Thu Mar 02 09:40:16 2023 +0100 (20 months ago)
parents af8d823a3077
children
line diff
     1.1 --- a/hexchat/receipt	Mon Feb 14 14:14:23 2022 +0000
     1.2 +++ b/hexchat/receipt	Thu Mar 02 09:40:16 2023 +0100
     1.3 @@ -1,18 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="hexchat"
     1.7 -VERSION="2.10.2"
     1.8 +VERSION="2.16.1"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="IRC client using GTK+"
    1.11 +SHORT_DESC="IRC client using GTK+."
    1.12  MAINTAINER="lenios@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="https://hexchat.github.io/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17 -WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL"
    1.18 +WGET_URL="https://dl.hexchat.net/$PACKAGE/$TARBALL"
    1.19  
    1.20 -DEPENDS="gtk+ openssl gettext-base dbus-glib xorg-libXdamage \
    1.21 -harfbuzz"
    1.22 -BUILD_DEPENDS="gtk+-dev openssl-dev shared-mime-info"
    1.23 +SUGGESTED="hexchat-lang"
    1.24 +DEPENDS="dbus-glib gettext-base gtk+ harfbuzz libcanberra libxml2
    1.25 +	openssl xorg-libXdamage"
    1.26 +BUILD_DEPENDS="gtk+-dev libcanberra-dev libxml2-dev meson openssl-dev
    1.27 +	shared-mime-info"
    1.28  
    1.29  # What is the latest version available today?
    1.30  current_version()
    1.31 @@ -24,25 +27,30 @@
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35 -	./configure \
    1.36 -		--prefix=/usr \
    1.37 -		--infodir=/usr/share/info \
    1.38 -		--mandir=/usr/share/man \
    1.39 -		--disable-plugin \
    1.40 -		--disable-tcl \
    1.41 -		--disable-dbus \
    1.42 -		--disable-python \
    1.43 -		--enable-spell=static \
    1.44 -		--enable-ipv6 \
    1.45 -		$CONFIGURE_ARGS &&
    1.46 -	make &&
    1.47 -	make DESTDIR=$DESTDIR install
    1.48 +	#	2.16.1
    1.49 +	#	meson unknown options from configure:
    1.50 +	#		--disable-tcl
    1.51 +	#		--enable-spell=static
    1.52 +	#		--enable-ipv6
    1.53 +
    1.54 +	export	CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration"
    1.55 +
    1.56 +	meson	_build				\
    1.57 +		--prefix=/usr			\
    1.58 +		--infodir=/usr/share/info	\
    1.59 +		--mandir=/usr/share/man		\
    1.60 +		-D dbus=disabled		\
    1.61 +		-D libcanberra=enabled		\
    1.62 +		-D with-lua=false		\
    1.63 +		-D plugin=false			\
    1.64 +		-D with-python=false &&
    1.65 +	ninja	-C _build &&
    1.66 +	ninja	-C _build install
    1.67  }
    1.68  
    1.69  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.70  genpkg_rules()
    1.71  {
    1.72 -	mkdir -p $fs/usr
    1.73 -	cp -a $install/usr/bin $fs/usr
    1.74  	# cp -a $install/usr/share/dbus-1 $fs/usr/share
    1.75 +	cook_copy_folders	bin
    1.76  }