# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit meson poly-c_ebuilds DESCRIPTION="GTK+ IRC client" HOMEPAGE="https://zoitechat.org/" if [[ ${PV} == *9999 ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/ZoiteChat/zoitechat.git" else SRC_URI="https://github.com/ZoiteChat/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz" KEYWORDS="~amd64" fi LICENSE="GPL-2" SLOT="0" IUSE="appindicator dbus libcanberra perl ssl" #S="${WORKDIR}/${PN}-${MY_P}" RDEPEND=" app-arch/libarchive app-crypt/libsecret dev-libs/glib:2 sys-apps/pciutils x11-libs/cairo x11-libs/gtk+:3 x11-libs/libX11 x11-libs/pango appindicator? ( dev-libs/libayatana-appindicator ) dbus? ( sys-apps/dbus ) libcanberra? ( media-libs/libcanberra ) perl? ( dev-lang/perl ) ssl? ( dev-libs/openssl:= ) " DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${PN}-2.18.3-no_psl.patch ) src_configure() { local emesonargs=( -Dplugin=true -Dwith-checksum=true -Dwith-fishlim=$(usex ssl true false) -Dwith-lua=false -Dwith-perl=$(usex perl true false) -Dwith-python=false -Dwith-sysinfo=true $(meson_feature appindicator) $(meson_feature dbus) $(meson_feature libcanberra) $(meson_feature ssl tls) # Flakpak options -Ddbus-service-use-appid=false -Dinstall-appdata=false # exec and upd are Windows only -Dwith-exec=false -Dwith-upd=false ) meson_src_configure }