Files
sablink-distro/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14-r1.ebuild
T
Ian Whyman 5e80f3bc03 [x11-plugins/pidgin-libnotify] Fix Notify OSD support and Name choice, add file transfers notifications and an option to hide message content.
A collection of patches submitted to the (dead?) upstream, this ebuild can be
removed once the packages are merged upstream (if ever)

* fix-notify-osd.diff
Source: Debian Package
Needed to work with Notify OSD correctly.

* no_text_in_messages.diff
Source: Thev00d00 - Version of patch found on SF, Adds an option to not show
the message content in the notification to improve privacy if needed, fixed
to work with 0.14

* notify_file_transfers.diff
Source: Sourceforge patches page
Enables file transfer notifications

* pidgin-libnotify_best_name.diff
Source: Thev00d00,
A version of the same patch on SF to use what libpurple thinks is the most
appropriate name rather than its own logic, fixed to work with 0.14
2010-12-29 22:21:11 +00:00

56 lines
1.5 KiB
Bash

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
EAPI="2"
inherit eutils
DESCRIPTION="pidgin-libnotify provides popups for pidgin via a libnotify interface"
HOMEPAGE="http://gaim-libnotify.sourceforge.net/"
SRC_URI="mirror://sourceforge/gaim-libnotify/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="nls debug"
RDEPEND=">=x11-libs/libnotify-0.3.2
net-im/pidgin[gtk]
>=x11-libs/gtk+-2"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_prepare() {
epatch "${FILESDIR}"/pidgin-libnotify-showbutton.patch
# A collection of patches submitted to the (dead?) upstream
# Source: Debian
# needed to work with Notify OSD correctly.
epatch "${FILESDIR}"/fix-notify-osd.diff
# Source: Thev00d00
# A version of the same patch found on ${HOMEPAGE}
# Adds an option to not show the message content in the message
epatch "${FILESDIR}"/no_text_in_messages.diff
# Source: Sourceforge patches page
# Enables file transfer notifications
epatch "${FILESDIR}"/notify_file_transfers.diff
# Source: Thev00d00,
# A version of the same patch found on ${HOMEPAGE}
# Use what Purple thinks is the most appropriate name
epatch "${FILESDIR}"/pidgin-libnotify_best_name.diff
}
src_configure() {
econf \
--disable-static \
$(use_enable debug) \
$(use_enable nls)
}
src_install() {
emake install DESTDIR="${D}" || die "make install failed"
find "${D}" -name '*.la' -delete
dodoc AUTHORS ChangeLog INSTALL NEWS README TODO VERSION || die
}