Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/vte/
Date: Sat, 28 Sep 2019 09:51:38
Message-Id: 1569664192.fe8834eeb5feeaa8858bae03dd2e902f897755aa.leio@gentoo
1 commit: fe8834eeb5feeaa8858bae03dd2e902f897755aa
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 28 07:46:01 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 28 09:49:52 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe8834ee
7
8 x11-libs/vte: bump to 0.56.3
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 x11-libs/vte/Manifest | 1 +
14 x11-libs/vte/vte-0.56.3.ebuild | 89 ++++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 90 insertions(+)
16
17 diff --git a/x11-libs/vte/Manifest b/x11-libs/vte/Manifest
18 index c44a3ee670e..cd087ad4790 100644
19 --- a/x11-libs/vte/Manifest
20 +++ b/x11-libs/vte/Manifest
21 @@ -3,3 +3,4 @@ DIST vte-0.48.4-command-notify.patch.xz 5500 BLAKE2B 88b655403d2bef034604a283b17
22 DIST vte-0.48.4.tar.xz 1008296 BLAKE2B 9f946d6909d38896ec80db2a02666d809155997b27109724fb318d28200220f1514fb23e4cdc90263a756914b5db442c947578c8854a535cb960a06f7bc03a77 SHA512 4b75bd881e58b5043bc44e391ef3a826a2c25d0f1bb5ffb890367e11a60b1bcbce091575ede6972a89ae043b39c51897f91fca1faf6872664d602e503d8020fc
23 DIST vte-0.54.1-command-notify.patch.xz 3428 BLAKE2B 75b0c22720276300be2e49e8444aa68fed77fb7a6cc6b0e93a5c2d41257626bd60ff1084d68579769cb3d85e7ec567927591746de48e860b138d0c1f24f64cc7 SHA512 a53da569f8168c8e9e21e186dcfc00bf9fdb78a0c767ba35033c1c1e4f836406b4d9bf70ee3e071f6c749fd6f72101a6960d201617bd0bc23021e1eeaac6fd0c
24 DIST vte-0.54.4.tar.xz 1087748 BLAKE2B 65fb762414e832930ce1519dc99fe306b3c9c3860bf8116c29e66b758178d1f0a52705cd6f7ab1be30374fb2956a01aaccc8f6859d0af971f2037809421bb502 SHA512 7e0f4140a4c474fad9a48eaf0e4c29f83e7bf50719087983c238b362c6303824836c34485eb2ca135be0961fa4b83a318d08ef70d4cf0dab0d37dc2e36710c41
25 +DIST vte-0.56.3.tar.xz 1100584 BLAKE2B 7fd1e041c52aab93d95d6ce91f6dd7d4bc9080e22cb82041d1636946973f1eee86e257f2c357af93417eeec52142edcb7df3bdbcf90727e40fb61a1e4b2d9292 SHA512 f78b3d532ca47e53c1bb51db6780697ce4692d493c0030d2dc4beb63a2595e44a43eb409ee31b94e4551eae259ac1baa8f06825a02fd66df8352e192f4ea1988
26
27 diff --git a/x11-libs/vte/vte-0.56.3.ebuild b/x11-libs/vte/vte-0.56.3.ebuild
28 new file mode 100644
29 index 00000000000..a7ee915e5f7
30 --- /dev/null
31 +++ b/x11-libs/vte/vte-0.56.3.ebuild
32 @@ -0,0 +1,89 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI="6"
37 +VALA_USE_DEPEND="vapigen"
38 +VALA_MIN_API_VERSION="0.32"
39 +
40 +inherit gnome2 vala
41 +
42 +DESCRIPTION="Library providing a virtual terminal emulator widget"
43 +HOMEPAGE="https://wiki.gnome.org/Apps/Terminal/VTE"
44 +
45 +LICENSE="LGPL-2+"
46 +SLOT="2.91"
47 +IUSE="+crypt debug glade +introspection vala vanilla"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
49 +REQUIRED_USE="vala? ( introspection )"
50 +
51 +SRC_URI="${SRC_URI} !vanilla? ( https://dev.gentoo.org/~leio/distfiles/${PN}-0.54.1-command-notify.patch.xz )"
52 +
53 +RDEPEND="
54 + >=dev-libs/glib-2.40:2
55 + >=dev-libs/libpcre2-10.21
56 + >=x11-libs/gtk+-3.16:3[introspection?]
57 + >=x11-libs/pango-1.22.0
58 +
59 + sys-libs/ncurses:0=
60 + sys-libs/zlib
61 +
62 + crypt? ( >=net-libs/gnutls-3.2.7:0= )
63 + glade? ( >=dev-util/glade-3.9:3.10 )
64 + introspection? ( >=dev-libs/gobject-introspection-0.9.0:= )
65 +"
66 +DEPEND="${RDEPEND}
67 + dev-libs/libxml2:2
68 + dev-util/glib-utils
69 + >=dev-util/gtk-doc-am-1.13
70 + >=dev-util/intltool-0.35
71 + sys-devel/gettext
72 + virtual/pkgconfig
73 +
74 + vala? ( $(vala_depend) )
75 +"
76 +RDEPEND="${RDEPEND}
77 + !x11-libs/vte:2.90[glade]
78 +"
79 +
80 +src_prepare() {
81 + if ! use vanilla; then
82 + # Part of https://src.fedoraproject.org/rpms/vte291/blob/f30/f/vte291-cntr-ntfy-scroll.patch
83 + # Patch distfile for 0.54 series is re-used, as only git hashes and co changed in patchset.
84 + # Adds OSC 777 support for desktop notifications in gnome-terminal or elsewhere
85 + eapply "${WORKDIR}"/${PN}-0.54.1-command-notify.patch
86 + fi
87 +
88 + use vala && vala_src_prepare
89 +
90 + # build fails because of -Werror with gcc-5.x
91 + sed -e 's#-Werror=format=2#-Wformat=2#' -i configure || die "sed failed"
92 +
93 + gnome2_src_prepare
94 +}
95 +
96 +src_configure() {
97 + local myconf=""
98 +
99 + if [[ ${CHOST} == *-interix* ]]; then
100 + myconf="${myconf} --disable-Bsymbolic"
101 +
102 + # interix stropts.h is empty...
103 + export ac_cv_header_stropts_h=no
104 + fi
105 +
106 + gnome2_src_configure \
107 + --disable-static \
108 + --with-gtk=3.0 \
109 + --with-iconv \
110 + $(use_enable debug) \
111 + $(use_enable glade glade-catalogue) \
112 + $(use_with crypt gnutls) \
113 + $(use_enable introspection) \
114 + $(use_enable vala) \
115 + ${myconf}
116 +}
117 +
118 +src_install() {
119 + gnome2_src_install
120 + mv "${ED}"/etc/profile.d/vte{,-${SLOT}}.sh || die
121 +}