45 lines
912 B
Bash
45 lines
912 B
Bash
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
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"
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
eautoreconf
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
find "${ED}" -type f -name '*.la' -delete || die
|
|
}
|