mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-21 12:26:50 +02:00
31 lines
791 B
Text
31 lines
791 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=glu
|
|
pkgver=9.0.3
|
|
pkgrel=3
|
|
pkgdesc="Mesa OpenGL Utility library"
|
|
url="https://cgit.freedesktop.org/mesa/glu/"
|
|
arch="all"
|
|
options="!check" # No test suite.
|
|
license="SGI-B-1.1 AND SGI-B-2.0"
|
|
depends_dev="mesa-dev"
|
|
makedepends="$depends_dev meson"
|
|
replaces="mesa-glu"
|
|
subpackages="$pkgname-dev"
|
|
source="https://mesa.freedesktop.org/archive/glu/glu-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Ddefault_library=shared \
|
|
-Dgl_provider=osmesa \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
b2781059c0e176192c3fc0d7244645020937a463311171efddb9f35fb94ee43faabcf627fa7f429d48fceaf6dd9c5adb69c86c7a21ec4ea490f4ab143d52e3ba glu-9.0.3.tar.xz
|
|
"
|