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 D60BB158003 for ; Sun, 10 Jul 2022 19:59:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A0DCE0C58; Sun, 10 Jul 2022 19:59:13 +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 DDF0FE0C58 for ; Sun, 10 Jul 2022 19:59:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 CBD85340B1E for ; Sun, 10 Jul 2022 19:59:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 327711E for ; Sun, 10 Jul 2022 19:59:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1657483144.7d720afe07de3ae029931c2a7c4bc1b4588e8d48.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gtk-vnc/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/gtk-vnc/Manifest net-libs/gtk-vnc/gtk-vnc-1.3.0-r1.ebuild X-VCS-Directories: net-libs/gtk-vnc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7d720afe07de3ae029931c2a7c4bc1b4588e8d48 X-VCS-Branch: master Date: Sun, 10 Jul 2022 19:59:10 +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: 62fdc11a-9002-4c20-b3a7-dd3fbfcef4c9 X-Archives-Hash: 4b0047a65144fca6053da199f943e4b7 commit: 7d720afe07de3ae029931c2a7c4bc1b4588e8d48 Author: Sam James gentoo org> AuthorDate: Sun Jul 10 19:58:36 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jul 10 19:59:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d720afe net-libs/gtk-vnc: fix build w/ meson 0.63 Closes: https://bugs.gentoo.org/846467 Thanks-to: Alexandre Ferreira gmail.com> Signed-off-by: Sam James gentoo.org> net-libs/gtk-vnc/Manifest | 1 + net-libs/gtk-vnc/gtk-vnc-1.3.0-r1.ebuild | 64 ++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/net-libs/gtk-vnc/Manifest b/net-libs/gtk-vnc/Manifest index 33c4db829efa..5eb0dc70e300 100644 --- a/net-libs/gtk-vnc/Manifest +++ b/net-libs/gtk-vnc/Manifest @@ -1 +1,2 @@ +DIST gtk-vnc-1.3.0-meson-0.63.patch.xz 5328 BLAKE2B d671622ad02bb253c6648515005db12306f9a093d8c26db12faa6a549397b0d18a696cdca5cf4eaead9d70fb827dc8f1715ba95051e11bc604f3af41821c6c19 SHA512 4ed806de86ac8c6773621d276f35e592f1f3e03c4f610d1386426833f345f1aac113dc31e24e86f93a4122d2fb49d00daa7f3df6883944c567daa4cda62c9249 DIST gtk-vnc-1.3.0.tar.xz 220488 BLAKE2B ea5070cc396fe4ef52fe980b766658f1a4f82eb7dec52856ab79836363c8fdb48827d52c0df7edb2c943f5087fcfd87898aa43457f7cbf5a544a4c7063f84f3d SHA512 ff25c19a1cbd4588990f1f3a2448fd2e0b694b933ca1a7be9565188db78055efe13f90ad1243bf8237d6a29d38987d7b3e77344e50d09191207b09200b01f5df diff --git a/net-libs/gtk-vnc/gtk-vnc-1.3.0-r1.ebuild b/net-libs/gtk-vnc/gtk-vnc-1.3.0-r1.ebuild new file mode 100644 index 000000000000..25489f20be46 --- /dev/null +++ b/net-libs/gtk-vnc/gtk-vnc-1.3.0-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit gnome.org vala meson python-any-r1 xdg + +DESCRIPTION="VNC viewer widget for GTK" +HOMEPAGE="https://wiki.gnome.org/Projects/gtk-vnc" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-meson-0.63.patch.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+introspection pulseaudio sasl +vala" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND=" + >=dev-libs/glib-2.56.0:2 + >=x11-libs/gdk-pixbuf-2.36.0:2 + >=dev-libs/libgcrypt-1.8.0:0= + >=net-libs/gnutls-3.6.0:0= + >=sys-libs/zlib-1.2.11 + sasl? ( >=dev-libs/cyrus-sasl-2.1.27 ) + >=x11-libs/gtk+-3.22.0:3[introspection?] + >=x11-libs/cairo-1.15.0 + >=x11-libs/libX11-1.6.5 + pulseaudio? ( >=media-sound/pulseaudio-11.0 ) + introspection? ( >=dev-libs/gobject-introspection-1.56.0:= ) +" +# Keymap databases code is generated with python3; configure picks up $PYTHON exported from python-any-r1_pkg_setup +# perl for pod2man +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + >=dev-lang/perl-5 + dev-util/glib-utils + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +PATCHES=( + "${WORKDIR}"/${P}-meson-0.63.patch +) + +src_prepare() { + default + + use vala & vala_setup +} + +src_configure() { + local emesonargs=( + $(meson_feature introspection) + $(meson_feature pulseaudio) + $(meson_feature sasl) + -Dwith-coroutine=auto # gthread on windows, libc ucontext elsewhere; neither has extra deps + $(meson_feature vala with-vala) + ) + meson_src_configure +}