summaryrefslogtreecommitdiff
path: root/khronos-opengl-registry.cygport
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2019-04-17 15:49:05 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2019-06-25 21:55:36 +0100
commit5d97d8048d05e0e05eac8c40b5bc9c205c373c0c (patch)
treecc3bd703702f30f4bb15da0ef1fc7195da045a0d /khronos-opengl-registry.cygport
parent7707f44ebfcc07758587ccef1f0a352b98b9cfa9 (diff)
Update for svn -> git moveHEADmaster
This move happened in Dec 2016. Oops! Update to commit c6a99aff to align with mesa 18.0
Diffstat (limited to 'khronos-opengl-registry.cygport')
-rw-r--r--khronos-opengl-registry.cygport20
1 files changed, 14 insertions, 6 deletions
diff --git a/khronos-opengl-registry.cygport b/khronos-opengl-registry.cygport
index 09e3a2a..1151e2e 100644
--- a/khronos-opengl-registry.cygport
+++ b/khronos-opengl-registry.cygport
@@ -1,13 +1,13 @@
NAME=khronos-opengl-registry
-VERSION=20160722_svn32957
-RELEASE=2
+VERSION=20171010_gitc6a99aff
+RELEASE=1
ARCH="noarch"
-SVN_URI="https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/"
-SVN_REV=${VERSION##*svn}
+GIT_URI="https://github.com/KhronosGroup/OpenGL-Registry.git"
+GIT_REV=${VERSION##*git}
PATCH_URI="reg.py.patch"
-inherit svn python3
+inherit git python3
HOMEPAGE="http://www.opengl.org/registry/"
LICENSE="SGI Free Software License B"
@@ -16,6 +16,9 @@ SUMMARY="Khronos OpenGL registry"
DESCRIPTION="Khronos Group OpenGL registry XML defining the APIs and reserved enumerant ranges for OpenGL, GLX, WGL and EGL."
RESTRICT="postinst-doc"
+DEPEND="texlive texlive-collection-latex"
+RESTRICT="diff debuginfo"
+
src_compile() {
cat >$B/$PN.pc <<EOF
prefix=/usr
@@ -25,12 +28,17 @@ Name: $PN
Description: Khronos OpenGL registry
Version: $PV
EOF
+
+ cd ${S}/xml
+ # we don't need to make the genheaders targets, as the headers aren't part
+ # of this package, but make sure the stuff we do include is up-to-date.
+ make readme.pdf
}
src_install() {
cd ${S}
insinto /usr/share/opengl/api
- doins *.xml readme.pdf *.rnc reg.py
+ doins xml/*.xml xml/readme.pdf xml/*.rnc xml/reg.py
insinto /usr/share/pkgconfig
doins $B/*.pc