mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-23 23:48:22 +02:00
Thanks to Alexander Bezrukov. Closes: https://bugs.gentoo.org/934888 Closes: https://bugs.gentoo.org/944783 Signed-off-by: Sam James <sam@gentoo.org>
37 lines
910 B
Bash
37 lines
910 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="Plugin for Pidgin that reminds you of your buddies birthdays"
|
|
HOMEPAGE="https://github.com/kgraefe/pidgin-birthday-reminder"
|
|
SRC_URI="https://github.com/kgraefe/pidgin-birthday-reminder/releases/download/v${PV}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~riscv x86"
|
|
IUSE="static-libs"
|
|
|
|
RDEPEND="net-im/pidgin:=[gui]"
|
|
DEPEND="${RDEPEND}
|
|
dev-util/intltool
|
|
sys-devel/gettext
|
|
virtual/pkgconfig"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-1.13-includes.patch
|
|
)
|
|
|
|
src_configure() {
|
|
econf \
|
|
$(use_enable static-libs static)
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
mkdir "${D}/usr/share/metainfo"
|
|
mv "${D}/usr/share/appdata/pidgin-birthday-reminder.metainfo.xml" "${D}/usr/share/metainfo/"
|
|
if ! use static-libs ; then
|
|
find "${D}" -type f -name '*.la' -delete || die "la removal failed"
|
|
fi
|
|
}
|