--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=FLORA
+DIST_VERSION=0.05
+inherit perl-module virtualx
+
+DESCRIPTION="A perl interface to the notification library"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ dev-perl/glib-perl
+ dev-perl/Gtk2
+ >=x11-libs/libnotify-0.7
+"
+DEPEND="${RDEPEND}
+ dev-perl/ExtUtils-Depends
+ dev-perl/ExtUtils-PkgConfig
+ test? ( dev-perl/Test-Exception )
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.05-libnotify.patch )
+
+PERL_RM_FILES=( t/notification.t )
+# the test dies if no notification daemon is present...
+
+src_test() {
+ # bug 416729
+ virtx perl-module_src_test
+}
http://rt.cpan.org/Public/Bug/Display.html?id=67297
http://pkgs.fedoraproject.org/gitweb/?p=perl-Gtk2-Notify.git;a=blob_plain;f=libnotify.patch;hb=HEAD
---- t/notification.t
-+++ t/notification.t
+--- a/t/notification.t
++++ b/t/notification.t
@@ -2,20 +2,18 @@
use strict;
lives_ok(sub {
$n->show;
}, 'show');
---- xs/Notify.xs
-+++ xs/Notify.xs
+--- a/xs/Notify.xs
++++ b/xs/Notify.xs
@@ -86,26 +86,12 @@ notify_get_server_info (class, OUTLIST c
MODULE = Gtk2::Notify PACKAGE = Gtk2::Notify PREFIX = notify_notification_