xf86-video-mga: update to 2.1.0.

This commit is contained in:
Piraty 2025-07-02 01:06:53 +02:00
parent 5d915579e8
commit a739e892d6
2 changed files with 6 additions and 49 deletions

View file

@ -1,44 +0,0 @@
Remove some checks that break cross.
--- a/configure.ac 2019-04-30 17:00:37.796389608 +0200
+++ b/configure.ac 2019-04-30 17:01:44.933049215 +0200
@@ -63,37 +63,14 @@
[EXA="$enableval"],
[EXA=yes])
-# Store the list of server defined optional extensions in REQUIRED_MODULES
-XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
-XORG_DRIVER_CHECK_EXT(RENDER, renderproto)
-XORG_DRIVER_CHECK_EXT(XV, videoproto)
-XORG_DRIVER_CHECK_EXT(DPMSExtension, xextproto)
-
# Obtain compiler/linker options for the driver dependencies
-PKG_CHECK_MODULES(XORG, [xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES])
+PKG_CHECK_MODULES(XORG, [xorg-server >= 1.1.0 xproto fontsproto randrproto renderproto videoproto xextproto])
sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
# Checks for libraries.
-if test "x$DRI" != xno; 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"])
-fi
-
AC_MSG_CHECKING([whether to include DRI support])
-if test "x$DRI" = xauto; then
- if test "x$have_dri_h" = xyes && \
- test "x$have_sarea_h" = xyes && \
- test "x$have_dristruct_h" = xyes; then
- DRI="yes"
- else
- DRI="no"
- fi
-fi
+DRI="no"
AC_MSG_RESULT([$DRI])
AM_CONDITIONAL(DRI, test "x$DRI" = xyes)

View file

@ -1,17 +1,17 @@
# Template file for 'xf86-video-mga'
pkgname=xf86-video-mga
version=2.0.0
revision=3
version=2.1.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config xorg-util-macros"
hostmakedepends="automake libtool pkg-config xorg-util-macros xorg-server-devel"
makedepends="xorg-server-devel"
depends="virtual?xserver-abi-video-25_1"
short_desc="Xorg Matrox Graphics Adapter video driver"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2"
checksum=268946e1a13e9d80e4f724a0740df9e6e8c8bad37697fcbf456924e9fdbb5d79
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.xz"
checksum=7bf85dbf4efa17b7cdd483be8f61cf11fd73d0310514b6ae10d89358de63ab73
lib32disabled=yes
LDFLAGS="-Wl,-z,lazy"
@ -20,6 +20,7 @@ CFLAGS="-fcommon"
pre_configure() {
autoreconf -if
}
post_install() {
vlicense COPYING
}