wok annotate hexchat-plugin/receipt @ rev 25433
Add httpfs2-enhanced
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 26 10:41:11 2022 +0000 (2022-08-26) |
parents | af8d823a3077 |
children | 96982f54e3dc |
rev | line source |
---|---|
devl547@16176 | 1 # SliTaz package receipt. |
devl547@16176 | 2 |
devl547@16176 | 3 PACKAGE="hexchat-plugin" |
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+ with plugins support." |
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 SOURCE="hexchat" |
devl547@16176 | 12 TARBALL="$SOURCE-$VERSION.tar.xz" |
Hans-G?nter@24641 | 13 WGET_URL="https://dl.hexchat.net/$SOURCE/$TARBALL" |
devl547@16176 | 14 PROVIDE="hexchat" |
Hans-G?nter@24641 | 15 SUGGESTED="hexchat-lang" |
Hans-G?nter@24641 | 16 DEPENDS="dbus-glib gettext-base gtk+ harfbuzzopenssl libcanberra libxml2 |
Hans-G?nter@24641 | 17 xorg-libXdamage" |
Hans-G?nter@24641 | 18 BUILD_DEPENDS="gtk+-dev libcanberra-dev libxml2-dev meson openssl-dev |
Hans-G?nter@24641 | 19 shared-mime-info" |
devl547@16176 | 20 |
pascal@24445 | 21 # What is the latest version available today? |
pascal@24445 | 22 current_version() |
pascal@24445 | 23 { |
pascal@24445 | 24 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24445 | 25 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24445 | 26 } |
pascal@24445 | 27 |
devl547@16176 | 28 # Rules to configure and make the package. |
devl547@16176 | 29 compile_rules() |
devl547@16176 | 30 { |
al@16885 | 31 |
Hans-G?nter@24641 | 32 # 2.16.1 |
Hans-G?nter@24641 | 33 # meson unknown option from configure: |
Hans-G?nter@24641 | 34 # --disable-tcl |
Hans-G?nter@24641 | 35 # --enable-spell=static |
Hans-G?nter@24641 | 36 # --enable-ipv6 |
Hans-G?nter@24641 | 37 |
Hans-G?nter@24641 | 38 export CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration" |
Hans-G?nter@24641 | 39 |
Hans-G?nter@24641 | 40 meson _build \ |
Hans-G?nter@24641 | 41 --prefix=/usr \ |
Hans-G?nter@24641 | 42 --infodir=/usr/share/info \ |
Hans-G?nter@24641 | 43 --mandir=/usr/share/man \ |
Hans-G?nter@24641 | 44 -D dbus=disabled \ |
Hans-G?nter@24641 | 45 -D libcanberra=enabled \ |
Hans-G?nter@24641 | 46 -D with-lua=false \ |
Hans-G?nter@24641 | 47 -D plugin=true \ |
Hans-G?nter@24641 | 48 -D with-python=false && |
Hans-G?nter@24641 | 49 ninja -C _build && |
Hans-G?nter@24641 | 50 ninja -C _build install |
devl547@16176 | 51 } |
devl547@16176 | 52 |
devl547@16176 | 53 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@16176 | 54 genpkg_rules() |
devl547@16176 | 55 { |
al@16885 | 56 # cp -a $install/usr/share/dbus-1 $fs/usr/share |
Hans-G?nter@24641 | 57 cook_copy_folders bin |
devl547@16176 | 58 } |