# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # $Id: dba9659c6757e7ebbd13c67405079304df65233f $ EAPI=8 inherit autotools xdg DESCRIPTION="AppIndicator/KStatusNotifierItem plugin for Pidgin" HOMEPAGE="https://github.com/philipl/pidgin-indicator" SRC_URI="https://github.com/philipl/pidgin-indicator/releases/download/${PV}/${P}.tar.bz2" LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 ~riscv" IUSE="" # No direct gtk3 until pidgin migrates: # https://github.com/philipl/pidgin-indicator/issues/32 RDEPEND=" dev-libs/libayatana-appindicator net-im/pidgin[gtk] x11-libs/gtk+:2 " DEPEND="${RDEPEND} dev-perl/XML-Parser " BDEPEND=" dev-util/intltool sys-devel/gettext virtual/pkgconfig " PATCHES=( "${FILESDIR}/${P}-appindicator3.patch" "${FILESDIR}/${P}-ayatana-indicator.patch" "${FILESDIR}/${P}-gcc14.patch" ) src_prepare() { default eautoreconf } src_install() { default find "${ED}" -type f -name '*.la' -delete || die }