diff --git a/hexchat/.footprint b/hexchat/.footprint new file mode 100644 index 000000000..45256848d --- /dev/null +++ b/hexchat/.footprint @@ -0,0 +1,35 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/hexchat +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/hexchat-plugin.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/hexchat/ +drwxr-xr-x root/root usr/lib/hexchat/plugins/ +-rwxr-xr-x root/root usr/lib/hexchat/plugins/checksum.so +-rwxr-xr-x root/root usr/lib/hexchat/plugins/fishlim.so +-rwxr-xr-x root/root usr/lib/hexchat/plugins/perl.so +-rwxr-xr-x root/root usr/lib/hexchat/plugins/python.so +-rwxr-xr-x root/root usr/lib/hexchat/plugins/sysinfo.so +drwxr-xr-x root/root usr/lib/hexchat/python/ +-rw-r--r-- root/root usr/lib/hexchat/python/_hexchat.py +-rw-r--r-- root/root usr/lib/hexchat/python/hexchat.py +-rw-r--r-- root/root usr/lib/hexchat/python/xchat.py +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/hexchat-plugin.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/io.github.Hexchat.desktop +drwxr-xr-x root/root usr/share/icons/ +drwxr-xr-x root/root usr/share/icons/hicolor/ +drwxr-xr-x root/root usr/share/icons/hicolor/48x48/ +drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/io.github.Hexchat.png +drwxr-xr-x root/root usr/share/icons/hicolor/scalable/ +drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/io.github.Hexchat.svg +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/hexchat.1.gz +drwxr-xr-x root/root usr/share/metainfo/ +-rw-r--r-- root/root usr/share/metainfo/io.github.Hexchat.appdata.xml diff --git a/hexchat/.signature b/hexchat/.signature new file mode 100644 index 000000000..f68162355 --- /dev/null +++ b/hexchat/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3013ZvnRnwfEBCFj84T1d27iP28bbQhJVuIRQDdqY0/5Bbse3pFv+HpycHy+jIxWWSS348R0ZmTZ+qD2tutCDA0= +SHA256 (Pkgfile) = 882e776807268e215be8599569bd1bfe92c364c6f29b76897f68185b470ad392 +SHA256 (.footprint) = 1128f3865497966bb9cc536d9d1532b9eb22a1752ecba04b2a394ac791b9c00d +SHA256 (hexchat-2.16.1.tar.xz) = a7e497da71df419daf9855582d51c723a2611de25d5e97b5efc33fe78da5c4c7 diff --git a/hexchat/Pkgfile b/hexchat/Pkgfile new file mode 100644 index 000000000..0e79211d9 --- /dev/null +++ b/hexchat/Pkgfile @@ -0,0 +1,29 @@ +# Description: GTK+ based IRC client +# URL: https://hexchat.github.io/ +# Maintainer: unmaintained +# Depends on: gtk iso-codes python3-cffi xorg-libxdamage +# Optional: dbus-glib desktop-file-utils enchant libcanberra libnotify libproxy lua pciutils + +name=hexchat +version=2.16.1 +release=1 +source=(https://dl.hexchat.net/hexchat/$name-$version.tar.xz) + +build() { + prt-get isinst lua && PKGMK_HEXCHAT+=' -D with-lua=lua' || PKGMK_HEXCHAT+=' -D with-lua=false' + prt-get isinst libcanberra || PKGMK_HEXCHAT+=' -D libcanberra=disabled' + prt-get isinst dbus-glib || PKGMK_HEXCHAT+=' -D dbus=disabled' + + prt-get isinst pciutils && PKGMK_HEXCHAT+=' -Dwith-sysinfo=true' + + meson setup build $name-$version $PKGMK_HEXCHAT \ + --prefix=/usr \ + --buildtype=plain \ + --wrap-mode nodownload \ + -D b_lto=true \ + -D b_pie=true + meson compile -C build -j ${JOBS:-1} + DESTDIR=$PKG meson install -C build + + rm -r $PKG/usr/share/locale +}