| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.7-r1.ebuild,v 1.1 2012/03/10 00:08:40 chithanh Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
PYTHON_DEPEND="*"
|
| 7 |
|
| 8 |
inherit python xorg-2
|
| 9 |
|
| 10 |
DESCRIPTION="X C-language Bindings protocol headers"
|
| 11 |
HOMEPAGE="http://xcb.freedesktop.org/"
|
| 12 |
EGIT_REPO_URI="git://anongit.freedesktop.org/git/xcb/proto"
|
| 13 |
[[ ${PV} != 9999* ]] && \
|
| 14 |
SRC_URI="http://xcb.freedesktop.org/dist/${P}.tar.bz2"
|
| 15 |
|
| 16 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
| 17 |
IUSE=""
|
| 18 |
|
| 19 |
RDEPEND=""
|
| 20 |
DEPEND="${RDEPEND}
|
| 21 |
dev-libs/libxml2"
|
| 22 |
|
| 23 |
src_prepare() {
|
| 24 |
python_clean_py-compile_files
|
| 25 |
xorg-2_src_prepare
|
| 26 |
}
|
| 27 |
|
| 28 |
pkg_postinst() {
|
| 29 |
python_mod_optimize xcbgen
|
| 30 |
ewarn "Please rebuild both libxcb and xcb-util if you are upgrading from version 1.6"
|
| 31 |
}
|
| 32 |
|
| 33 |
pkg_postrm() {
|
| 34 |
python_mod_cleanup xcbgen
|
| 35 |
}
|