summaryrefslogblamecommitdiff
path: root/user/libepoxy/APKBUILD
blob: 23d4bef2e4165617d672a71ee86b1a879c0bcdf7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                      
            






                                                                   
                        
                                             


                                                                                             
         



                               


         
                           


           
                                                

 
                                                                                                                                                                    
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libepoxy
pkgver=1.5.9
pkgrel=0
pkgdesc="Direct Rendering Manager runtime library"
url="https://github.com/anholt/libepoxy"
arch="all"
options="!check"  # Requires X11 and appropriate mesa-dri-* package
license="MIT"
depends=""
depends_dev="libx11-dev"
makedepends="$depends_dev libglvnd-dev meson"
subpackages="$pkgname-dev"
source="https://github.com/anholt/libepoxy/releases/download/$pkgver/libepoxy-$pkgver.tar.xz"

build() {
	meson \
		-Dprefix=/usr \
		build
	meson compile -C build
}

check() {
	meson test -C build
}

package() {
	DESTDIR="$pkgdir" meson install -C build
}

sha512sums="eebaae4b8ff5014a8c90bf63fd9626424f472f99a7dbb81273a45b06c854e57f7d1b2d0fb44847221173c4f92d659fcec8a848a3b32f07225cd0ba35a2fad135  libepoxy-1.5.9.tar.xz"