Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/vte/
Date: Thu, 07 Jan 2021 02:12:58
Message-Id: 1609985544.033e74310d71ffcc872fc341fb45059aa6e046df.mattst88@gentoo
1 commit: 033e74310d71ffcc872fc341fb45059aa6e046df
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 7 00:34:08 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 7 02:12:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=033e7431
7
8 x11-libs/vte: Version bump to 0.62.1
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-libs/vte/Manifest | 2 ++
13 x11-libs/vte/vte-0.62.1.ebuild | 80 ++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 82 insertions(+)
15
16 diff --git a/x11-libs/vte/Manifest b/x11-libs/vte/Manifest
17 index b2c6da10338..c43019f99ac 100644
18 --- a/x11-libs/vte/Manifest
19 +++ b/x11-libs/vte/Manifest
20 @@ -1,3 +1,5 @@
21 DIST vte-0.28.2.tar.xz 962340 BLAKE2B 1e4b5977962265be77917ccfc9118ed93232c03d7a16b6c08a27e721fe71f8c1dd1783a439530d7b3d915111cb8cc78281f1e9e351d6a83edd31f224309ca1e9 SHA512 d6a50481aaa8946cca3779e0b328fef551be534d70366a75385d1f8ead3fcddec57bed85c7d4bc2d9f34546532129e63083aafa33cbb0efcbc7dc9d66e7c45f6
22 DIST vte-0.60.3-command-notify.patch.xz 6108 BLAKE2B 1f96788c097b003a3f9041529a0ff8ad083fe60597920632450e65ce13ad7181cb3bd4f2713ee19ab7d15154e3546720cdd0a72fabb3710ea7149c63cb159a1f SHA512 070d17fa2dfeed5ccb5ad67687bfb65a6a9dd79db300bb6e00f7d35b8ab3563c331e5f48bbecc32f8037475db319fb71f35e72108f260b6446fd2dd8e1a2897e
23 DIST vte-0.60.3.tar.xz 535504 BLAKE2B c5556fdb91d876aa681d2a9466fa4f4c0ee6be630d076949fbd01878baffdf319e50ec75575729c49c09484914d9ee103d4d491861aedb678b0e336cd4ddcc2e SHA512 3694fe711e0b3eb9d6ba37ad8036f5d3cca4265635ed7afcde750a8445b17f820d1c55b557d0ea1c8a5a45e5408915d8da2ffd65b4d397c6582f288812ae1f18
24 +DIST vte-0.62.1-command-notify.patch.xz 4844 BLAKE2B 22301fdc5f1969beb2ad9b316fea8972f696f0e54e1a24d5eceedec71162afc2991b7963a71ce8925a94f6c40e5303d3db760b872d0eebbdc6d05b22d3c59ecc SHA512 491e241b0f5aae50e59d25751e95579d40c47e7e4c7f2b279522347f7f2f7f00c92bdf5fa4a651e4146bcfa9439f03b6311b4061fb20c5679c09b97a4924dcf1
25 +DIST vte-0.62.1.tar.xz 444672 BLAKE2B 83cf49c8700792a149d572bae692d4909ada613b43a752b55cb658926dc37041b98d69364a88f813b1cc6d20f0667ea566f994e0f08bd1dd918731d20edb1376 SHA512 2f8f76953e0ea6c604357ab08630d3822a252051d8997cf7714553fec1688735468726bfd74e03f122dd1c8d0717e511ec7ec1e5463a086bd407afc6f7df91cf
26
27 diff --git a/x11-libs/vte/vte-0.62.1.ebuild b/x11-libs/vte/vte-0.62.1.ebuild
28 new file mode 100644
29 index 00000000000..80301a89aac
30 --- /dev/null
31 +++ b/x11-libs/vte/vte-0.62.1.ebuild
32 @@ -0,0 +1,80 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +VALA_USE_DEPEND="vapigen"
38 +VALA_MIN_API_VERSION="0.32"
39 +
40 +inherit gnome.org meson vala xdg
41 +
42 +DESCRIPTION="Library providing a virtual terminal emulator widget"
43 +HOMEPAGE="https://wiki.gnome.org/Apps/Terminal/VTE"
44 +
45 +LICENSE="LGPL-3+ GPL-3+"
46 +SLOT="2.91"
47 +IUSE="+crypt debug gtk-doc +icu +introspection systemd +vala vanilla"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
49 +REQUIRED_USE="vala? ( introspection )"
50 +
51 +SRC_URI="${SRC_URI} !vanilla? ( https://dev.gentoo.org/~mattst88/distfiles/${PN}-0.62.1-command-notify.patch.xz )"
52 +
53 +RDEPEND="
54 + >=x11-libs/gtk+-3.24.14:3[introspection?]
55 + >=dev-libs/fribidi-1.0.0
56 + >=dev-libs/glib-2.52:2
57 + crypt? ( >=net-libs/gnutls-3.2.7:0= )
58 + icu? ( dev-libs/icu:= )
59 + >=x11-libs/pango-1.22.0
60 + >=dev-libs/libpcre2-10.21
61 + systemd? ( >=sys-apps/systemd-220:= )
62 + sys-libs/zlib
63 + introspection? ( >=dev-libs/gobject-introspection-1.56:= )
64 + x11-libs/pango[introspection?]
65 +"
66 +DEPEND="${RDEPEND}"
67 +BDEPEND="
68 + dev-libs/libxml2:2
69 + dev-util/glib-utils
70 + gtk-doc? ( >=dev-util/gtk-doc-1.13
71 + app-text/docbook-xml-dtd:4.1.2 )
72 + >=sys-devel/gettext-0.19.8
73 + virtual/pkgconfig
74 +
75 + vala? ( $(vala_depend) )
76 +"
77 +
78 +src_prepare() {
79 + if ! use vanilla; then
80 + # Part of https://src.fedoraproject.org/rpms/vte291/raw/f31/f/vte291-cntnr-precmd-preexec-scroll.patch
81 + # Adds OSC 777 support for desktop notifications in gnome-terminal or elsewhere
82 + eapply "${WORKDIR}"/${PN}-0.62.1-command-notify.patch
83 + fi
84 +
85 + # -Ddebugg option enables various debug support via VTE_DEBUG, but also ggdb3; strip the latter
86 + sed -e '/ggdb3/d' -i meson.build || die
87 +
88 + use vala && vala_src_prepare
89 + xdg_src_prepare
90 +}
91 +
92 +src_configure() {
93 + local emesonargs=(
94 + -Da11y=true
95 + $(meson_use debug debugg)
96 + $(meson_use gtk-doc docs)
97 + $(meson_use introspection gir)
98 + -Dfribidi=true # pulled in by pango anyhow
99 + $(meson_use crypt gnutls)
100 + -Dgtk3=true
101 + -Dgtk4=false
102 + $(meson_use icu)
103 + $(meson_use systemd _systemd)
104 + $(meson_use vala vapi)
105 + )
106 + meson_src_configure
107 +}
108 +
109 +src_install() {
110 + meson_src_install
111 + mv "${ED}"/etc/profile.d/vte{,-${SLOT}}.sh || die
112 +}