mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-05 07:52:26 +01:00
38 lines
939 B
Plaintext
38 lines
939 B
Plaintext
# Contributor: Valery Kartel <valery.kartel@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libepoxy
|
|
pkgver=1.5.8
|
|
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="https://github.com/anholt/libepoxy/releases/download/$pkgver/libepoxy-$pkgver.tar.xz"
|
|
|
|
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 -v -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
c2d25fa6b3bc3148ae3dc5efbd29efcb7b89569c0c9530d6eec705ebce81077f3a9aa1e2ad89d81918e69e0e67d5487637493354dff13545d9334b95ec97689c libepoxy-1.5.8.tar.xz
|
|
"
|