commit:     f09c8749e4a75c4a27cef9292d904f6a0afffecc
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 21 15:55:10 2018 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Aug 21 15:55:23 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f09c8749

x11-libs/libX11: Version bump to 1.6.6

 x11-libs/libX11/Manifest            |  1 +
 x11-libs/libX11/libX11-1.6.6.ebuild | 52 +++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/x11-libs/libX11/Manifest b/x11-libs/libX11/Manifest
index 432e2b172a5..8b8a82af713 100644
--- a/x11-libs/libX11/Manifest
+++ b/x11-libs/libX11/Manifest
@@ -1 +1,2 @@
 DIST libX11-1.6.5.tar.bz2 2361556 BLAKE2B 
6001d745cd989dad2586690da69b8d67c68a4f148a4b3f595a7b58d5ed3a054928b302307b73d776a2a707f62c2d6d97453dd1484790ed8f4e9cf36ca4758148
 SHA512 
63c40d37c92b8d1ac78541830b0c624c4e936924b26bce769936e0e2523fa8997be364647705057065f803f804897ea8173d1c41ef69a92832f20cc7c0fd40a0
+DIST libX11-1.6.6.tar.bz2 2342730 BLAKE2B 
7b3936606a6cf8981d691caa06b2ebbf2383259a4b74ebc6fa72277ce4870222d7e797037f21cd669dc1f1177f5a08f7fdd5d0158b6579c3ca3d0587a3e4e950
 SHA512 
9866dc6b158b15a96efe140b6fa68a775889a37e5565a126216211fee63868e02629a9f9f41816d590ef150560f43b8864010a77a6318c9109e76aec1d21b4d7

diff --git a/x11-libs/libX11/libX11-1.6.6.ebuild 
b/x11-libs/libX11/libX11-1.6.6.ebuild
new file mode 100644
index 00000000000..6f9b701321c
--- /dev/null
+++ b/x11-libs/libX11/libX11-1.6.6.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+XORG_DOC=doc
+XORG_EAUTORECONF=yes
+XORG_MULTILIB=yes
+inherit xorg-2 toolchain-funcs
+
+DESCRIPTION="X.Org X11 library"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris ~x86-winnt"
+IUSE="ipv6 test"
+
+RDEPEND="x11-base/xorg-proto
+       >=x11-libs/libxcb-1.11.1[${MULTILIB_USEDEP}]
+       x11-libs/xtrans"
+DEPEND="${RDEPEND}
+       test? ( dev-lang/perl )"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.1.4-aix-pthread.patch
+       "${FILESDIR}"/${PN}-1.1.5-winnt-private.patch
+       "${FILESDIR}"/${PN}-1.1.5-solaris.patch
+)
+
+src_configure() {
+       XORG_CONFIGURE_OPTIONS=(
+               $(use_with doc xmlto)
+               $(use_enable doc specs)
+               $(use_enable ipv6)
+               --without-fop
+       )
+
+       [[ ${CHOST} == *-interix* ]] && export ac_cv_func_poll=no
+       xorg-2_src_configure
+}
+
+multilib_src_compile() {
+       if tc-is-cross-compiler; then
+               # Make sure the build-time tool "makekeys" uses build settings.
+               tc-export_build_env BUILD_CC
+               emake -C src/util \
+                       CC="${BUILD_CC}" \
+                       CFLAGS="${BUILD_CFLAGS}" \
+                       LDFLAGS="${BUILD_LDFLAGS}" \
+                       clean all
+       fi
+
+       default
+}

Reply via email to