mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-26 00:45:46 +02:00
42 lines
931 B
Bash
42 lines
931 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="Pidgin-libnotify provides popups for pidgin via a libnotify interface"
|
|
HOMEPAGE="https://gaim-libnotify.sourceforge.net/"
|
|
SRC_URI="https://downloads.sourceforge.net/gaim-libnotify/${P}.tar.gz
|
|
mirror://debian/pool/main/p/${PN}/${PN}_${PV}-4.debian.tar.gz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc ~riscv x86"
|
|
IUSE="nls debug"
|
|
|
|
RDEPEND=">=x11-libs/libnotify-0.3.2
|
|
net-im/pidgin[gui]
|
|
x11-libs/gtk+:2"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
PATCHES=(
|
|
"${WORKDIR}/debian/patches"
|
|
"${FILESDIR}/${P}-libnotify-0.7.patch"
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
sed -i -e '/CFLAGS/s:-g3::' configure || die "sed failed"
|
|
}
|
|
|
|
src_configure() {
|
|
econf \
|
|
--disable-static \
|
|
$(use_enable debug) \
|
|
$(use_enable nls)
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
find "${D}" -name '*.la' -delete || die "Pruning failed"
|
|
}
|