summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorsborrill <sborrill>2009-04-24 16:52:45 +0000
committersborrill <sborrill>2009-04-24 16:52:45 +0000
commit6abc8239d80583979abd33aacda6bebac83c86bb (patch)
treea61ed66b805036539ea812055de9c19012c24718 /x11
parent910eea8c6fea881a42dd68ef72fd78858a29f443 (diff)
downloadpkgsrc-6abc8239d80583979abd33aacda6bebac83c86bb.tar.gz
This is the VIA openchrome video driver for the modular Xorg server.
The OpenChrome project is committed to providing and supporting fully free and Open Source drivers that take full advantage of the hardware acceleration of VIA chipsets featuring the VIA UniChrome, UniChrome Pro and Chrome9 integrated graphics processors. This will probably replace xf86-video-via in the future (probably after the next openchrome release).
Diffstat (limited to 'x11')
-rw-r--r--x11/xf86-video-openchrome/DESCR6
-rw-r--r--x11/xf86-video-openchrome/Makefile36
-rw-r--r--x11/xf86-video-openchrome/PLIST8
-rw-r--r--x11/xf86-video-openchrome/distinfo6
-rw-r--r--x11/xf86-video-openchrome/patches/patch-via_id.c12
5 files changed, 68 insertions, 0 deletions
diff --git a/x11/xf86-video-openchrome/DESCR b/x11/xf86-video-openchrome/DESCR
new file mode 100644
index 00000000000..6acc7b15470
--- /dev/null
+++ b/x11/xf86-video-openchrome/DESCR
@@ -0,0 +1,6 @@
+This is the VIA openchrome video driver for the modular Xorg server.
+
+The OpenChrome project is committed to providing and supporting fully free
+and Open Source drivers that take full advantage of the hardware
+acceleration of VIA chipsets featuring the VIA UniChrome, UniChrome Pro and
+Chrome9 integrated graphics processors.
diff --git a/x11/xf86-video-openchrome/Makefile b/x11/xf86-video-openchrome/Makefile
new file mode 100644
index 00000000000..3a9972c083c
--- /dev/null
+++ b/x11/xf86-video-openchrome/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/24 16:52:45 sborrill Exp $
+#
+
+DISTNAME= xf86-video-openchrome-0.2.903
+CATEGORIES= x11
+MASTER_SITES= http://www.openchrome.org/releases/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.openchrome.org/
+COMMENT= Modular Xorg OpenChrome driver for VIA UniChrome video chipsets
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+
+CONFIGURE_ARGS+= --enable-maintainer-mode
+CONFIGURE_ARGS+= --enable-dri
+
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+= XvMC
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+PLIST.XvMC= yes
+.endif
+
+.include "../../x11/modular-xorg-server/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../x11/libXvMC/buildlink3.mk"
+.include "../../x11/randrproto/buildlink3.mk"
+.include "../../x11/renderproto/buildlink3.mk"
+.include "../../x11/xextproto/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xf86-video-openchrome/PLIST b/x11/xf86-video-openchrome/PLIST
new file mode 100644
index 00000000000..8fac11c1dd2
--- /dev/null
+++ b/x11/xf86-video-openchrome/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/04/24 16:52:45 sborrill Exp $
+${PLIST.XvMC}lib/libchromeXvMC.la
+${PLIST.XvMC}lib/libchromeXvMCPro.la
+lib/xorg/modules/drivers/openchrome_drv.la
+man/man4/openchrome.4
+@comment @dirrm lib/xorg/modules/drivers
+@comment @dirrm lib/xorg/modules
+@comment @dirrm lib/xorg
diff --git a/x11/xf86-video-openchrome/distinfo b/x11/xf86-video-openchrome/distinfo
new file mode 100644
index 00000000000..b489b4536b1
--- /dev/null
+++ b/x11/xf86-video-openchrome/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/04/24 16:52:45 sborrill Exp $
+
+SHA1 (xf86-video-openchrome-0.2.903.tar.bz2) = 7889ed015a0ec2447dfe729ed10fb9dd2fd9024d
+RMD160 (xf86-video-openchrome-0.2.903.tar.bz2) = 03e3b5036e1296d2d0a2d45153539797caf73896
+Size (xf86-video-openchrome-0.2.903.tar.bz2) = 420104 bytes
+SHA1 (patch-via_id.c) = 872417f4aa504e4ca5fe57f0b5665c4d97befa36
diff --git a/x11/xf86-video-openchrome/patches/patch-via_id.c b/x11/xf86-video-openchrome/patches/patch-via_id.c
new file mode 100644
index 00000000000..de4c65ca8f4
--- /dev/null
+++ b/x11/xf86-video-openchrome/patches/patch-via_id.c
@@ -0,0 +1,12 @@
+$NetBSD: patch-via_id.c,v 1.1.1.1 2009/04/24 16:52:45 sborrill Exp $
+
+--- src/via_id.c.orig 2009-04-24 11:15:06.000000000 +0100
++++ src/via_id.c 2009-04-24 11:15:06.000000000 +0100
+@@ -179,6 +179,7 @@
+ {"Gigabyte GA-VM900M", VIA_P4M900, 0x1458, 0xD000, VIA_DEVICE_CRT},
+ {"MSI VR321", VIA_P4M900, 0x1462, 0x3355, VIA_DEVICE_CRT | VIA_DEVICE_LCD},
+ {"MSI P4M900M / P4M900M2-F/L", VIA_P4M900, 0x1462, 0x7255, VIA_DEVICE_CRT},
++ {"Twinhead H12V", VIA_P4M900, 0x14FF, 0xA00F, VIA_DEVICE_CRT | VIA_DEVICE_LCD},
+ {"Everex NC1501/NC1503", VIA_P4M900, 0x1509, 0x1E30, VIA_DEVICE_CRT | VIA_DEVICE_LCD},
+ {"Clevo M660SE", VIA_P4M900, 0x1558, 0x0664, VIA_DEVICE_CRT | VIA_DEVICE_LCD},
+ {"Clevo M660SR", VIA_P4M900, 0x1558, 0x0669, VIA_DEVICE_CRT | VIA_DEVICE_LCD},