summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-04 18:13:28 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-04 18:13:40 +0200
commit05522ca5a7a93f153e74146fea51d8287f7b93ab (patch)
treef8f9c3a3231eb4f572e11c4f12d8b9758ff997fa /package
parent97886e9ba7ad1f967ba9790a18d2e05fd80915e7 (diff)
use Cirrus DRM and xf86-video-modesetting for Qemu
Diffstat (limited to 'package')
-rw-r--r--package/xf86-video-modesetting/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/xf86-video-modesetting/Makefile b/package/xf86-video-modesetting/Makefile
new file mode 100644
index 000000000..453c36f41
--- /dev/null
+++ b/package/xf86-video-modesetting/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-modesetting
+PKG_VERSION:= 0.8.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 2d491acc5e5de7f9eae9e6dd1d0ee2fc
+PKG_DESCR:= x11 driver for kms
+PKG_SECTION:= x11/drivers
+PKG_DEPENDS:= xorg-server libstdcxx
+PKG_BUILDDEP:= xorg-server
+PKG_SITES:= ${MASTER_SITE_XORG}
+
+PKG_SYSTEM_DEPENDS:= qemu-x86 qemu-x86_64
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XF86_VIDEO_MODESETTING,xf86-video-modesetting,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+xf86-video-modesetting-install:
+ ${INSTALL_DIR} ${IDIR_XF86_VIDEO_MODESETTING}/usr/lib/xorg/modules/drivers
+ ${CP} ${WRKINST}/usr/lib/xorg/modules/drivers/modesetting_*.so \
+ ${IDIR_XF86_VIDEO_MODESETTING}/usr/lib/xorg/modules/drivers/
+
+include ${TOPDIR}/mk/pkg-bottom.mk