summaryrefslogblamecommitdiff
path: root/user/libepoxy/APKBUILD
blob: 9de8a24e20dff532d932eb667d4ac39df486e884 (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.3
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"
install=""
subpackages="$pkgname-dev"
source="https://github.com/anholt/libepoxy/releases/download/$pkgver/libepoxy-$pkgver.tar.xz"

prepare() {
	cd "$builddir"
	default_prepare
	mkdir _build
}

build() {
	cd "$builddir"/_build
	meson -Dprefix=/usr
	ninja
}

check() {
	cd "$builddir"/_build
	ninja test
}

package() {
	cd "$builddir"/_build
	DESTDIR="$pkgdir" ninja install
}

sha512sums="746dfe2a0a91319abd3906c75f81f6b895117f39120e0d8897db1daec1b6d2e91e1318f0dfe588c81907727b0a6dd1a7e4a819ee6b3063a23875312570464720  libepoxy-1.5.3.tar.xz"