summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-08 21:03:12 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-08 21:03:12 +0100
commit41ceb8151693a03789e3351afc8df3bd00d5d0b1 (patch)
treed445d948a97e1ea028d27d7b1a68cc74272a5751 /package
parentfefe19899589531153efcfb383ac77e32c427bd4 (diff)
add cirrus xorg driver for qemu
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/Makefile1
-rw-r--r--package/xf86-video-cirrus/Config.in8
-rw-r--r--package/xf86-video-cirrus/Makefile28
4 files changed, 38 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 3055b2e00..2e3aee10c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -492,6 +492,7 @@ endmenu
menu "X"
source "package/xorg-server/Config.in"
+source "package/xf86-video-cirrus/Config.in"
source "package/xf86-video-geode/Config.in"
menu "X Libraries"
diff --git a/package/Makefile b/package/Makefile
index 3684a77ed..e4df19ce3 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -440,6 +440,7 @@ package-$(ADK_PACKAGE_XCMISCPROTO) += xcmiscproto
package-$(ADK_PACKAGE_XEXTPROTO) += xextproto
package-$(ADK_PACKAGE_XKBCOMP) += xkbcomp
package-$(ADK_PACKAGE_XKEYBOARD_CONFIG) += xkeyboard-config
+package-$(ADK_PACKAGE_XF86_VIDEO_CIRRUS) += xf86-video-cirrus
package-$(ADK_PACKAGE_XF86_VIDEO_GEODE) += xf86-video-geode
package-$(ADK_PACKAGE_XF86DGA) += xf86dga
package-$(ADK_PACKAGE_XF86DGAPROTO) += xf86dgaproto
diff --git a/package/xf86-video-cirrus/Config.in b/package/xf86-video-cirrus/Config.in
new file mode 100644
index 000000000..4df3074b3
--- /dev/null
+++ b/package/xf86-video-cirrus/Config.in
@@ -0,0 +1,8 @@
+config ADK_PACKAGE_XF86_VIDEO_CIRRUS
+ prompt "xf86-video-cirrus.......................... X11 driver for Cirrus chips"
+ tristate
+ default n
+ depends on ADK_LINUX_X86_QEMU || ADK_LINUX_X86_64_QEMU
+ select ADK_PACKAGE_XORG_SERVER
+ help
+ http://www.x.org
diff --git a/package/xf86-video-cirrus/Makefile b/package/xf86-video-cirrus/Makefile
new file mode 100644
index 000000000..4e40f4d0b
--- /dev/null
+++ b/package/xf86-video-cirrus/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= xf86-video-cirrus
+PKG_VERSION:= 1.3.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= c63a29917c48d0c317445991fc36d09a
+PKG_DESCR:= X11 driver for Cirrus VGA chips
+PKG_SECTION:= x11
+PKG_DEPENDS:= xorg-server
+PKG_SITES:= http://xorg.freedesktop.org/releases/individual/driver/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XF86_VIDEO_CIRRUS,${PKG_NAME},$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_STYLE:= gnu
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_XF86_VIDEO_CIRRUS}/usr/lib/xorg/modules/drivers
+ ${CP} ${WRKINST}/usr/lib/xorg/modules/drivers/cirrus_*.so \
+ ${IDIR_XF86_VIDEO_CIRRUS}/usr/lib/xorg/modules/drivers/
+
+include ${TOPDIR}/mk/pkg-bottom.mk