xf86-video-fbturbo-sunxi: remove

This commit is contained in:
dkwo 2022-01-02 19:47:35 +01:00 committed by Leah Neukirchen
parent 765914a0b3
commit 460beb45b0
3 changed files with 5 additions and 50 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'removed-packages'
pkgname=removed-packages
version=0.1
revision=59
revision=60
build_style=meta
short_desc="Uninstalls packages removed from repository"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@ -396,3 +396,7 @@ case "$XBPS_TARGET_MACHINE" in
"
;;
esac
if [ "$XBPS_TARGET_MACHINE" = "armv7l" ]; then
replaces+=" xf86-video-fbturbo-sunxi<=0.4.0"
fi

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,29 +0,0 @@
# Template file for 'xf86-video-fbturbo-sunxi'
pkgname=xf86-video-fbturbo-sunxi
version=0.4.0
revision=5
wrksrc="${pkgname%-sunxi}-${version}"
build_style=gnu-configure
hostmakedepends="pkg-config xorg-server-devel"
makedepends="libXrandr-devel libump-git-devel xorg-server-devel xorg-util-macros"
depends="virtual?xserver-abi-video-24_1 sunxi-mali"
short_desc="Xorg DDX driver for Allwinner SoC (A10/A13/A20)"
license="MIT, GPL-2.0-or-later"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="http://github.com/ssvb/xf86-video-fbturbo"
distfiles="https://github.com/ssvb/xf86-video-fbturbo/archive/${version}.tar.gz"
checksum=10411686de0a9d8b2cde300b0d68e9f1d22e3611470d357ef3afc337f123ca0f
archs="armv7l"
conflicts="xf86-video-fbturbo>=0"
LDFLAGS="-Wl,-z,lazy"
pre_configure() {
cp /usr/include/xorg/dri2.h src
}
post_install() {
vinstall xorg.conf 644 usr/share/X11/xorg.conf.d 99-fbturbo.conf
vlicense COPYING
}