summaryrefslogblamecommitdiff
path: root/user/libepoxy/APKBUILD
blob: 99b1484b4deaa38117abfbe69c1c740db27b645c (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.4
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 mesa-dev meson ninja"
subpackages="$pkgname-dev"
source="https://github.com/anholt/libepoxy/releases/download/$pkgver/libepoxy-$pkgver.tar.xz"

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

check() {
	ninja -C build test
}

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

sha512sums="7bde6fe7164aaa88b6e476dafb13391c551c530267936a1456e242d2bf648117f319788ba089100b3f773444098a894db6d27326b47dc4ae26db4766308d7510  libepoxy-1.5.4.tar.xz"