x11-libs/libX11: Version bump to 1.6.7
authorMatt Turner <mattst88@gentoo.org>
Tue, 9 Oct 2018 14:37:46 +0000 (10:37 -0400)
committerMatt Turner <mattst88@gentoo.org>
Tue, 9 Oct 2018 14:37:51 +0000 (10:37 -0400)
Signed-off-by: Matt Turner <mattst88@gentoo.org>
x11-libs/libX11/Manifest
x11-libs/libX11/libX11-1.6.7.ebuild [new file with mode: 0644]

index 66941fd1a3183abd61172844f36f52a17b8579ef..3761a2da2bd3dde57140cdd839f7cd76bd15da0f 100644 (file)
@@ -1 +1,2 @@
 DIST libX11-1.6.6.tar.bz2 2342730 BLAKE2B 7b3936606a6cf8981d691caa06b2ebbf2383259a4b74ebc6fa72277ce4870222d7e797037f21cd669dc1f1177f5a08f7fdd5d0158b6579c3ca3d0587a3e4e950 SHA512 9866dc6b158b15a96efe140b6fa68a775889a37e5565a126216211fee63868e02629a9f9f41816d590ef150560f43b8864010a77a6318c9109e76aec1d21b4d7
+DIST libX11-1.6.7.tar.bz2 2290260 BLAKE2B d149d3eacdb1cd80de378076dd96bbaa2cf0cf24d4431ed1afbc00f6ff43cb5dbbea01345230e8b06cd05900d77d4771a72e3b8c5ddda69cb25c95f02a58d9ce SHA512 edd2273b9dadbbf90ad8d7b5715db29eb120a5a22ad2595f697e56532cc24b84e358580c00548fa6be8e9d26601a2b2cdab32272c59266709534317abbd05cd5
diff --git a/x11-libs/libX11/libX11-1.6.7.ebuild b/x11-libs/libX11/libX11-1.6.7.ebuild
new file mode 100644 (file)
index 0000000..8434eea
--- /dev/null
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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 ~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
+}