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: Tue, 09 Apr 2019 08:35:14
Message-Id: 1554798747.33172e53b48cd4e2b8d491d407073dfc610e8de0.leio@gentoo
1 commit: 33172e53b48cd4e2b8d491d407073dfc610e8de0
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 9 08:22:32 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 9 08:32:27 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33172e53
7
8 x11-libs/vte: bump to 0.54.4
9
10 Package-Manager: Portage-2.3.52, 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.54.4.ebuild | 88 ++++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 89 insertions(+)
16
17 diff --git a/x11-libs/vte/Manifest b/x11-libs/vte/Manifest
18 index 5b2d6e6026b..2d4a4394748 100644
19 --- a/x11-libs/vte/Manifest
20 +++ b/x11-libs/vte/Manifest
21 @@ -4,3 +4,4 @@ DIST vte-0.48.4.tar.xz 1008296 BLAKE2B 9f946d6909d38896ec80db2a02666d809155997b2
22 DIST vte-0.54.1-command-notify.patch.xz 3428 BLAKE2B 75b0c22720276300be2e49e8444aa68fed77fb7a6cc6b0e93a5c2d41257626bd60ff1084d68579769cb3d85e7ec567927591746de48e860b138d0c1f24f64cc7 SHA512 a53da569f8168c8e9e21e186dcfc00bf9fdb78a0c767ba35033c1c1e4f836406b4d9bf70ee3e071f6c749fd6f72101a6960d201617bd0bc23021e1eeaac6fd0c
23 DIST vte-0.54.1.tar.xz 1083552 BLAKE2B 1e52275c953b5fbf51a1cc727dfca0bde3cc8f51a18055cd0c65c949479d0b4d926466016fa7d6f6dbebc9117c1b6fbde9a4bde38c5d82bb44ecce8612290de6 SHA512 5cb866e75c35e1b5728d17b0433641ceb4837495d59185a04fde9dd8c9849ab905a6b2718a50b27cc70323c7a6c5db31a808816576c30d7f18ece889a329fb61
24 DIST vte-0.54.3.tar.xz 1087424 BLAKE2B becb668d6b3f56ebd1eb6d076c5cac2fc9623bfa012c877d8d3cf374cfbded6ff16ef1e0b1fc9e92ba1255f9653be25df1b81c7c85f42749449e5df12c530411 SHA512 dd7d2ac361ed9ac0550599bb3164a3bd6ba95535275c9b559c81ce0af1bbf4b3d150a7489f987b2e626b32d4a8adc82d1ff78e8c8640e5b1c036fe4076c5d8ce
25 +DIST vte-0.54.4.tar.xz 1087748 BLAKE2B 65fb762414e832930ce1519dc99fe306b3c9c3860bf8116c29e66b758178d1f0a52705cd6f7ab1be30374fb2956a01aaccc8f6859d0af971f2037809421bb502 SHA512 7e0f4140a4c474fad9a48eaf0e4c29f83e7bf50719087983c238b362c6303824836c34485eb2ca135be0961fa4b83a318d08ef70d4cf0dab0d37dc2e36710c41
26
27 diff --git a/x11-libs/vte/vte-0.54.4.ebuild b/x11-libs/vte/vte-0.54.4.ebuild
28 new file mode 100644
29 index 00000000000..c992365299a
30 --- /dev/null
31 +++ b/x11-libs/vte/vte-0.54.4.ebuild
32 @@ -0,0 +1,88 @@
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 + # First half of http://pkgs.fedoraproject.org/cgit/rpms/vte291.git/tree/vte291-command-notify-scroll-speed.patch
83 + # Adds OSC 777 support for desktop notifications in gnome-terminal or elsewhere
84 + eapply "${WORKDIR}"/${PN}-0.54.1-command-notify.patch
85 + fi
86 +
87 + use vala && vala_src_prepare
88 +
89 + # build fails because of -Werror with gcc-5.x
90 + sed -e 's#-Werror=format=2#-Wformat=2#' -i configure || die "sed failed"
91 +
92 + gnome2_src_prepare
93 +}
94 +
95 +src_configure() {
96 + local myconf=""
97 +
98 + if [[ ${CHOST} == *-interix* ]]; then
99 + myconf="${myconf} --disable-Bsymbolic"
100 +
101 + # interix stropts.h is empty...
102 + export ac_cv_header_stropts_h=no
103 + fi
104 +
105 + gnome2_src_configure \
106 + --disable-static \
107 + --with-gtk=3.0 \
108 + --with-iconv \
109 + $(use_enable debug) \
110 + $(use_enable glade glade-catalogue) \
111 + $(use_with crypt gnutls) \
112 + $(use_enable introspection) \
113 + $(use_enable vala) \
114 + ${myconf}
115 +}
116 +
117 +src_install() {
118 + gnome2_src_install
119 + mv "${ED}"/etc/profile.d/vte{,-${SLOT}}.sh || die
120 +}