diff options
Diffstat (limited to 'user/freeglut/APKBUILD')
-rw-r--r-- | user/freeglut/APKBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/user/freeglut/APKBUILD b/user/freeglut/APKBUILD index fa130b8d1..084885517 100644 --- a/user/freeglut/APKBUILD +++ b/user/freeglut/APKBUILD @@ -2,16 +2,19 @@ # Maintainer: Dan Theisen <djt@hxx.in> pkgname=freeglut pkgver=3.2.2 -pkgrel=0 +pkgrel=1 pkgdesc="Free reimplementation of OpenGL Utility Toolkit (GLUT) library" url="https://freeglut.sourceforge.net/" arch="all" options="!check" # No test suite. license="X11" -depends_dev="mesa-dev libx11-dev libice-dev libxxf86vm-dev libxi-dev glu-dev" +depends_dev="glu-dev libglvnd-dev libice-dev libx11-dev libxi-dev + libxxf86vm-dev" makedepends="$depends_dev cmake" subpackages="$pkgname-dev" -source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" +source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz + glvnd.patch + " build() { cmake . \ @@ -19,6 +22,7 @@ build() { -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DFREEGLUT_BUILD_STATIC_LIBS=0 \ + -DOpenGL_GL_PREFERENCE=GLVND \ . make } @@ -27,4 +31,5 @@ package() { make DESTDIR="$pkgdir" install } -sha512sums="190231951d314f854c244bd27f7c20488403bd0eecffc342097a2e3d1621cec87f6c209a77b4c153aabcf44697b4070227930e295ab74fb88953cbbf94fc81d9 freeglut-3.2.2.tar.gz" +sha512sums="190231951d314f854c244bd27f7c20488403bd0eecffc342097a2e3d1621cec87f6c209a77b4c153aabcf44697b4070227930e295ab74fb88953cbbf94fc81d9 freeglut-3.2.2.tar.gz +ae99d5d749b0ed8a7c822651060cdf0d0d1d33610a16ddd6bd16dcf84c67ad475be6dd1278edf1ab4fdfbcb784217f0d05eab4503f1de63a3d6979edff12e8b9 glvnd.patch" |