gentoo-ebuilds/x11-plugins/pidgin-birthday-reminder/pidgin-birthday-reminder-1.13-r2.ebuild
Sam James 744be65431
x11-plugins/pidgin-birthday-reminder: fix include paths
Thanks to Alexander Bezrukov.

Closes: https://bugs.gentoo.org/934888
Closes: https://bugs.gentoo.org/944783
Signed-off-by: Sam James <sam@gentoo.org>
2025-03-25 05:34:24 +00:00

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
}