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/libX11/
Date: Tue, 09 Oct 2018 14:38:23
Message-Id: 1539095871.bb4969436bd238aa724f2294735b467f5b8cac8e.mattst88@gentoo
1 commit: bb4969436bd238aa724f2294735b467f5b8cac8e
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 9 14:37:46 2018 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 9 14:37:51 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb496943
7
8 x11-libs/libX11: Version bump to 1.6.7
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-libs/libX11/Manifest | 1 +
13 x11-libs/libX11/libX11-1.6.7.ebuild | 52 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/x11-libs/libX11/Manifest b/x11-libs/libX11/Manifest
17 index 66941fd1a31..3761a2da2bd 100644
18 --- a/x11-libs/libX11/Manifest
19 +++ b/x11-libs/libX11/Manifest
20 @@ -1 +1,2 @@
21 DIST libX11-1.6.6.tar.bz2 2342730 BLAKE2B 7b3936606a6cf8981d691caa06b2ebbf2383259a4b74ebc6fa72277ce4870222d7e797037f21cd669dc1f1177f5a08f7fdd5d0158b6579c3ca3d0587a3e4e950 SHA512 9866dc6b158b15a96efe140b6fa68a775889a37e5565a126216211fee63868e02629a9f9f41816d590ef150560f43b8864010a77a6318c9109e76aec1d21b4d7
22 +DIST libX11-1.6.7.tar.bz2 2290260 BLAKE2B d149d3eacdb1cd80de378076dd96bbaa2cf0cf24d4431ed1afbc00f6ff43cb5dbbea01345230e8b06cd05900d77d4771a72e3b8c5ddda69cb25c95f02a58d9ce SHA512 edd2273b9dadbbf90ad8d7b5715db29eb120a5a22ad2595f697e56532cc24b84e358580c00548fa6be8e9d26601a2b2cdab32272c59266709534317abbd05cd5
23
24 diff --git a/x11-libs/libX11/libX11-1.6.7.ebuild b/x11-libs/libX11/libX11-1.6.7.ebuild
25 new file mode 100644
26 index 00000000000..8434eea640f
27 --- /dev/null
28 +++ b/x11-libs/libX11/libX11-1.6.7.ebuild
29 @@ -0,0 +1,52 @@
30 +# Copyright 1999-2018 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=5
34 +
35 +XORG_DOC=doc
36 +XORG_EAUTORECONF=yes
37 +XORG_MULTILIB=yes
38 +inherit xorg-2 toolchain-funcs
39 +
40 +DESCRIPTION="X.Org X11 library"
41 +
42 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
43 +IUSE="ipv6 test"
44 +
45 +RDEPEND="x11-base/xorg-proto
46 + >=x11-libs/libxcb-1.11.1[${MULTILIB_USEDEP}]
47 + x11-libs/xtrans"
48 +DEPEND="${RDEPEND}
49 + test? ( dev-lang/perl )"
50 +
51 +PATCHES=(
52 + "${FILESDIR}"/${PN}-1.1.4-aix-pthread.patch
53 + "${FILESDIR}"/${PN}-1.1.5-winnt-private.patch
54 + "${FILESDIR}"/${PN}-1.1.5-solaris.patch
55 +)
56 +
57 +src_configure() {
58 + XORG_CONFIGURE_OPTIONS=(
59 + $(use_with doc xmlto)
60 + $(use_enable doc specs)
61 + $(use_enable ipv6)
62 + --without-fop
63 + )
64 +
65 + [[ ${CHOST} == *-interix* ]] && export ac_cv_func_poll=no
66 + xorg-2_src_configure
67 +}
68 +
69 +multilib_src_compile() {
70 + if tc-is-cross-compiler; then
71 + # Make sure the build-time tool "makekeys" uses build settings.
72 + tc-export_build_env BUILD_CC
73 + emake -C src/util \
74 + CC="${BUILD_CC}" \
75 + CFLAGS="${BUILD_CFLAGS}" \
76 + LDFLAGS="${BUILD_LDFLAGS}" \
77 + clean all
78 + fi
79 +
80 + default
81 +}