summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-06-10 07:17:31 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2008-06-10 07:17:31 +0000
commitba43e5da552a07a204c207b95c9ec1b67b98c7fb (patch)
tree78eb0cd6be94ef16e2074d645fa749e19b1958ac /x11-libs
parentNew package: X.Org DRI2 protocol headers. (diff)
downloadgentoo-2-ba43e5da552a07a204c207b95c9ec1b67b98c7fb.tar.gz
gentoo-2-ba43e5da552a07a204c207b95c9ec1b67b98c7fb.tar.bz2
gentoo-2-ba43e5da552a07a204c207b95c9ec1b67b98c7fb.zip
Add live git version, for mesa 7.1.
(Portage version: 2.1.5.4)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libdrm/ChangeLog7
-rw-r--r--x11-libs/libdrm/libdrm-9999.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/x11-libs/libdrm/ChangeLog b/x11-libs/libdrm/ChangeLog
index e0fc80daa500..52a0235638f9 100644
--- a/x11-libs/libdrm/ChangeLog
+++ b/x11-libs/libdrm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/libdrm
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.52 2008/01/31 04:31:10 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/ChangeLog,v 1.53 2008/06/10 07:17:31 dberkholz Exp $
+
+*libdrm-9999 (10 Jun 2008)
+
+ 10 Jun 2008; Donnie Berkholz <dberkholz@gentoo.org>; +libdrm-9999.ebuild:
+ Add live git version, for mesa 7.1.
31 Jan 2008; Donnie Berkholz <dberkholz@gentoo.org>; ChangeLog:
Clean up.
diff --git a/x11-libs/libdrm/libdrm-9999.ebuild b/x11-libs/libdrm/libdrm-9999.ebuild
new file mode 100644
index 000000000000..de040b1278fd
--- /dev/null
+++ b/x11-libs/libdrm/libdrm-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libdrm/libdrm-9999.ebuild,v 1.1 2008/06/10 07:17:31 dberkholz Exp $
+
+# Must be before x-modular eclass is inherited
+#SNAPSHOT="yes"
+
+inherit autotools x-modular git
+
+EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
+EGIT_BOOTSTRAP="eautoreconf"
+
+DESCRIPTION="X.Org libdrm library"
+HOMEPAGE="http://dri.freedesktop.org/"
+SRC_URI=""
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+pkg_preinst() {
+ x-modular_pkg_preinst
+
+ if [[ -e ${ROOT}/usr/$(get_libdir)/libdrm.so.1 ]] ; then
+ cp -pPR "${ROOT}"/usr/$(get_libdir)/libdrm.so.{1,1.0.0} "${D}"/usr/$(get_libdir)/
+ fi
+}
+
+pkg_postinst() {
+ x-modular_pkg_postinst
+
+ if [[ -e ${ROOT}/usr/$(get_libdir)/libdrm.so.1 ]] ; then
+ elog "You must re-compile all packages that are linked against"
+ elog "libdrm 1 by using revdep-rebuild from gentoolkit:"
+ elog "# revdep-rebuild --library libdrm.so.1"
+ elog "After this, you can delete /usr/$(get_libdir)/libdrm.so.1"
+ elog "and /usr/$(get_libdir)/libdrm.so.1.0.0 ."
+ epause
+ fi
+}