1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
10 DESCRIPTION="X.Org libdrm library"
11 HOMEPAGE="http://dri.freedesktop.org/"
12 if [[ ${PV} = 9999* ]]; then
15 SRC_URI="http://dri.freedesktop.org/${PN}/${P}.tar.bz2"
19 VIDEO_CARDS="intel nouveau radeon vmware"
20 for card in ${VIDEO_CARDS}; do
21 IUSE_VIDEO_CARDS+=" video_cards_${card}"
24 IUSE="${IUSE_VIDEO_CARDS} libkms"
25 RESTRICT="test" # see bug #236845
27 RDEPEND="dev-libs/libpthread-stubs"
31 CONFIGURE_OPTIONS="--enable-udev
32 $(use_enable video_cards_intel intel)
33 $(use_enable video_cards_nouveau nouveau-experimental-api)
34 $(use_enable video_cards_radeon radeon)
35 $(use_enable video_cards_vmware vmwgfx-experimental-api)
44 ewarn "libdrm's ABI may have changed without change in library name"
45 ewarn "Please rebuild media-libs/mesa, x11-base/xorg-server and"
46 ewarn "your video drivers in x11-drivers/*."