diff options
-rw-r--r-- | khronos-opengl-registry.cygport | 20 | ||||
-rw-r--r-- | reg.py.patch | 4 |
2 files changed, 16 insertions, 8 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 diff --git a/reg.py.patch b/reg.py.patch index 492d334..bdba2d3 100644 --- a/reg.py.patch +++ b/reg.py.patch @@ -1,5 +1,5 @@ ---- reg.py.bak 2015-02-08 15:42:56.605819400 +0000 -+++ reg.py 2015-02-08 15:42:59.558973100 +0000 +--- xml/reg.py.bak 2015-02-08 15:42:56.605819400 +0000 ++++ xml/reg.py 2015-02-08 15:42:59.558973100 +0000 @@ -34,7 +34,7 @@ # Used in converting lxml Elements into text. # str - string to convert |