Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libnotify/
Date: Tue, 03 May 2022 19:00:44
Message-Id: 1651604432.27e6fb475ab6664a0205760247e22f609f3e4444.mattst88@gentoo
1 commit: 27e6fb475ab6664a0205760247e22f609f3e4444
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 3 18:45:53 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue May 3 19:00:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27e6fb47
7
8 x11-libs/libnotify: Version bump to 0.7.11
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-libs/libnotify/Manifest | 1 +
13 x11-libs/libnotify/libnotify-0.7.11.ebuild | 63 ++++++++++++++++++++++++++++++
14 x11-libs/libnotify/metadata.xml | 4 ++
15 3 files changed, 68 insertions(+)
16
17 diff --git a/x11-libs/libnotify/Manifest b/x11-libs/libnotify/Manifest
18 index bc7c99eeb75d..ac48bb595cc4 100644
19 --- a/x11-libs/libnotify/Manifest
20 +++ b/x11-libs/libnotify/Manifest
21 @@ -1,2 +1,3 @@
22 +DIST libnotify-0.7.11.tar.xz 101616 BLAKE2B 202456000bc092707e171dfd3ba06b46ac2bd7b222e2dd70540c17eda32639369cf9af2e275a49ea3a0859598d271cdd733b68ff66ed2c30d3c0987fa6de6a97 SHA512 1e96b88278fb5e941dc691a7bbb83ea7fbc46d7873e7e10d988cd44dd83fcd678956bf9e5cd2f5533cf316b2a23354161c80a5b12299eb119a3f5697e4935ed7
23 DIST libnotify-0.7.8.tar.xz 108436 BLAKE2B 0a73eabe58faca55e16774cda6f649ab3187bd73a1f87b538d5098f390571a6a34078883dbd2447731d6e4cae315d8286e9e8acc06e85590c8b05a693a83e7f7 SHA512 9973d7a1af5dd7cfbaa0d0d2c9e72a40df9d814967fde47e95763a69690cc4ed32ecf713d75f91f3dff99a693eff9dab963be124e0530ebf231d517a44e75e94
24 DIST libnotify-0.7.9.tar.xz 98148 BLAKE2B 4728d00a204cd1003e8171a54c23bb975c0477c245c1175558f27555763113ec8bd7abd7ef81f6bad2b98604efe436d843958e77473436e68560775804473383 SHA512 8a842b50777279efdb7d96a836a546c47decad158a4f03f7ffc818860d1f6276a657619e4f4a19a4e2f5ad55e0371c793420d50d802983700e8c342273b73874
25
26 diff --git a/x11-libs/libnotify/libnotify-0.7.11.ebuild b/x11-libs/libnotify/libnotify-0.7.11.ebuild
27 new file mode 100644
28 index 000000000000..b2f00994e9f7
29 --- /dev/null
30 +++ b/x11-libs/libnotify/libnotify-0.7.11.ebuild
31 @@ -0,0 +1,63 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit gnome.org meson-multilib xdg-utils
38 +
39 +DESCRIPTION="A library for sending desktop notifications"
40 +HOMEPAGE="https://gitlab.gnome.org/GNOME/libnotify"
41 +
42 +LICENSE="LGPL-2.1+"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
45 +IUSE="gtk-doc +introspection test"
46 +RESTRICT="!test? ( test )"
47 +
48 +RDEPEND="
49 + >=dev-libs/glib-2.26:2[${MULTILIB_USEDEP}]
50 + x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
51 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
52 +"
53 +DEPEND="${RDEPEND}"
54 +BDEPEND="
55 + >=dev-libs/gobject-introspection-common-1.32
56 + dev-util/glib-utils
57 + virtual/pkgconfig
58 + app-text/docbook-xsl-ns-stylesheets
59 + dev-libs/libxslt
60 + gtk-doc? ( dev-util/gtk-doc
61 + app-text/docbook-xml-dtd:4.1.2 )
62 + test? ( x11-libs/gtk+:3[${MULTILIB_USEDEP}] )
63 +"
64 +IDEPEND="app-eselect/eselect-notify-send"
65 +PDEPEND="virtual/notification-daemon"
66 +
67 +src_prepare() {
68 + default
69 + xdg_environment_reset
70 +}
71 +
72 +multilib_src_configure() {
73 + local emesonargs=(
74 + $(meson_use test tests)
75 + $(meson_native_use_feature introspection)
76 + $(meson_native_use_bool gtk-doc gtk_doc)
77 + -Ddocbook_docs=disabled
78 + )
79 + meson_src_configure
80 +}
81 +
82 +multilib_src_install() {
83 + meson_src_install
84 +
85 + mv "${ED}"/usr/bin/{,libnotify-}notify-send || die #379941
86 +}
87 +
88 +pkg_postinst() {
89 + eselect notify-send update ifunset
90 +}
91 +
92 +pkg_postrm() {
93 + eselect notify-send update ifunset
94 +}
95
96 diff --git a/x11-libs/libnotify/metadata.xml b/x11-libs/libnotify/metadata.xml
97 index 76d4eb294b39..63b6d8453c24 100644
98 --- a/x11-libs/libnotify/metadata.xml
99 +++ b/x11-libs/libnotify/metadata.xml
100 @@ -1,6 +1,10 @@
101 <?xml version="1.0" encoding="UTF-8"?>
102 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
103 <pkgmetadata>
104 + <maintainer type="project">
105 + <email>gnome@g.o</email>
106 + <name>Gentoo GNOME Desktop</name>
107 + </maintainer>
108 <maintainer type="project">
109 <email>freedesktop-bugs@g.o</email>
110 <name>Gentoo Freedesktop Project</name>