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

Contents of /x11-libs/libdrm/libdrm-2.4.20-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Sun Jun 3 12:00:16 2012 UTC (2 years, 1 month ago) by chithanh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +2 -2 lines
Re-add 2.4.20-r1 for fbsd

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

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-libs/libdrm/libdrm-2.4.20-r1.ebuild,v 1.11 2011/02/18 12:21:41 chithanh Exp $
4
5 EAPI=3
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 KEYWORDS="~x86-fbsd"
19 IUSE="kernel_linux"
20 RESTRICT="test" # see bug #236845
21
22 RDEPEND="dev-libs/libpthread-stubs"
23 DEPEND="${RDEPEND}"
24
25 PATCHES=(
26 # Fixes buidling of x11-drivers/xf86-video-openchrome, Gentoo bug 298352,
27 # upstream bug 26994
28 "${FILESDIR}"/2.4.18-0001-datatypes.patch
29 )
30
31 pkg_setup() {
32 # libdrm_intel fails to build on some arches if dev-libs/libatomic_ops is
33 # installed, bugs 297630, bug 316421 and bug 316541, and is presently only
34 # useful on amd64 and x86.
35 CONFIGURE_OPTIONS="--enable-udev
36 --enable-nouveau-experimental-api
37 --enable-vmwgfx-experimental-api
38 $(use_enable kernel_linux libkms)
39 $(! use amd64 && ! use x86 && ! use x86-fbsd && echo "--disable-intel")"
40 }
41
42 pkg_postinst() {
43 x-modular_pkg_postinst
44
45 ewarn "libdrm's ABI may have changed without change in library name"
46 ewarn "Please rebuild media-libs/mesa, x11-base/xorg-server and"
47 ewarn "your video drivers in x11-drivers/*."
48 }

  ViewVC Help
Powered by ViewVC 1.1.20