initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
--- xf86-video-mga-1.4.9/configure.ac.orig 2007-06-10 11:55:24.000000000 +0200
|
||||
+++ xf86-video-mga-1.4.9/configure.ac 2007-06-10 12:00:37.000000000 +0200
|
||||
@@ -77,12 +77,18 @@
|
||||
AC_HEADER_STDC
|
||||
|
||||
if test "x$DRI" != xno; then
|
||||
+ if test "$cross_compiling" = no; then
|
||||
AC_CHECK_FILE([${sdkdir}/dri.h],
|
||||
[have_dri_h="yes"], [have_dri_h="no"])
|
||||
AC_CHECK_FILE([${sdkdir}/sarea.h],
|
||||
[have_sarea_h="yes"], [have_sarea_h="no"])
|
||||
AC_CHECK_FILE([${sdkdir}/dristruct.h],
|
||||
[have_dristruct_h="yes"], [have_dristruct_h="no"])
|
||||
+ else
|
||||
+ have_dri_h="yes"
|
||||
+ have_sarea_h="yes"
|
||||
+ have_dristruct_h="yes"
|
||||
+ fi
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([whether to include DRI support])
|
||||
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_XDRIVER_XF86_VIDEO_MGA
|
||||
bool "xf86-video-mga"
|
||||
depends on BR2_PACKAGE_MESA3D
|
||||
select BR2_PACKAGE_LIBDRM
|
||||
select BR2_PACKAGE_XORGPROTO
|
||||
help
|
||||
Matrox video driver
|
||||
|
||||
comment "xf86-video-mga needs mesa3d"
|
||||
depends on !BR2_PACKAGE_MESA3D
|
||||
@@ -0,0 +1,7 @@
|
||||
# From https://lists.x.org/archives/xorg-announce/2018-December/002933.html
|
||||
md5 b8fc99b4adea8bfe80156b13df4b6c9c xf86-video-mga-2.0.0.tar.bz2
|
||||
sha1 833f2710a1fd7b3f2db3700b2ad055527da5033b xf86-video-mga-2.0.0.tar.bz2
|
||||
sha256 268946e1a13e9d80e4f724a0740df9e6e8c8bad37697fcbf456924e9fdbb5d79 xf86-video-mga-2.0.0.tar.bz2
|
||||
sha512 b92006486aef815ff4399f291d610c65d88c0b32a9dae97658c644715ff62b221b01495b5c7a2311745e26f699c1c1f753b81c7bf54cf75567af9f78ac015540 xf86-video-mga-2.0.0.tar.bz2
|
||||
# Locally computed
|
||||
sha256 6c567575e381478c7616eedff3ea2ae5228a5b54fbdd22d4070ebae312fa085c COPYING
|
||||
@@ -0,0 +1,19 @@
|
||||
################################################################################
|
||||
#
|
||||
# xdriver_xf86-video-mga
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XDRIVER_XF86_VIDEO_MGA_VERSION = 2.0.0
|
||||
XDRIVER_XF86_VIDEO_MGA_SOURCE = xf86-video-mga-$(XDRIVER_XF86_VIDEO_MGA_VERSION).tar.bz2
|
||||
XDRIVER_XF86_VIDEO_MGA_SITE = http://xorg.freedesktop.org/archive/individual/driver
|
||||
XDRIVER_XF86_VIDEO_MGA_LICENSE = MIT
|
||||
XDRIVER_XF86_VIDEO_MGA_LICENSE_FILES = COPYING
|
||||
XDRIVER_XF86_VIDEO_MGA_AUTORECONF = YES
|
||||
XDRIVER_XF86_VIDEO_MGA_DEPENDENCIES = xserver_xorg-server libdrm xorgproto
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),)
|
||||
XDRIVER_XF86_VIDEO_MGA_CONF_OPTS = --disable-dri
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user