summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2018-05-30 19:37:16 -0400
committerAaron Bauman <bman@gentoo.org>2018-05-31 08:57:04 -0400
commitb60ea7735b532e5cf4575e6c0779e7e14906ec68 (patch)
tree584ea6e22481fa3955264cd453bb4ed91f46a29f /x11-plugins
parentnet-p2p/xmr-stak: 2.4.4 version bump (diff)
downloadgentoo-b60ea7735b532e5cf4575e6c0779e7e14906ec68.tar.gz
gentoo-b60ea7735b532e5cf4575e6c0779e7e14906ec68.tar.bz2
gentoo-b60ea7735b532e5cf4575e6c0779e7e14906ec68.zip
x11-plugins/pidgin-libnotify: bump EAPI and drop eutils
Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/8649
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/pidgin-libnotify/files/pidgin-libnotify-0.14-libnotify-0.7.patch4
-rw-r--r--x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14-r1.ebuild20
2 files changed, 13 insertions, 11 deletions
diff --git a/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-0.14-libnotify-0.7.patch b/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-0.14-libnotify-0.7.patch
index 40e6c02b8152..7279c3ad7eaa 100644
--- a/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-0.14-libnotify-0.7.patch
+++ b/x11-plugins/pidgin-libnotify/files/pidgin-libnotify-0.14-libnotify-0.7.patch
@@ -1,5 +1,5 @@
---- src/pidgin-libnotify.c
-+++ src/pidgin-libnotify.c
+--- a/src/pidgin-libnotify.c
++++ b/src/pidgin-libnotify.c
@@ -286,7 +286,15 @@
g_free (tr_body);
return;
diff --git a/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14-r1.ebuild b/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14-r1.ebuild
index 325a0607571e..17b95492ef40 100644
--- a/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14-r1.ebuild
+++ b/x11-plugins/pidgin-libnotify/pidgin-libnotify-0.14-r1.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=2
-inherit eutils
+EAPI=6
DESCRIPTION="pidgin-libnotify provides popups for pidgin via a libnotify interface"
HOMEPAGE="http://gaim-libnotify.sourceforge.net/"
@@ -20,10 +19,14 @@ RDEPEND=">=x11-libs/libnotify-0.3.2
DEPEND="${RDEPEND}
virtual/pkgconfig"
+PATCHES=(
+ "${WORKDIR}/debian/patches"
+ "${FILESDIR}/${P}-libnotify-0.7.patch"
+)
+
src_prepare() {
- EPATCH_FORCE=yes EPATCH_SUFFIX=diff epatch "${WORKDIR}"/debian/patches
- epatch "${FILESDIR}"/${P}-libnotify-0.7.patch
- sed -i -e '/CFLAGS/s:-g3::' configure || die
+ default
+ sed -i -e '/CFLAGS/s:-g3::' configure || die "sed failed"
}
src_configure() {
@@ -34,7 +37,6 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${D}" install || die
- find "${D}" -name '*.la' -exec rm -f {} +
- dodoc AUTHORS ChangeLog NEWS README TODO VERSION || die
+ default
+ find "${D}" -name '*.la' -delete || die "Pruning failed"
}