xf86-video-fbturbo: remove

This commit is contained in:
dkwo 2022-01-02 19:46:01 +01:00 committed by Leah Neukirchen
parent 66d8e27be4
commit 765914a0b3
3 changed files with 10 additions and 43 deletions

View file

@ -386,3 +386,13 @@ case "$XBPS_TARGET_MACHINE" in
"
;;
esac
case "$XBPS_TARGET_MACHINE" in
armv6l*) ;;
armv7l*) ;;
aarch64*)
replaces+="
xf86-video-fbturbo<=0.4.0
"
;;
esac

View file

@ -1,20 +0,0 @@
--- a/src/fbdev.c
+++ b/src/fbdev.c
@@ -1037,7 +1037,7 @@
fPtr->CloseScreen = pScreen->CloseScreen;
pScreen->CloseScreen = FBDevCloseScreen;
-#if XV
+#ifdef XV
fPtr->SunxiVideo_private = NULL;
if (xf86ReturnOptValBool(fPtr->Options, OPTION_XV_OVERLAY, TRUE) &&
fPtr->sunxi_disp_private) {
@@ -1126,7 +1126,7 @@
fPtr->SunxiDispHardwareCursor_private = NULL;
}
-#if XV
+#ifdef XV
if (fPtr->SunxiVideo_private) {
SunxiVideo_Close(pScreen);
free(fPtr->SunxiVideo_private);

View file

@ -1,23 +0,0 @@
# Template file for 'xf86-video-fbturbo'
pkgname=xf86-video-fbturbo
version=0.4.0
revision=17
build_style=gnu-configure
short_desc="Xorg DDX driver for ARM devices (RaspberryPi/Allwinner)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT, GPL-2.0-or-later"
homepage="http://github.com/ssvb/xf86-video-fbturbo"
distfiles="https://github.com/ssvb/xf86-video-fbturbo/archive/${version}.tar.gz"
checksum=10411686de0a9d8b2cde300b0d68e9f1d22e3611470d357ef3afc337f123ca0f
archs="armv6l* armv7l* aarch64*"
hostmakedepends="pkg-config xorg-server-devel"
makedepends="libXrandr-devel xorg-server-devel"
depends="virtual?xserver-abi-video-24_1"
LDFLAGS="-Wl,-z,lazy"
post_install() {
vinstall xorg.conf 644 usr/share/X11/xorg.conf.d 99-fbturbo.conf
vlicense COPYING
}