summaryrefslogtreecommitdiff
path: root/x11-libs/libnotify
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/libnotify')
-rw-r--r--x11-libs/libnotify/Manifest2
-rw-r--r--x11-libs/libnotify/libnotify-0.8.3.ebuild71
2 files changed, 73 insertions, 0 deletions
diff --git a/x11-libs/libnotify/Manifest b/x11-libs/libnotify/Manifest
index c44ce3374cd7..b436cb8c35da 100644
--- a/x11-libs/libnotify/Manifest
+++ b/x11-libs/libnotify/Manifest
@@ -1,3 +1,5 @@
DIST libnotify-0.8.2.tar.xz 105912 BLAKE2B d014d01e624a072a1a4e60d8606833e790fc9b47a93229486a7c7860d3d90eaae6bcf3f4f78599db8b2c0ed3d35569a1b20d8a8deb08c8fa5be98330b1205f60 SHA512 c9eb0630520382228237ae914654e27ba973efe29a27d040c2462016bd3e0704889aabc5d04d51906951cd404d7edd64262860b7636afd03dd76dedcf1f77cae
+DIST libnotify-0.8.3.tar.xz 106008 BLAKE2B 05852c866dc91d42cf01804333605ecb546f7d779b143fabc341752263c8cacea9acda40bb60af90dbc84ab8327ba99966e09924ccc337f7a97909b95d39a874 SHA512 e55073fdf418a4c04375825221edc92ab6a01201b83db2a1f1530f8f91f7da9da32327452b0785251790553517dcc717cfe623142450691b7dd247ec9164cffb
EBUILD libnotify-0.8.2.ebuild 1654 BLAKE2B 58915e1f91d5b0fbb6b69020f8957d4f6de54b329e403f74d41b0ac13ddf3aa63e8c48f5809b8e029e213974aebcdbab1914521c8712670bf343cee5d7186bd5 SHA512 66b791b5b88e3986ed894a055bcea06ec675c1c02a6b4a0d98c5262971b05c2b1d51339d716ee3d1c509ef15a23779baec7faeab8b07e59d9e684ff99807e729
+EBUILD libnotify-0.8.3.ebuild 1676 BLAKE2B eaac06b086d50c7c664de7ae0471969ead93ba2b1004bcd8f6a76f8b37d10f151414898909897d1821cce3aac74f16b6648a2535a03f8a3569ddd480dff7e72b SHA512 07b2dd1643bb4ab9bff4108f8b64f1611647be188f9749b61e010e22b19999f59b319b5cc609d6bd2423986b75b4f565d3f09efd9509cd5cb0ca436643652df4
MISC metadata.xml 487 BLAKE2B 9ca610c8e5775a9daf61254bdf6364bf8e2df0646c48c78e1178b5232faa1711c7a2cc85943dc8078b92c59b3d4d2a65525d4adc60d2fc323048c264b9495996 SHA512 7f1d6337756480c08fb487ec9115fe2ed7b7cae248fdb751fb3cb49c301807deb02b879e3ec8c275bef87d33c8eb853d6f9a16d72e6fcafb47446d8f634b2fa9
diff --git a/x11-libs/libnotify/libnotify-0.8.3.ebuild b/x11-libs/libnotify/libnotify-0.8.3.ebuild
new file mode 100644
index 000000000000..46c43571f49a
--- /dev/null
+++ b/x11-libs/libnotify/libnotify-0.8.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org meson-multilib xdg-utils
+
+DESCRIPTION="A library for sending desktop notifications"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libnotify"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="gtk-doc +introspection test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="gtk-doc? ( introspection )"
+
+RDEPEND="
+ >=dev-libs/glib-2.62:2[${MULTILIB_USEDEP}]
+ x11-libs/gdk-pixbuf:2[introspection?,${MULTILIB_USEDEP}]
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=dev-libs/gobject-introspection-common-1.32
+ dev-util/glib-utils
+ virtual/pkgconfig
+ app-text/docbook-xsl-ns-stylesheets
+ dev-libs/libxslt
+ gtk-doc? (
+ dev-util/gi-docgen
+ app-text/docbook-xml-dtd:4.1.2
+ )
+ test? ( x11-libs/gtk+:3[${MULTILIB_USEDEP}] )
+"
+IDEPEND="app-eselect/eselect-notify-send"
+PDEPEND="virtual/notification-daemon"
+
+src_prepare() {
+ default
+ xdg_environment_reset
+}
+
+multilib_src_configure() {
+ local emesonargs=(
+ $(meson_use test tests)
+ $(meson_native_use_feature introspection)
+ $(meson_native_use_bool gtk-doc gtk_doc)
+ -Ddocbook_docs=disabled
+ )
+ meson_src_configure
+}
+
+multilib_src_install_all() {
+ mv "${ED}"/usr/bin/{,libnotify-}notify-send || die #379941
+
+ einstalldocs
+
+ if use gtk-doc; then
+ mkdir -p "${ED}"/usr/share/gtk-doc/ || die
+ mv "${ED}"/usr/share/{doc,gtk-doc}/libnotify-0 || die
+ fi
+}
+
+pkg_postinst() {
+ eselect notify-send update ifunset
+}
+
+pkg_postrm() {
+ eselect notify-send update ifunset
+}