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