Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gtk-vnc/
Date: Thu, 02 Aug 2018 13:50:20
Message-Id: 1533217676.6474ad574d6465d52a51d044246bdad0e5788835.leio@gentoo
1 commit: 6474ad574d6465d52a51d044246bdad0e5788835
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 2 13:47:32 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 2 13:47:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6474ad57
7
8 net-libs/gtk-vnc: bump to 0.8.0
9
10 Package-Manager: Portage-2.3.43, Repoman-2.3.10
11
12 net-libs/gtk-vnc/Manifest | 1 +
13 net-libs/gtk-vnc/gtk-vnc-0.8.0.ebuild | 68 +++++++++++++++++++++++++++++++++++
14 2 files changed, 69 insertions(+)
15
16 diff --git a/net-libs/gtk-vnc/Manifest b/net-libs/gtk-vnc/Manifest
17 index 127f1d5b52e..db90f8a2703 100644
18 --- a/net-libs/gtk-vnc/Manifest
19 +++ b/net-libs/gtk-vnc/Manifest
20 @@ -1 +1,2 @@
21 DIST gtk-vnc-0.7.2.tar.xz 447088 BLAKE2B 539cc9214735cf73c6e578029b33892c3e2d0d1dc402f82fa6d8d107c9a410e551020d9201192b69e50b75bb8297919ab0961752251dcf0bd75823d7426e01b5 SHA512 b95b1da6ff512c466feaa6efc831e9c36c5a77390b518c647c60fddda9dd850eea8658174682ae135b95bfca7bf2b4e85a5e5ac9adb43e3ddd7aa690288655ce
22 +DIST gtk-vnc-0.8.0.tar.xz 448984 BLAKE2B e9de98a969297832ff6eaba79707a44494b20d944264ac6902596f882b95e8ab1bc6b7eb25e040d17f939d678a81eec730f983942db38d73c81751fc2afd45df SHA512 9b66e4028e56b01af8d0ded5b833fc6c0ba752ac72cd664293b0009868bbec0bc8750b619ece9786eddc06155e390ecccc4c5bc84717c49ac4bd866e6febd8e3
23
24 diff --git a/net-libs/gtk-vnc/gtk-vnc-0.8.0.ebuild b/net-libs/gtk-vnc/gtk-vnc-0.8.0.ebuild
25 new file mode 100644
26 index 00000000000..d974182179d
27 --- /dev/null
28 +++ b/net-libs/gtk-vnc/gtk-vnc-0.8.0.ebuild
29 @@ -0,0 +1,68 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +PYTHON_COMPAT=( python3_{4,5,6,7} )
35 +GNOME2_LA_PUNT="yes"
36 +VALA_MIN_API_VERSION="0.16"
37 +
38 +inherit vala gnome2 python-any-r1
39 +
40 +DESCRIPTION="VNC viewer widget for GTK"
41 +HOMEPAGE="https://wiki.gnome.org/Projects/gtk-vnc"
42 +
43 +LICENSE="LGPL-2.1+"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
46 +IUSE="examples +introspection pulseaudio sasl vala"
47 +REQUIRED_USE="
48 + vala? ( introspection )
49 +"
50 +
51 +# libview is used in examples/gvncviewer -- no need
52 +# glib-2.30.1 needed to avoid linking failure due to .la files (bug #399129)
53 +RDEPEND="
54 + >=dev-libs/glib-2.30.1:2
55 + >=dev-libs/libgcrypt-1.4.2:0=
56 + dev-libs/libgpg-error
57 + >=net-libs/gnutls-3.0:0=
58 + >=x11-libs/cairo-1.2
59 + x11-libs/libX11
60 + >=x11-libs/gtk+-3.0.0:3[introspection?]
61 + introspection? ( >=dev-libs/gobject-introspection-0.9.4:= )
62 + pulseaudio? ( media-sound/pulseaudio )
63 + sasl? ( dev-libs/cyrus-sasl )
64 +"
65 +# Keymap databases code is generated with python3; configure picks up $PYTHON exported from python-any-r1_pkg_setup
66 +DEPEND="${RDEPEND}
67 + ${PYTHON_DEPS}
68 + >=dev-lang/perl-5
69 + >=dev-util/intltool-0.40
70 + sys-devel/gettext
71 + virtual/pkgconfig
72 + vala? (
73 + $(vala_depend)
74 + >=dev-libs/gobject-introspection-0.9.4 )
75 +"
76 +# eautoreconf requires gnome-common
77 +
78 +src_prepare() {
79 + vala_src_prepare
80 + gnome2_src_prepare
81 +}
82 +
83 +src_configure() {
84 + local myconf=(
85 + $(use_with examples)
86 + $(use_enable introspection)
87 + $(use_with pulseaudio)
88 + $(use_with sasl)
89 + --with-coroutine=gthread
90 + --without-libview
91 + --disable-static
92 + --disable-vala
93 + --with-gtk=3.0
94 + )
95 +
96 + gnome2_src_configure ${myconf[@]}
97 +}