wok-6.x view hexchat-plugin/receipt @ rev 24692
updated jsoncpp (1.9.2 -> 1.9.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 15:46:33 2022 +0100 (2022-03-12) |
parents | af8d823a3077 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="hexchat-plugin"
4 VERSION="2.16.1"
5 CATEGORY="network"
6 SHORT_DESC="IRC client using GTK+ with plugins support."
7 MAINTAINER="lenios@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://hexchat.github.io/"
11 SOURCE="hexchat"
12 TARBALL="$SOURCE-$VERSION.tar.xz"
13 WGET_URL="https://dl.hexchat.net/$SOURCE/$TARBALL"
14 PROVIDE="hexchat"
15 SUGGESTED="hexchat-lang"
16 DEPENDS="dbus-glib gettext-base gtk+ harfbuzzopenssl libcanberra libxml2
17 xorg-libXdamage"
18 BUILD_DEPENDS="gtk+-dev libcanberra-dev libxml2-dev meson openssl-dev
19 shared-mime-info"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*} 2>/dev/null | \
25 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
32 # 2.16.1
33 # meson unknown option from configure:
34 # --disable-tcl
35 # --enable-spell=static
36 # --enable-ipv6
38 export CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration"
40 meson _build \
41 --prefix=/usr \
42 --infodir=/usr/share/info \
43 --mandir=/usr/share/man \
44 -D dbus=disabled \
45 -D libcanberra=enabled \
46 -D with-lua=false \
47 -D plugin=true \
48 -D with-python=false &&
49 ninja -C _build &&
50 ninja -C _build install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 # cp -a $install/usr/share/dbus-1 $fs/usr/share
57 cook_copy_folders bin
58 }