diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -7,18 +7,19 @@ _pkgbase=glew pkgname=glew-egl-glx pkgver=2.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="The OpenGL Extension Wrangler Library" arch=('aarch64' 'armv7h' 'pentium4' 'x86_64') url="http://glew.sourceforge.net" # no https available license=('BSD' 'MIT' 'GPL') -depends=('libxmu' 'libxi' 'glu') +depends=('glibc' 'libegl' 'libgl') +optdepends=('libx11: for glxewinfo and visualinfo') conflicts=('glew' 'glew-wayland') provides=('glew') source=(https://downloads.sourceforge.net/${_pkgbase}/${_pkgbase}-${pkgver}.tgz egl+glx.patch) sha256sums=('04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a993c95' - '73ad84f9e69fb5630fda13cd95f420f4c751ab9fbc3ea5b5aadd1184d27e0601') + '971b09095bd4335a1e2813c997f38f162c92b62821896312ee12a23ba2d1f6c2') prepare() { cd ${_pkgbase}-${pkgver} @@ -42,6 +43,8 @@ package() { cd ${_pkgbase}-${pkgver} make GLEW_DEST="${pkgdir}/usr" STRIP= SYSTEM=linux-egl install install -D -m755 -t "${pkgdir}/usr/bin" bin/eglewinfo bin/glxewinfo bin/visualinfo + rm ${pkgdir}/usr/include/GL/wglew.h + install -m644 include/GL/eglew.h ${pkgdir}/usr/include/GL ln -s eglewinfo "${pkgdir}/usr/bin/glewinfo" install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |