/[gentoo-x86]/x11-libs/libdrm/libdrm-2.4.25.ebuild
Gentoo

Contents of /x11-libs/libdrm/libdrm-2.4.25.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide annotations) (download)
Fri Jul 15 16:58:42 2011 UTC (7 years ago) by xarthisius
Branch: MAIN
Changes since 1.8: +2 -2 lines
ppc64 stable wrt #363965

(Portage version: 2.2.0_alpha45/cvs/Linux x86_64)

1 chithanh 1.1 # Copyright 1999-2011 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 xarthisius 1.9 # $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/libdrm-2.4.25.ebuild,v 1.8 2011/06/28 20:08:21 ranger Exp $
4 chithanh 1.1
5     EAPI=4
6     inherit xorg-2
7    
8     EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
9    
10     DESCRIPTION="X.Org libdrm library"
11     HOMEPAGE="http://dri.freedesktop.org/"
12     if [[ ${PV} = 9999* ]]; then
13     SRC_URI=""
14     else
15     SRC_URI="http://dri.freedesktop.org/${PN}/${P}.tar.bz2"
16     fi
17    
18 xarthisius 1.9 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
19 chithanh 1.1 VIDEO_CARDS="intel nouveau radeon vmware"
20     for card in ${VIDEO_CARDS}; do
21     IUSE_VIDEO_CARDS+=" video_cards_${card}"
22     done
23    
24     IUSE="${IUSE_VIDEO_CARDS} +libkms"
25     RESTRICT="test" # see bug #236845
26    
27     RDEPEND="dev-libs/libpthread-stubs"
28 mattst88 1.7 DEPEND="${RDEPEND}
29     >=x11-libs/libpciaccess-0.10"
30 chithanh 1.1
31     PATCHES=(
32     "${FILESDIR}"/${PN}-2.4.23-solaris.patch
33     )
34    
35     pkg_setup() {
36     CONFIGURE_OPTIONS="--enable-udev
37     $(use_enable video_cards_intel intel)
38     $(use_enable video_cards_nouveau nouveau-experimental-api)
39     $(use_enable video_cards_radeon radeon)
40     $(use_enable video_cards_vmware vmwgfx-experimental-api)
41     $(use_enable libkms)"
42    
43     xorg-2_pkg_setup
44     }

  ViewVC Help
Powered by ViewVC 1.1.20