8de62b0292
Closes: #11988 [via git-merge-pr]
31 lines
839 B
Bash
31 lines
839 B
Bash
# Template file for 'libepoxy'
|
|
pkgname=libepoxy
|
|
version=1.5.0
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config python xorg-util-macros"
|
|
makedepends="libX11-devel MesaLib-devel"
|
|
short_desc="Library for handling OpenGL function pointer management for you"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="https://github.com/anholt/libepoxy"
|
|
distfiles="https://github.com/anholt/libepoxy/archive/${version}.tar.gz"
|
|
checksum=76c18bf8a8c48c804f4ce64f533c6631b3b19357735bf0b2f6fb4abe752fd2e9
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) configure_args+=" -Dhas-dlvsym=false" ;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libepoxy-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|