1 |
commit: 5d6af53dda7f1df8007f4e02dab8e86abf72fecb |
2 |
Author: David Michael <fedora.dm0 <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jun 13 23:56:05 2021 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 2 15:54:42 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d6af53d |
7 |
|
8 |
x11-libs/libnotify: EAPI 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/795873 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
12 |
Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com> |
13 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
14 |
|
15 |
x11-libs/libnotify/libnotify-0.7.9-r1.ebuild | 63 ++++++++++++++++++++++++++++ |
16 |
1 file changed, 63 insertions(+) |
17 |
|
18 |
diff --git a/x11-libs/libnotify/libnotify-0.7.9-r1.ebuild b/x11-libs/libnotify/libnotify-0.7.9-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..5661bbbbf60 |
21 |
--- /dev/null |
22 |
+++ b/x11-libs/libnotify/libnotify-0.7.9-r1.ebuild |
23 |
@@ -0,0 +1,63 @@ |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=8 |
28 |
+ |
29 |
+inherit gnome.org meson-multilib xdg-utils |
30 |
+ |
31 |
+DESCRIPTION="A library for sending desktop notifications" |
32 |
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libnotify" |
33 |
+ |
34 |
+LICENSE="LGPL-2.1+" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" |
37 |
+IUSE="gtk-doc +introspection test" |
38 |
+RESTRICT="!test? ( test )" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ >=dev-libs/glib-2.26:2[${MULTILIB_USEDEP}] |
42 |
+ x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] |
43 |
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= ) |
44 |
+" |
45 |
+DEPEND="${RDEPEND}" |
46 |
+BDEPEND=" |
47 |
+ >=dev-libs/gobject-introspection-common-1.32 |
48 |
+ dev-util/glib-utils |
49 |
+ virtual/pkgconfig |
50 |
+ app-text/docbook-xsl-ns-stylesheets |
51 |
+ dev-libs/libxslt |
52 |
+ gtk-doc? ( dev-util/gtk-doc |
53 |
+ app-text/docbook-xml-dtd:4.1.2 ) |
54 |
+ test? ( x11-libs/gtk+:3[${MULTILIB_USEDEP}] ) |
55 |
+" |
56 |
+IDEPEND="app-eselect/eselect-notify-send" |
57 |
+PDEPEND="virtual/notification-daemon" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ default |
61 |
+ xdg_environment_reset |
62 |
+} |
63 |
+ |
64 |
+multilib_src_configure() { |
65 |
+ local emesonargs=( |
66 |
+ $(meson_use test tests) |
67 |
+ $(meson_native_use_feature introspection) |
68 |
+ $(meson_native_use_bool gtk-doc gtk_doc) |
69 |
+ -Ddocbook_docs=disabled |
70 |
+ ) |
71 |
+ meson_src_configure |
72 |
+} |
73 |
+ |
74 |
+multilib_src_install() { |
75 |
+ meson_src_install |
76 |
+ |
77 |
+ mv "${ED}"/usr/bin/{,libnotify-}notify-send || die #379941 |
78 |
+} |
79 |
+ |
80 |
+pkg_postinst() { |
81 |
+ eselect notify-send update ifunset |
82 |
+} |
83 |
+ |
84 |
+pkg_postrm() { |
85 |
+ eselect notify-send update ifunset |
86 |
+} |