aboutsummaryrefslogblamecommitdiffstats
path: root/main/libepoxy/APKBUILD
blob: 71cbd2279e7863bba9882b10cc2fad9fc2c51548 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      

                                                   
             
        
                                                  
                                        

             
                                   

                                         
                          
                                                                                                    
 
         







                                                   


         
                                                           


           
                                                              

 
            
                                                                                                                                                        
 
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libepoxy
pkgver=1.5.10
pkgrel=0
pkgdesc="Direct Rendering Manager runtime library"
url="https://github.com/anholt/libepoxy"
arch="all"
license="MIT"
options="!check"  # Requires dlvsym
depends_dev="libx11-dev"
makedepends="$depends_dev mesa-dev meson"
subpackages="$pkgname-dev"
source="$pkgname-pkgver.tar.gz::https://github.com/anholt/libepoxy/archive/refs/tags/$pkgver.tar.gz"

build() {
	abuild-meson \
		-Ddocs=false \
		-Degl=yes \
		-Dglx=yes \
		-Dx11=true \
		-Dtests=true \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
6786f31c6e2865e68a90eb912900a86bf56fd3df4d78a477356886ac3b6ef52ac887b9c7a77aa027525f868ae9e88b12e5927ba56069c2e115acd631fca3abee  libepoxy-pkgver.tar.gz
"