pkgbase = libdrm-revyos
	pkgdesc = Userspace interface to kernel DRM services (RevyOS)
	pkgver = 2.4.114
	pkgrel = 1.1
	url = https://github.com/revyos/libdrm
	arch = riscv64
	license = custom
	makedepends = git
	makedepends = python-docutils
	makedepends = meson
	makedepends = cairo
	depends = libpciaccess
	depends = glibc
	optdepends = cairo: needed for modetest tool
	replaces = libdrm-new
	replaces = libdrm-nouveau
	source = libdrm-revyos::git+https://github.com/revyos/libdrm#tag=revyos-2.4.114
	source = COPYING
	source = 0001-fix-export-symbols.patch
	source = 0003-libsync-add-support-for-pre-v4.7-kernels.patch
	source = 0004-Add-sync_fence_info-and-sync_pt_info.patch
	source = 0005-xf86drm-add-support-for-populating-drm-formats.patch
	source = 0006-Add-sync_file_info-and-sync_get_fence_info.patch
	sha512sums = SKIP
	sha512sums = b0ca349b882a4326b19f81f22804fabdb6fb7aef31cdc7b16b0a7ae191bfbb50c7daddb2fc4e6c33f1136af06d060a273de36f6f3412ea326f16fa4309fda660
	sha512sums = b43d88cb73cb6f27fc426427d3ec18465813ac317630c2da0f8b608a4776ee111e4b0ba92ec7b1e36d00ef57ab90a44fc67922fd676364541de61c4de77b5ba1
	sha512sums = 08b383319336e2064e13c0bb6d809c47e3949169d4b7aff8ac210e41455c31393b8563f8d32b72341fc6ebae6a834b7d8200e583bcd4c1e42d208ddf71a5d38e
	sha512sums = 77579c20c130f99b8771169c8ccfbbe837a132c26de398d98d62701dd9e0992f1d1add67069f68033d2b43f2c8eed88c4528e46f4ef572c22119249c4cd6b7e0
	sha512sums = 83240c951fe54c615e90277e5df5a754629a2725f09c38ca81664f34fc5fff08a7f4f809e815acfd086cab700a2b8062190cacfd27b2d924c0858fb1fee45d01
	sha512sums = 176cf420fd27bb3418bed8887c86b49df42969357cf01d872b1abdfa5b8564694bf1410b9b094542f7068ab96ef0336b86205c0bedcf5658e5fe95d02d65e4c8

pkgname = libdrm-revyos
