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@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Jakov Smolic 2020-11-25 18:37:23 +01:00 committed by David Seifert
parent 922290d495
commit 8a296ea717
No known key found for this signature in database
GPG Key ID: CE36E117202E3842
2 changed files with 19 additions and 5 deletions

View File

@ -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;

View File

@ -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
}