new bblfs: media-libs/libglvnd-1.7.0
This commit is contained in:
30
media-libs/libglvnd-1.7.0.PKGBUILD
Normal file
30
media-libs/libglvnd-1.7.0.PKGBUILD
Normal file
@@ -0,0 +1,30 @@
|
||||
pkgname=libglvnd
|
||||
pkgver=1.7.0
|
||||
pkgrel=3
|
||||
pkgdesc="The GL Vendor-Neutral Dispatch library"
|
||||
arch=('x86_64')
|
||||
url="https://gitlab.freedesktop.org/glvnd/libglvnd"
|
||||
license=('custom:BSD-like')
|
||||
makedepends=('python' 'meson')
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v$pkgver/libglvnd-v$pkgver.tar.gz")
|
||||
md5sums=("6055d0ef8676601eb78a233a9285502c")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
meson setup build \
|
||||
--prefix=/usr \
|
||||
-D x11=disabled \
|
||||
-D glx=disabled
|
||||
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
Reference in New Issue
Block a user