diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-07-17 19:00:59 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-07-17 19:07:53 -0700 |
commit | 2acf98891472e30d0cdd49ba40d4e9d86f6678c9 (patch) | |
tree | c16f6d854f85387c6db12f1862686dc8ac4e545c /x11-libs | |
parent | net-misc/yt-dlp: add 2022.7.18 (diff) | |
download | gentoo-2acf98891472e30d0cdd49ba40d4e9d86f6678c9.tar.gz gentoo-2acf98891472e30d0cdd49ba40d4e9d86f6678c9.tar.bz2 gentoo-2acf98891472e30d0cdd49ba40d4e9d86f6678c9.zip |
x11-libs/libnotify: Version bump to 0.8.1
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/libnotify/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/libnotify/libnotify-0.8.1.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/x11-libs/libnotify/Manifest b/x11-libs/libnotify/Manifest index a4f4ec8330e4..5147622da10c 100644 --- a/x11-libs/libnotify/Manifest +++ b/x11-libs/libnotify/Manifest @@ -1,3 +1,4 @@ DIST libnotify-0.7.12.tar.xz 102032 BLAKE2B fc0c0f377bf86cb9a7d3e080cf0aa23fa287a9199656d403624925208d86390e96f62d4c41f4b457efd403139f1bad52ff5fdd2c0cb3270c0abc82957b2634cf SHA512 1ddbdc2ea7ba653ea54169db9ed3d471f6e3421ef29e486c9b8d36837a655bcd613d0f07a8cf1253b87c42a2651e2f1634145622d8624d91e4223452deb99f1b DIST libnotify-0.7.9.tar.xz 98148 BLAKE2B 4728d00a204cd1003e8171a54c23bb975c0477c245c1175558f27555763113ec8bd7abd7ef81f6bad2b98604efe436d843958e77473436e68560775804473383 SHA512 8a842b50777279efdb7d96a836a546c47decad158a4f03f7ffc818860d1f6276a657619e4f4a19a4e2f5ad55e0371c793420d50d802983700e8c342273b73874 DIST libnotify-0.8.0.tar.xz 105288 BLAKE2B fc1897896d0f0d1bc13c63717ea050eb05da98979257970d57f780b9602b43b3449211424ee5e116eae957438ccb43a3dfa78935eeca9bc27a729be9e2b4e804 SHA512 17fc2e8bb9a61560e796b9e4258ebb56e303e285fa0c5a58f5dbddc0a5493e6f8474d24c1f0a34178810385e9f1d33ddba027b9c0f4364d83ddb57d4f5d78f56 +DIST libnotify-0.8.1.tar.xz 105368 BLAKE2B 840b56941e9773b4db5ce1ffba7ca3fc04e76877349c53ed1c985acf7405a575bc9709e0255edf4562b5596de97fcd7e9dbef32d99bc853b94b203a7da0c03e4 SHA512 464b7ff9f2f6268919f336bd9c6f8c243c29282ba6ada7e491ab514b3630977a319dfa522705c68e17fff2d87effc75e009d656bc46c5e92917ad64e66b25320 diff --git a/x11-libs/libnotify/libnotify-0.8.1.ebuild b/x11-libs/libnotify/libnotify-0.8.1.ebuild new file mode 100644 index 000000000000..f91fcaa55488 --- /dev/null +++ b/x11-libs/libnotify/libnotify-0.8.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 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 ~x86-solaris" +IUSE="gtk-doc +introspection test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] + x11-libs/gdk-pixbuf:2[${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/gtk-doc + 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() { + meson_src_install + + mv "${ED}"/usr/bin/{,libnotify-}notify-send || die #379941 +} + +pkg_postinst() { + eselect notify-send update ifunset +} + +pkg_postrm() { + eselect notify-send update ifunset +} |