# SliTaz package receipt. PACKAGE="hexchat-plugin" VERSION="2.16.1" CATEGORY="network" SHORT_DESC="IRC client using GTK+ with plugins support." MAINTAINER="lenios@slitaz.org" LICENSE="GPL2" WEB_SITE="https://hexchat.github.io/" SOURCE="hexchat" TARBALL="$SOURCE-$VERSION.tar.xz" WGET_URL="https://dl.hexchat.net/$SOURCE/$TARBALL" PROVIDE="hexchat" SUGGESTED="hexchat-lang" DEPENDS="dbus-glib gettext-base gtk+ harfbuzzopenssl libcanberra libxml2 xorg-libXdamage" BUILD_DEPENDS="gtk+-dev libcanberra-dev libxml2-dev meson openssl-dev shared-mime-info" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { # 2.16.1 # meson unknown option from configure: # --disable-tcl # --enable-spell=static # --enable-ipv6 export CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration" meson _build \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ -D dbus=disabled \ -D libcanberra=enabled \ -D with-lua=false \ -D plugin=true \ -D with-python=false && ninja -C _build && ninja -C _build install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { # cp -a $install/usr/share/dbus-1 $fs/usr/share cook_copy_folders bin }