summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-05-08 12:49:53 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-05-08 12:49:53 +0000
commit8fb53810771549f8a6faaf1a1d5a613ace9e0881 (patch)
treef24602048147818e62d018bf6f8c3eef0130cb90 /x11-drivers/xf86-video-openchrome
parentCleanup to use xorg-2 eclass as there is almost no chance for new release. (diff)
downloadgentoo-2-8fb53810771549f8a6faaf1a1d5a613ace9e0881.tar.gz
gentoo-2-8fb53810771549f8a6faaf1a1d5a613ace9e0881.tar.bz2
gentoo-2-8fb53810771549f8a6faaf1a1d5a613ace9e0881.zip
Use all xorg-2 features, resulting in smaller ebuild.
(Portage version: 2.2.0_alpha31/cvs/Linux x86_64)
Diffstat (limited to 'x11-drivers/xf86-video-openchrome')
-rw-r--r--x11-drivers/xf86-video-openchrome/ChangeLog6
-rw-r--r--x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.2.904_p920.ebuild37
2 files changed, 20 insertions, 23 deletions
diff --git a/x11-drivers/xf86-video-openchrome/ChangeLog b/x11-drivers/xf86-video-openchrome/ChangeLog
index c35e82d796f6..468e90c212ab 100644
--- a/x11-drivers/xf86-video-openchrome/ChangeLog
+++ b/x11-drivers/xf86-video-openchrome/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-drivers/xf86-video-openchrome
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-openchrome/ChangeLog,v 1.40 2011/05/04 01:06:30 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-openchrome/ChangeLog,v 1.41 2011/05/08 12:49:53 scarabeus Exp $
+
+ 08 May 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ xf86-video-openchrome-0.2.904_p920.ebuild:
+ Use all xorg-2 features, resulting in smaller ebuild.
*xf86-video-openchrome-0.2.904_p920 (04 May 2011)
diff --git a/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.2.904_p920.ebuild b/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.2.904_p920.ebuild
index 57c004385baf..06748524f94d 100644
--- a/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.2.904_p920.ebuild
+++ b/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.2.904_p920.ebuild
@@ -1,48 +1,41 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.2.904_p920.ebuild,v 1.1 2011/05/04 01:06:30 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.2.904_p920.ebuild,v 1.2 2011/05/08 12:49:53 scarabeus Exp $
-EAPI="3"
+EAPI=4
-XDPVER="-1"
-IUSE="debug dri"
-
-inherit autotools xorg-2
+XORG_DRI=dri
+XORG_EAUTORECONF=yes
+inherit xorg-2
DESCRIPTION="X.Org driver for VIA/S3G cards"
HOMEPAGE="http://www.openchrome.org"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
-RDEPEND=">=x11-base/xorg-server-1.9
- dri? ( x11-libs/libdrm )"
+IUSE="debug"
+
+RDEPEND=">=x11-base/xorg-server-1.9"
DEPEND="${RDEPEND}
x11-libs/libX11
x11-libs/libXv
x11-libs/libXvMC
- x11-proto/randrproto
- x11-proto/videoproto
- x11-proto/xextproto
- x11-proto/xproto
- dri? (
- x11-proto/xf86driproto
- x11-proto/glproto
- )"
+"
DOCS=( ChangeLog NEWS README )
pkg_setup() {
- CONFIGURE_OPTIONS="
+ xorg-2_pkg_setup
+ XORG_CONFIGURE_OPTIONS=(
$(use_enable debug)
$(use_enable debug xv-debug)
- "
-}
-
-src_prepare() {
- eautoreconf
+ )
}
pkg_postinst() {
+ xorg-2_pkg_postinst
+
elog "Supported chipsets:"
elog "CLE266 KM400/KN400 K8M800/K8N800 PM800/PM880/CN400"
elog "VM800/P4M800Pro/VN800/CN700 K8M890/K8N890 P4M900/VN896/CN896"