You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
|
|
AUTOTOOLS_AUTORECONF=1
|
|
|
|
|
|
|
|
inherit flag-o-matic xorg-2 python-r1
|
|
|
|
|
|
|
|
#EGIT_REPO_URI="git://anongit.freedesktop.org/git/xcb/xpyb"
|
|
|
|
SRC_URI="https://xcb.freedesktop.org/dist/${P}.tar.bz2"
|
|
|
|
DESCRIPTION="XCB-based Python bindings for the X Window System"
|
|
|
|
HOMEPAGE="https://xcb.freedesktop.org/"
|
|
|
|
|
|
|
|
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
|
|
|
IUSE="selinux"
|
|
|
|
|
|
|
|
RDEPEND=">=x11-libs/libxcb-1.7
|
|
|
|
>=x11-proto/xcb-proto-1.7.1[${PYTHON_USEDEP}]
|
|
|
|
<x11-proto/xcb-proto-1.9
|
|
|
|
${PYTHON_DEPS}"
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
PATCHES=( "${FILESDIR}"/${PN}-python.patch )
|
|
|
|
DOCS=( NEWS README )
|
|
|
|
|
|
|
|
pkg_setup() {
|
|
|
|
xorg-2_pkg_setup
|
|
|
|
XORG_CONFIGURE_OPTIONS=(
|
|
|
|
$(use_enable selinux)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
append-cflags -fno-strict-aliasing
|
|
|
|
python_foreach_impl xorg-2_src_configure
|
|
|
|
}
|
|
|
|
|
|
|
|
src_compile() {
|
|
|
|
python_foreach_impl xorg-2_src_compile
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
python_foreach_impl xorg-2_src_install
|
|
|
|
}
|