Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
85
Issues
85
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
32
Merge Requests
32
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chakra
Packages
core
Commits
a23c11ab
Commit
a23c11ab
authored
Mar 05, 2019
by
Jeff Huang
🤔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip-ci] opengl-man-pages: update to 20190305
parent
261c154b
Pipeline
#2825
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
28 deletions
+35
-28
opengl-man-pages/PKGBUILD
opengl-man-pages/PKGBUILD
+35
-28
No files found.
opengl-man-pages/PKGBUILD
View file @
a23c11ab
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname
=
opengl-man-pages
_svndate
=
20110616
pkgver
=
0.
${
_svndate
}
pkgver
=
20190305
_commit
=
3e3580afb5d0634e71582c0d691f6cc756d31a5d
pkgrel
=
1
pkgdesc
=
"OpenGL Man Pages"
arch
=(
'any'
)
url
=
"http
://www.opengl.org/wiki/Getting_started/XML_Toolchain_and_Man_P
ages"
url
=
"http
s://github.com/KhronosGroup/OpenGL-Refp
ages"
license
=(
'custom'
)
makedepends
=(
'libxslt'
'docbook-xsl'
'w3c-mathml2'
'docbook-mathml'
)
options
=(
'!makeflags'
)
source
=(
http://chakra-project.org/sources/
${
pkgname
}
/
${
pkgname
}
_
${
_svndate
}
.tar.xz LICENSE
)
md5sums
=(
'70238b948a25a86a003268ddd6963516'
'cb856abe5968300057e650096ba25b2f'
)
# OpenGL 4.x (current) API and GLSL pages - libxslt' 'docbook-xsl'
# OpenGL 3.x and older 'w3c-mathml2' 'docbook-mathml'
makedepends
=(
'libxslt'
'docbook-xsl'
'w3c-mathml2'
'docbook-mathml'
'git'
)
source
=(
${
pkgname
}
::git+https://github.com/KhronosGroup/OpenGL-Refpages#commit
=
$_commit
'LICENSE'
)
md5sums
=(
'SKIP'
'cb856abe5968300057e650096ba25b2f'
)
# gl2.1 = OpenGL 2.1 (including fixed functionality)
# es3 = OpenGL ES 3.x (will always be the latest ES, currently 3.2)
# gl4 = OpenGL 4.x (current) API and GLSL pages
_mandirs
=(
gl4 es3 gl2.1
)
# source PKGBUILD && mksource
mksource
()
{
mkdir
${
pkgname
}
-source
pushd
${
pkgname
}
-source
svn co
--username
anonymous
--password
anonymous https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/docs/man/ man
find man
-depth
-type
d
-name
.svn
-exec
rm
-rf
{}
\;
tar
-cvJf
../
${
pkgname
}
_
${
_svndate
}
.tar.xz man/
*
popd
pkgver
()
{
date
+%Y%m%d
}
build
()
{
cd
"
${
srcdir
}
/man"
export
ROOT
=
"
${
srcdir
}
/man"
make
for
file
in
*
.xml
;
do
xsltproc
--noout
--nonet
/usr/share/xml/docbook/xsl-stylesheets
*
/manpages/docbook.xsl
${
file
}
export
WD
=
`
pwd
`
xmlcatalog
--create
--noout
\
--add
public
"-//W3C//DTD MathML 2.0//EN"
"file:///usr/share/xml/w3c/mathml2/mathml2.dtd"
\
--add
public
"-//W3C//DTD MathML//EN"
"file:///usr/share/xml/w3c/mathml2/mathml2.dtd"
\
--add
system
"http://www.w3.org/TR/MathML2/dtd/mathml2.dtd"
"file:///usr/share/xml/w3c/mathml2/mathml2.dtd"
\
mathml2.cat
export
XML_CATALOG_FILES
=
"
$WD
/mathml2.cat /etc/xml/catalog"
for
manpages
in
${
_mandirs
[@]
}
;
do
cd
"
${
srcdir
}
/
${
pkgname
}
/
${
manpages
}
"
for
file
in
gl
*
.xml
;
do
xsltproc
--noout
--nonet
/usr/share/xml/docbook/xsl-stylesheets-
*
/manpages/docbook.xsl
${
file
}
done
done
}
package
()
{
cd
"
${
srcdir
}
/man"
install
-d
"
${
pkgdir
}
/usr/share/man/man3"
install
-m644
*
.3G
"
${
pkgdir
}
/usr/share/man/man3/"
for
manpages
in
${
_mandirs
[@]
}
;
do
cd
"
${
srcdir
}
/
${
pkgname
}
/
${
manpages
}
"
install
-m644
*
.3G
"
${
pkgdir
}
/usr/share/man/man3/"
done
# license
install
-D
-m644
"
${
srcdir
}
/LICENSE"
"
${
pkgdir
}
/usr/share/licenses/
${
pkgname
}
/LICENSE"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment