commit:     8a296ea717812962ffe8a8aef243e3e8c34646d6
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Wed Nov 25 17:37:23 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Nov 25 17:37:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a296ea7

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 <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../files/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(-)

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 00000000000..12d2cdda8de
--- /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 5a3198f74a1..54ed903d1c5 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
 }

Reply via email to