From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7AFC0158089 for ; Fri, 20 Oct 2023 13:14:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BCA682BC176; Fri, 20 Oct 2023 13:14:54 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9983B2BC176 for ; Fri, 20 Oct 2023 13:14:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A866E335D49 for ; Fri, 20 Oct 2023 13:14:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 54B4211E1 for ; Fri, 20 Oct 2023 13:14:52 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1697807676.249ea33f0d34c94ea0b1e42c960962f07708c8f1.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libnotify/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/libnotify/Manifest x11-libs/libnotify/libnotify-0.8.3.ebuild X-VCS-Directories: x11-libs/libnotify/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 249ea33f0d34c94ea0b1e42c960962f07708c8f1 X-VCS-Branch: master Date: Fri, 20 Oct 2023 13:14:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 935e0af9-fe0f-4ae3-be37-eda36ef9b6a1 X-Archives-Hash: 79605e92aa63ecc7f22922b5bec0b33a commit: 249ea33f0d34c94ea0b1e42c960962f07708c8f1 Author: Guillermo Joandet gmail com> AuthorDate: Tue Oct 10 18:36:32 2023 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Fri Oct 20 13:14:36 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=249ea33f x11-libs/libnotify: Version bump to 0.8.3 Add introspection USE dependency for x11-libs/gdk-pixbuf Closes: https://bugs.gentoo.org/906048 Signed-off-by: Guillermo Joandet gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33286 Signed-off-by: Pacho Ramos gentoo.org> x11-libs/libnotify/Manifest | 1 + x11-libs/libnotify/libnotify-0.8.3.ebuild | 71 +++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/x11-libs/libnotify/Manifest b/x11-libs/libnotify/Manifest index 2756a209ea90..e43dd1a98565 100644 --- a/x11-libs/libnotify/Manifest +++ b/x11-libs/libnotify/Manifest @@ -1 +1,2 @@ DIST libnotify-0.8.2.tar.xz 105912 BLAKE2B d014d01e624a072a1a4e60d8606833e790fc9b47a93229486a7c7860d3d90eaae6bcf3f4f78599db8b2c0ed3d35569a1b20d8a8deb08c8fa5be98330b1205f60 SHA512 c9eb0630520382228237ae914654e27ba973efe29a27d040c2462016bd3e0704889aabc5d04d51906951cd404d7edd64262860b7636afd03dd76dedcf1f77cae +DIST libnotify-0.8.3.tar.xz 106008 BLAKE2B 05852c866dc91d42cf01804333605ecb546f7d779b143fabc341752263c8cacea9acda40bb60af90dbc84ab8327ba99966e09924ccc337f7a97909b95d39a874 SHA512 e55073fdf418a4c04375825221edc92ab6a01201b83db2a1f1530f8f91f7da9da32327452b0785251790553517dcc717cfe623142450691b7dd247ec9164cffb 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 +}