wok-6.x annotate hexchat/receipt @ rev 25554

Up fakeroot (1.31)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 12 20:31:24 2023 +0000 (19 months ago)
parents af8d823a3077
children
rev   line source
devl547@16176 1 # SliTaz package receipt.
devl547@16176 2
devl547@16176 3 PACKAGE="hexchat"
Hans-G?nter@24641 4 VERSION="2.16.1"
devl547@16176 5 CATEGORY="network"
Hans-G?nter@24641 6 SHORT_DESC="IRC client using GTK+."
devl547@16176 7 MAINTAINER="lenios@slitaz.org"
devl547@16176 8 LICENSE="GPL2"
pascal@20669 9 WEB_SITE="https://hexchat.github.io/"
Hans-G?nter@24641 10
devl547@16176 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@24641 12 WGET_URL="https://dl.hexchat.net/$PACKAGE/$TARBALL"
devl547@16176 13
Hans-G?nter@24641 14 SUGGESTED="hexchat-lang"
Hans-G?nter@24641 15 DEPENDS="dbus-glib gettext-base gtk+ harfbuzz libcanberra libxml2
Hans-G?nter@24641 16 openssl xorg-libXdamage"
Hans-G?nter@24641 17 BUILD_DEPENDS="gtk+-dev libcanberra-dev libxml2-dev meson openssl-dev
Hans-G?nter@24641 18 shared-mime-info"
devl547@16176 19
pascal@24445 20 # What is the latest version available today?
pascal@24445 21 current_version()
pascal@24445 22 {
pascal@24445 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24445 24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24445 25 }
pascal@24445 26
devl547@16176 27 # Rules to configure and make the package.
devl547@16176 28 compile_rules()
devl547@16176 29 {
Hans-G?nter@24641 30 # 2.16.1
Hans-G?nter@24641 31 # meson unknown options from configure:
Hans-G?nter@24641 32 # --disable-tcl
Hans-G?nter@24641 33 # --enable-spell=static
Hans-G?nter@24641 34 # --enable-ipv6
Hans-G?nter@24641 35
Hans-G?nter@24641 36 export CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration"
Hans-G?nter@24641 37
Hans-G?nter@24641 38 meson _build \
Hans-G?nter@24641 39 --prefix=/usr \
Hans-G?nter@24641 40 --infodir=/usr/share/info \
Hans-G?nter@24641 41 --mandir=/usr/share/man \
Hans-G?nter@24641 42 -D dbus=disabled \
Hans-G?nter@24641 43 -D libcanberra=enabled \
Hans-G?nter@24641 44 -D with-lua=false \
Hans-G?nter@24641 45 -D plugin=false \
Hans-G?nter@24641 46 -D with-python=false &&
Hans-G?nter@24641 47 ninja -C _build &&
Hans-G?nter@24641 48 ninja -C _build install
devl547@16176 49 }
devl547@16176 50
devl547@16176 51 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@16176 52 genpkg_rules()
devl547@16176 53 {
al@16885 54 # cp -a $install/usr/share/dbus-1 $fs/usr/share
Hans-G?nter@24641 55 cook_copy_folders bin
devl547@16176 56 }