summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xfree-drm/ChangeLog9
-rw-r--r--x11-base/xfree-drm/files/digest-xfree-drm-4.2.99.44
-rw-r--r--x11-base/xfree-drm/xfree-drm-4.2.99.3.ebuild4
-rw-r--r--x11-base/xfree-drm/xfree-drm-4.2.99.4.ebuild98
4 files changed, 112 insertions, 3 deletions
diff --git a/x11-base/xfree-drm/ChangeLog b/x11-base/xfree-drm/ChangeLog
index 20b03c8e62cc..5920e1dc864e 100644
--- a/x11-base/xfree-drm/ChangeLog
+++ b/x11-base/xfree-drm/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-base/xfree-drm
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/ChangeLog,v 1.1 2003/02/03 00:37:19 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/ChangeLog,v 1.2 2003/02/03 01:04:31 seemant Exp $
+
+*xfree-drm-4.2.99.4 (03 Feb 2003)
+
+ 03 Feb 2003; Seemant Kulleen <seemant@gentoo.org>
+ xfree-drm-4.2.99.4.ebuild files/* :
+
+ version bump for newer snapshot
*xfree-drm-4.2.99.3 (03 Feb 2003)
diff --git a/x11-base/xfree-drm/files/digest-xfree-drm-4.2.99.4 b/x11-base/xfree-drm/files/digest-xfree-drm-4.2.99.4
new file mode 100644
index 000000000000..8ca865261ff8
--- /dev/null
+++ b/x11-base/xfree-drm/files/digest-xfree-drm-4.2.99.4
@@ -0,0 +1,4 @@
+MD5 26ad45aaa28384e66555d541f036255b X4.2.99.4-1.tar.bz2 16597716
+MD5 f74a12359840f4cb13bbf5a55f66dfb7 X4.2.99.4-2.tar.bz2 9770957
+MD5 dc5d49fe6b6e91b9d6817baff6898388 X4.2.99.4-3.tar.bz2 12811390
+MD5 b308de3cbfdd87bb8436384517e6f924 X4.2.99.4-4.tar.bz2 16671535
diff --git a/x11-base/xfree-drm/xfree-drm-4.2.99.3.ebuild b/x11-base/xfree-drm/xfree-drm-4.2.99.3.ebuild
index 3c7360010a2d..29e2b593dd1c 100644
--- a/x11-base/xfree-drm/xfree-drm-4.2.99.3.ebuild
+++ b/x11-base/xfree-drm/xfree-drm-4.2.99.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/xfree-drm-4.2.99.3.ebuild,v 1.1 2003/02/03 00:37:19 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/xfree-drm-4.2.99.3.ebuild,v 1.2 2003/02/03 01:04:31 seemant Exp $
# Small note: we should prob consider using a DRM only tarball, as it will ease
# some of the overhead on older systems, and will enable us to
@@ -44,7 +44,7 @@ fi
LICENSE="X11"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips"
+KEYWORDS="~x86"
DEPEND=">=x11-base/xfree-${PV}"
diff --git a/x11-base/xfree-drm/xfree-drm-4.2.99.4.ebuild b/x11-base/xfree-drm/xfree-drm-4.2.99.4.ebuild
new file mode 100644
index 000000000000..3d3f4e05bfc8
--- /dev/null
+++ b/x11-base/xfree-drm/xfree-drm-4.2.99.4.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/xfree-drm-4.2.99.4.ebuild,v 1.1 2003/02/03 01:04:31 seemant Exp $
+
+# Small note: we should prob consider using a DRM only tarball, as it will ease
+# some of the overhead on older systems, and will enable us to
+# update DRM if there are fixes not already in XFree86 tarballs ...
+
+IUSE=""
+
+inherit eutils
+
+# Make sure Portage does _NOT_ strip symbols. We will do it later and make sure
+# that only we only strip stuff that are safe to strip ...
+DEBUG="yes"
+RESTRICT="nostrip"
+
+# Are we using a snapshot ?
+USE_SNAPSHOT="yes"
+
+BASE_PV="${PV}"
+S="${WORKDIR}/xc"
+DESCRIPTION="Xfree86 Kernel DRM modules"
+SRC_PATH0="ftp://ftp.xfree.org/pub/XFree86/${BASE_PV}/source"
+SRC_PATH1="ftp://ftp1.sourceforge.net/pub/mirrors/XFree86/${BASE_PV}/source"
+# If we are using CVS snapshots made by Seemant ...
+SRC_PATH_SS="http://www.ibiblio.org/gentoo/gentoo-sources"
+HOMEPAGE="http://www.xfree.org"
+
+if [ "${USE_SNAPSHOT}" = "yes" ]
+then
+ SRC_URI="${SRC_PATH_SS}/X${BASE_PV}-1.tar.bz2
+ ${SRC_PATH_SS}/X${BASE_PV}-2.tar.bz2
+ ${SRC_PATH_SS}/X${BASE_PV}-3.tar.bz2
+ ${SRC_PATH_SS}/X${BASE_PV}-4.tar.bz2"
+else
+ SRC_URI="${SRC_PATH0}/X${MY_SV}src-1.tgz
+ ${SRC_PATH0}/X${MY_SV}src-2.tgz
+ ${SRC_PATH0}/X${MY_SV}src-3.tgz
+ ${SRC_PATH1}/X${MY_SV}src-1.tgz
+ ${SRC_PATH1}/X${MY_SV}src-2.tgz
+ ${SRC_PATH1}/X${MY_SV}src-3.tgz"
+fi
+
+LICENSE="X11"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=x11-base/xfree-${PV}"
+
+PROVIDE="virtual/drm"
+
+pkg_setup() {
+
+ check_KV
+}
+
+src_unpack() {
+
+ if [ "${USE_SNAPSHOT}" = "yes" ]
+ then
+ unpack X${BASE_PV}-{1,2,3,4}.tar.bz2
+ else
+ unpack X${MY_SV}src-{1,2,3}.tgz
+ fi
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo-Makefile-fixup.patch
+}
+
+src_compile() {
+
+ check_KV
+
+ einfo "Building DRM..."
+ cd ${S}/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel
+ make -f Makefile.linux \
+ TREE="/usr/src/linux/include" KV="${KV}"
+}
+
+src_install() {
+
+ einfo "installing DRM..."
+ cd ${S}/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel
+ make -f Makefile.linux \
+ TREE="/usr/src/linux/include" \
+ KV="${KV}" DESTDIR="${D}" \
+ install || die
+}
+
+pkg_postinst() {
+
+ if [ "${ROOT}" = "/" ]
+ then
+ /sbin/modules-update
+ fi
+}
+