From ba43e5da552a07a204c207b95c9ec1b67b98c7fb Mon Sep 17 00:00:00 2001 From: Donnie Berkholz Date: Tue, 10 Jun 2008 07:17:31 +0000 Subject: Add live git version, for mesa 7.1. (Portage version: 2.1.5.4) --- x11-libs/libdrm/ChangeLog | 7 ++++++- x11-libs/libdrm/libdrm-9999.ebuild | 41 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 x11-libs/libdrm/libdrm-9999.ebuild (limited to 'x11-libs') 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 ; +libdrm-9999.ebuild: + Add live git version, for mesa 7.1. 31 Jan 2008; Donnie Berkholz ; 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 +} -- cgit v1.2.3-65-gdbad