libdrm 2.4.120-1
This commit is contained in:
commit
0ae8ad9f93
32
PKGBUILD
Normal file
32
PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# Maintainer: Future Linux Team <futurelinux@163.com>
|
||||||
|
|
||||||
|
pkgname=libdrm
|
||||||
|
pkgver=2.4.120
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Userspace interface to kernel DRM services"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://dri.freedesktop.org/"
|
||||||
|
license=('custom')
|
||||||
|
depends=('glibc' 'libpciaccess')
|
||||||
|
makedepends=('meson')
|
||||||
|
source=(https://dri.freedesktop.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
||||||
|
sha256sums=(3bf55363f76c7250946441ab51d3a6cc0ae518055c0ff017324ab76cdefb327a)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
meson setup build \
|
||||||
|
--prefix=/usr \
|
||||||
|
--buildtype=release \
|
||||||
|
-Dlibdir=/usr/lib64 \
|
||||||
|
-Dudev=true \
|
||||||
|
-Dvalgrind=disabled
|
||||||
|
|
||||||
|
meson compile -C build
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname}-${pkgver}
|
||||||
|
|
||||||
|
meson install -C build --destdir ${pkgdir}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user