From 8eae39cb4d71fc79e88307a1bbf9fa4564908203 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 9 Jul 2018 23:29:40 -0500 Subject: user/libepoxy: pull in, take, bump, fix, use meson --- user/libepoxy/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 user/libepoxy/APKBUILD (limited to 'user/libepoxy') diff --git a/user/libepoxy/APKBUILD b/user/libepoxy/APKBUILD new file mode 100644 index 000000000..d8e9170fa --- /dev/null +++ b/user/libepoxy/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Valery Kartel +# Maintainer: A. Wilcox +pkgname=libepoxy +pkgver=1.5.2 +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 mesa-dev" +makedepends="$depends_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="74eac05280d8877995d07cb28d0c3ef285ad57c0c9a3369c59fc3601f2281f92dc103e78cf5538aca853e2a64d145d967c43f3176274fd046fb27aa86827a521 libepoxy-1.5.2.tar.xz" -- cgit v1.2.3-70-g09d2