Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gtk-vnc/
Date: Wed, 28 Apr 2021 04:21:34
Message-Id: 1619578770.303f556c6c4ecaeac6bcddfa2976bde7b08d8925.mattst88@gentoo
1 commit: 303f556c6c4ecaeac6bcddfa2976bde7b08d8925
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 28 02:42:20 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 28 02:59:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=303f556c
7
8 net-libs/gtk-vnc: Version bump to 1.2.0
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 net-libs/gtk-vnc/Manifest | 1 +
13 net-libs/gtk-vnc/gtk-vnc-1.2.0.ebuild | 61 +++++++++++++++++++++++++++++++++++
14 2 files changed, 62 insertions(+)
15
16 diff --git a/net-libs/gtk-vnc/Manifest b/net-libs/gtk-vnc/Manifest
17 index cd3ec8f77a9..8145e405799 100644
18 --- a/net-libs/gtk-vnc/Manifest
19 +++ b/net-libs/gtk-vnc/Manifest
20 @@ -1,2 +1,3 @@
21 DIST gtk-vnc-1.0.0-patchset.tar.xz 9636 BLAKE2B 4f25fdf279e5a1718ea8dc42bdb59722630b363e4e289704b946ae788d593b5d95c56d0eb5315e30ff00c2eb4d3a9e5df366f74808f94e926a47c2f817b0f1ee SHA512 998771ceb28516f52bb083d872a1ad8aa22a7208c8a0ca94270f63d91cc7f7a0f99c4bb93f7a545d9a6c796fa063dd27b36a1cb9a3d7c9349a9d8372754ea929
22 DIST gtk-vnc-1.0.0.tar.xz 215904 BLAKE2B 05ef0389c3ac307859228506adf55a5ed0f5d577078b82686ad97c9df180fc5c23d8dd030930c61f87b1bbd3cb6cee74c4485af4816b7b29fd53016c2d9b1d07 SHA512 63a40b9b284c4e46a92d5375ab3660b324ff27bfc572559d3b34d29fe4f7d24e976396b6688b8f3e3109d49dc5527075d128c43bb997507e68ddc0880b0ad148
23 +DIST gtk-vnc-1.2.0.tar.xz 218024 BLAKE2B 8e13886826eebc3261271b94e15c504f82b15681417e70cc6b54b824ceff4de20a470460c5176abb2df04f325389a08032f40b49cfc3429c290d6d7255fc56d2 SHA512 830c614afa6540397352da864ad32a5687ccce5dc1e2150220c9a7fc3c7b0fbcbb3770e06b5fed75602d830bc9a9d40855fa8b6d8b65f740fc7a53bbdfce6edb
24
25 diff --git a/net-libs/gtk-vnc/gtk-vnc-1.2.0.ebuild b/net-libs/gtk-vnc/gtk-vnc-1.2.0.ebuild
26 new file mode 100644
27 index 00000000000..5cd29c52ea6
28 --- /dev/null
29 +++ b/net-libs/gtk-vnc/gtk-vnc-1.2.0.ebuild
30 @@ -0,0 +1,61 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=( python3_{7..9} )
36 +
37 +inherit gnome.org vala meson python-any-r1 xdg
38 +
39 +DESCRIPTION="VNC viewer widget for GTK"
40 +HOMEPAGE="https://wiki.gnome.org/Projects/gtk-vnc"
41 +
42 +LICENSE="LGPL-2.1+"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
45 +IUSE="+introspection pulseaudio sasl +vala"
46 +REQUIRED_USE="vala? ( introspection )"
47 +
48 +RDEPEND="
49 + >=dev-libs/glib-2.56.0:2
50 + >=x11-libs/gdk-pixbuf-2.36.0:2
51 + >=dev-libs/libgcrypt-1.8.0:0=
52 + >=net-libs/gnutls-3.6.0:0=
53 + >=sys-libs/zlib-1.2.11
54 + sasl? ( >=dev-libs/cyrus-sasl-2.1.27 )
55 + >=x11-libs/gtk+-3.22.0:3[introspection?]
56 + >=x11-libs/cairo-1.15.0
57 + >=x11-libs/libX11-1.6.5
58 + pulseaudio? ( >=media-sound/pulseaudio-11.0 )
59 + introspection? ( >=dev-libs/gobject-introspection-1.56.0:= )
60 +"
61 +# Keymap databases code is generated with python3; configure picks up $PYTHON exported from python-any-r1_pkg_setup
62 +# perl for pod2man
63 +DEPEND="${RDEPEND}"
64 +BDEPEND="
65 + ${PYTHON_DEPS}
66 + >=dev-lang/perl-5
67 + dev-util/glib-utils
68 + >=sys-devel/gettext-0.19.8
69 + virtual/pkgconfig
70 + vala? ( $(vala_depend) )
71 +"
72 +
73 +PATCHES=(
74 + "${FILESDIR}"/1.0.0-honor-python-ver.patch
75 +)
76 +
77 +src_prepare() {
78 + vala_src_prepare
79 + xdg_src_prepare
80 +}
81 +
82 +src_configure() {
83 + local emesonargs=(
84 + $(meson_feature introspection)
85 + $(meson_feature pulseaudio)
86 + $(meson_feature sasl)
87 + -Dwith-coroutine=auto # gthread on windows, libc ucontext elsewhere; neither has extra deps
88 + $(meson_feature vala with-vala)
89 + )
90 + meson_src_configure
91 +}