aports/main/libepoxy/APKBUILD
psykose 3052c1fd21 */*: drop ${JOBS:+-j ${JOBS}}
samurai already reads SAMUFLAGS set to job count so this is redundant
same for MAKEFLAGS and make
2023-05-23 01:00:32 +02:00

38 lines
943 B
Plaintext

# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libepoxy
pkgver=1.5.10
pkgrel=1
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 -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
"