From 8a296ea717812962ffe8a8aef243e3e8c34646d6 Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Wed, 25 Nov 2020 18:37:23 +0100 Subject: [PATCH] x11-plugins/purple-libnotify-plus: port to EAPI 7 Closes: https://bugs.gentoo.org/717422 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic Signed-off-by: David Seifert --- .../purple-libnotify-plus-2.99.1-fno-common.patch | 11 +++++++++++ .../purple-libnotify-plus-2.99.1.ebuild | 13 ++++++++----- 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 x11-plugins/purple-libnotify-plus/files/purple-libnotify-plus-2.99.1-fno-common.patch diff --git a/x11-plugins/purple-libnotify-plus/files/purple-libnotify-plus-2.99.1-fno-common.patch b/x11-plugins/purple-libnotify-plus/files/purple-libnotify-plus-2.99.1-fno-common.patch new file mode 100644 index 0000000000000..12d2cdda8de62 --- /dev/null +++ b/x11-plugins/purple-libnotify-plus/files/purple-libnotify-plus-2.99.1-fno-common.patch @@ -0,0 +1,11 @@ +--- a/src/purple-libnotify+-common.h ++++ b/src/purple-libnotify+-common.h +@@ -27,7 +27,7 @@ + + extern PurplePlugin *notify_plus; + +-struct ++extern struct + { + gboolean modify_notification; + gboolean use_svg; diff --git a/x11-plugins/purple-libnotify-plus/purple-libnotify-plus-2.99.1.ebuild b/x11-plugins/purple-libnotify-plus/purple-libnotify-plus-2.99.1.ebuild index 5a3198f74a140..54ed903d1c515 100644 --- a/x11-plugins/purple-libnotify-plus/purple-libnotify-plus-2.99.1.ebuild +++ b/x11-plugins/purple-libnotify-plus/purple-libnotify-plus-2.99.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit autotools eutils +inherit autotools DESCRIPTION="Provide libnotify interface to Pidgin and Finch" HOMEPAGE="http://purple-libnotify-plus.sardemff7.net/" @@ -12,18 +12,21 @@ SRC_URI="https://github.com/sardemff7/purple-libnotify-plus/archive/v${PV}.tar.g LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" RDEPEND=" net-im/pidgin >=net-im/purple-events-0.99.1 x11-libs/gdk-pixbuf >=x11-libs/libnotify-0.7.0" -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" dev-util/intltool sys-devel/gettext virtual/pkgconfig" +PATCHES=( "${FILESDIR}"/${P}-fno-common.patch ) + src_prepare() { + default eautoreconf }