pmos/xf86-video-fbdev-remarkable-zero-gravitas: port to pmos
All checks were successful
/ lint (pull_request) Successful in 26s
/ deploy-x86_64 (pull_request) Successful in 25s
/ build-x86_64 (pull_request) Successful in 38s
/ deploy-aarch64 (pull_request) Successful in 54s
/ build-aarch64 (pull_request) Successful in 1m20s

This commit is contained in:
Antoine Martin 2025-01-08 23:33:59 -05:00
parent 5d7449a835
commit c0f9fb5923
Signed by: forge
GPG key ID: D62A472A4AA7D541
3 changed files with 12 additions and 8 deletions

View file

@ -1,14 +1,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-fbdev-rm
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=xf86-video-fbdev-remarkable-zero-gravitas
pkgver=0.5.0
pkgrel=3
pkgdesc="Video driver for framebuffer device with rM patches"
_kver=5.4.70
pkgrel=0
pkgdesc="Video driver for framebuffer device with support for reMarkable rM1 (remarkable-zero-gravitas)"
url="https://www.x.org"
arch="all"
arch="armv7"
license="MIT"
subpackages="$pkgname-doc"
provides="xf86-video-fbdev=$pkgver-r$pkgrel"
makedepends="xorg-server-dev libxi-dev util-macros xorgproto linux-rm-headers"
makedepends="xorg-server-dev libxi-dev util-macros xorgproto linux-remarkable-zero-gravitas-dev"
builddir="$srcdir"/xf86-video-fbdev-$pkgver
source="
https://www.x.org/releases/individual/driver/xf86-video-fbdev-$pkgver.tar.bz2
@ -17,11 +19,13 @@ source="
"
build() {
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy -I/usr/src/linux-headers-$_kver/include"
export CPPFLAGS="$CPPFLAGS -I/usr/src/linux-headers-$_kver/include"
export CFLAGS="$CFLAGS -I/usr/src/linux-headers-$_kver/include"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
--prefix=/usr \
make
}