wok diff hexchat-plugin/receipt @ rev 24641

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