summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-09-13 20:09:36 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-09-13 20:09:36 +0000
commit8f042cc078df6c986dba2925fc9283efa4b6b5b7 (patch)
tree5de06c744239d44f18a7d3f0e9a6f3d4aa441d0c /x11-libs/libdrm-poulsbo
parentInitial import of the intel poulsbo graphics driver and support libs. Fixes #... (diff)
downloadgentoo-2-8f042cc078df6c986dba2925fc9283efa4b6b5b7.tar.gz
gentoo-2-8f042cc078df6c986dba2925fc9283efa4b6b5b7.tar.bz2
gentoo-2-8f042cc078df6c986dba2925fc9283efa4b6b5b7.zip
Initial import of the intel poulsbo graphics driver and support libs. Fixes #274184. Thanks to Konrad Campowsky for the ebuilds and all the people who tested them.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/libdrm-poulsbo')
-rw-r--r--x11-libs/libdrm-poulsbo/ChangeLog12
-rw-r--r--x11-libs/libdrm-poulsbo/libdrm-poulsbo-2.3.0_p9.ebuild47
-rw-r--r--x11-libs/libdrm-poulsbo/metadata.xml9
3 files changed, 68 insertions, 0 deletions
diff --git a/x11-libs/libdrm-poulsbo/ChangeLog b/x11-libs/libdrm-poulsbo/ChangeLog
new file mode 100644
index 000000000000..e86e1b9d7492
--- /dev/null
+++ b/x11-libs/libdrm-poulsbo/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for x11-libs/libdrm-poulsbo
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm-poulsbo/ChangeLog,v 1.1 2009/09/13 20:09:36 patrick Exp $
+
+*libdrm-poulsbo-2.3.0_p9 (13 Sep 2009)
+
+ 13 Sep 2009; Patrick Lauer <patrick@gentoo.org>
+ +libdrm-poulsbo-2.3.0_p9.ebuild, +metadata.xml:
+ Initial import of the intel poulsbo graphics driver and support libs.
+ Fixes #274184. Thanks to Konrad Campowsky for the ebuilds and all the
+ people who tested them.
+
diff --git a/x11-libs/libdrm-poulsbo/libdrm-poulsbo-2.3.0_p9.ebuild b/x11-libs/libdrm-poulsbo/libdrm-poulsbo-2.3.0_p9.ebuild
new file mode 100644
index 000000000000..96e845dd7919
--- /dev/null
+++ b/x11-libs/libdrm-poulsbo/libdrm-poulsbo-2.3.0_p9.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm-poulsbo/libdrm-poulsbo-2.3.0_p9.ebuild,v 1.1 2009/09/13 20:09:36 patrick Exp $
+
+EAPI="2"
+
+WANT_AUTOMAKE="1.9"
+
+inherit rpm autotools
+
+DESCRIPTION="libdrm for the intel gma500 (poulsbo)"
+HOMEPAGE="http://www.happyassassin.net/2009/05/13/native-poulsbo-gma-500-graphics-driver-for-fedora-10/"
+SRC_URI="http://adamwill.fedorapeople.org/poulsbo/src/libdrm-poulsbo-2.3.0-9.fc11.src.rpm"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=x11-libs/libdrm-2.3"
+
+S=${WORKDIR}/libdrm-2.3.0
+
+src_prepare() {
+ epatch "${WORKDIR}/${PN}_configure_debian.patch"
+ epatch "${WORKDIR}/${PN}_headers_debian.patch"
+ epatch "${WORKDIR}/${PN}-relocate_headers.patch"
+
+ mv "${WORKDIR}/*.h" "${S}/shared-core"
+}
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ econf --libdir=/usr/lib/psb
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+ dodir /usr/lib/pkgconfig
+ mv "${D}/usr/lib/psb/pkgconfig/libdrm.pc" "${D}/usr/lib/pkgconfig/libdrm-poulsbo.pc"
+ dodir /etc/env.d
+ echo LDPATH=/usr/lib/psb > ${D}/etc/env.d/02psb
+}
diff --git a/x11-libs/libdrm-poulsbo/metadata.xml b/x11-libs/libdrm-poulsbo/metadata.xml
new file mode 100644
index 000000000000..e433c08d449a
--- /dev/null
+++ b/x11-libs/libdrm-poulsbo/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+</pkgmetadata>