1 |
commit: 990baa9260f72cad312523eb8f5f8089cdefcfc2 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 15 21:18:43 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 15 21:18:57 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=990baa92 |
7 |
|
8 |
x11-libs/libnotify: Bump to version 0.7.8 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
x11-libs/libnotify/Manifest | 1 + |
14 |
x11-libs/libnotify/libnotify-0.7.8.ebuild | 58 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 59 insertions(+) |
16 |
|
17 |
diff --git a/x11-libs/libnotify/Manifest b/x11-libs/libnotify/Manifest |
18 |
index 4e7791ed538..9efb114369c 100644 |
19 |
--- a/x11-libs/libnotify/Manifest |
20 |
+++ b/x11-libs/libnotify/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST libnotify-0.7.7.tar.xz 285356 BLAKE2B ace0eedb1beecfbb89726960e441821d64f5ac456dfc6294b051479078726aed6fbacbd1e8cb17578933adbc4c94711b0d69a292778ba4bce096552a5197722b SHA512 133874114407bf12267ef609f5941657181760bc7cf115c5973b1810cb72bf55072b621c143e32be1e7e8b49f244851925d14bc3f9f26457747b8a8695ee9954 |
23 |
+DIST libnotify-0.7.8.tar.xz 108436 BLAKE2B 0a73eabe58faca55e16774cda6f649ab3187bd73a1f87b538d5098f390571a6a34078883dbd2447731d6e4cae315d8286e9e8acc06e85590c8b05a693a83e7f7 SHA512 9973d7a1af5dd7cfbaa0d0d2c9e72a40df9d814967fde47e95763a69690cc4ed32ecf713d75f91f3dff99a693eff9dab963be124e0530ebf231d517a44e75e94 |
24 |
|
25 |
diff --git a/x11-libs/libnotify/libnotify-0.7.8.ebuild b/x11-libs/libnotify/libnotify-0.7.8.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..ff9add88c10 |
28 |
--- /dev/null |
29 |
+++ b/x11-libs/libnotify/libnotify-0.7.8.ebuild |
30 |
@@ -0,0 +1,58 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit gnome.org meson multilib-minimal xdg-utils |
37 |
+ |
38 |
+DESCRIPTION="A library for sending desktop notifications" |
39 |
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libnotify" |
40 |
+ |
41 |
+LICENSE="LGPL-2.1+" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
44 |
+IUSE="+introspection test" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ app-eselect/eselect-notify-send |
48 |
+ >=dev-libs/glib-2.26:2[${MULTILIB_USEDEP}] |
49 |
+ x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] |
50 |
+ introspection? ( >=dev-libs/gobject-introspection-1.32:= ) |
51 |
+" |
52 |
+DEPEND="${RDEPEND}" |
53 |
+BDEPEND=" |
54 |
+ >=dev-libs/gobject-introspection-common-1.32 |
55 |
+ dev-util/glib-utils |
56 |
+ virtual/pkgconfig |
57 |
+ test? ( x11-libs/gtk+:3[${MULTILIB_USEDEP}] ) |
58 |
+" |
59 |
+PDEPEND="virtual/notification-daemon" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ xdg_environment_reset |
64 |
+} |
65 |
+ |
66 |
+multilib_src_configure() { |
67 |
+ local emesonargs=( |
68 |
+ -Dtests="$(usex test true false)" |
69 |
+ -Dintrospection="$(multilib_native_usex introspection enabled disabled)" |
70 |
+ -Dgtk_doc=false |
71 |
+ -Ddocbook_docs=disabled |
72 |
+ ) |
73 |
+ meson_src_configure |
74 |
+} |
75 |
+ |
76 |
+multilib_src_install() { |
77 |
+ meson_src_install |
78 |
+ |
79 |
+ mv "${ED}"/usr/bin/{,libnotify-}notify-send || die #379941 |
80 |
+} |
81 |
+ |
82 |
+pkg_postinst() { |
83 |
+ eselect notify-send update ifunset |
84 |
+} |
85 |
+ |
86 |
+pkg_postrm() { |
87 |
+ eselect notify-send update ifunset |
88 |
+} |