[arch-commits] Commit in mesa-demos/repos (4 files)
Andreas Radke
andyrtr at gemini.archlinux.org
Mon May 30 18:35:37 UTC 2022
Date: Monday, May 30, 2022 @ 18:35:37
Author: andyrtr
Revision: 447195
archrelease: copy trunk to testing-x86_64
Added:
mesa-demos/repos/testing-x86_64/
mesa-demos/repos/testing-x86_64/LICENSE
(from rev 447194, mesa-demos/trunk/LICENSE)
mesa-demos/repos/testing-x86_64/PKGBUILD
(from rev 447194, mesa-demos/trunk/PKGBUILD)
mesa-demos/repos/testing-x86_64/mesa-demos.install
(from rev 447194, mesa-demos/trunk/mesa-demos.install)
--------------------+
LICENSE | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++
PKGBUILD | 62 ++++++++++++++++++++++++++++++++++++++
mesa-demos.install | 6 +++
3 files changed, 150 insertions(+)
Copied: mesa-demos/repos/testing-x86_64/LICENSE (from rev 447194, mesa-demos/trunk/LICENSE)
===================================================================
--- testing-x86_64/LICENSE (rev 0)
+++ testing-x86_64/LICENSE 2022-05-30 18:35:37 UTC (rev 447195)
@@ -0,0 +1,82 @@
+Disclaimer
+
+Mesa is a 3-D graphics library with an API which is very similar to
+that of OpenGL*
+To the extent that Mesa utilizes the OpenGL command syntax or state
+machine, it is being used with authorization from Silicon Graphics,
+Inc.(SGI). However, the author does not possess an OpenGL license
+from SGI, and makes no claim that Mesa is in any way a compatible
+replacement for OpenGL or associated with SGI. Those who want a
+licensed implementation of OpenGL should contact a licensed
+vendor.
+
+Please do not refer to the library as MesaGL (for legal
+reasons). It's just Mesa or The Mesa 3-D graphics
+library
+
+* OpenGL is a trademark of Silicon Graphics Incorporated.
+
+License / Copyright Information
+
+The Mesa distribution consists of several components. Different copyrights
+and licenses apply to different components. For example, GLUT is copyrighted
+by Mark Kilgard, some demo programs are copyrighted by SGI, some of the Mesa
+device drivers are copyrighted by their authors. See below for a list of
+Mesa's main components and the license for each.
+
+The core Mesa library is licensed according to the terms of the MIT license.
+This allows integration with the XFree86, Xorg and DRI projects.
+
+The default Mesa license is as follows:
+
+Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Attention, Contributors
+
+When contributing to the Mesa project you must agree to the licensing terms
+of the component to which you're contributing.
+The following section lists the primary components of the Mesa distribution
+and their respective licenses.
+
+
+Mesa Component Licenses
+
+Component Location Primary Author License
+----------------------------------------------------------------------------
+Main Mesa code src/mesa/ Brian Paul Mesa (MIT)
+
+Device drivers src/mesa/drivers/* See drivers See drivers
+
+Ext headers include/GL/glext.h SGI SGI Free B
+ include/GL/glxext.h
+
+GLUT src/glut/ Mark Kilgard Mark's copyright
+
+Mesa GLU library src/glu/mesa/ Brian Paul GNU-LGPL
+
+SGI GLU library src/glu/sgi/ SGI SGI Free B
+
+demo programs progs/demos/ various see source files
+
+X demos progs/xdemos/ Brian Paul see source files
+
+SGI demos progs/samples/ SGI SGI copyright
+
+RedBook demos progs/redbook/ SGI SGI copyright
Copied: mesa-demos/repos/testing-x86_64/PKGBUILD (from rev 447194, mesa-demos/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-05-30 18:35:37 UTC (rev 447195)
@@ -0,0 +1,62 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgbase=mesa-demos
+pkgname=('mesa-demos' 'mesa-utils')
+pkgver=8.5.0
+pkgrel=1
+arch=('x86_64')
+url="https://www.mesa3d.org/"
+license=('custom')
+makedepends=('meson' 'mesa' 'freetype2' 'glu' 'freeglut' 'wayland-protocols')
+options=('debug')
+source=(https://archive.mesa3d.org/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2{,.sig}
+ 'LICENSE')
+sha512sums=('df6a7f09638ca389d6e8bc569e599dcc59c9aa280bcfb95976d83e5cd3edfe74bb3a31f0953956dc16faa540ee5b09990e3377e1341d836fc527e50ace6e60b8'
+ 'SKIP'
+ '25da77914dded10c1f432ebcbf29941124138824ceecaf1367b3deedafaecabc082d463abcfa3d15abff59f177491472b505bcb5ba0c4a51bb6b93b4721a23c2')
+#validpgpkeys=('E390B9700582FAEA959ACAD41EEF53D38A3A9C67') # "Andreas Boll <andreas.boll.dev at gmail.com>"
+validpgpkeys=('FF4CF638C624C3CF21ED2CF227EF763A2AA39F96') # Erik Faye-Lund <erik.faye-lund at collabora.com>
+
+build() {
+
+ arch-meson mesa-demos-$pkgver build \
+ -D gles1=disabled \
+ -D with-system-data-files=true
+
+ # Print config
+ meson configure build
+
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package_mesa-demos() {
+ pkgdesc="Mesa demos"
+ depends=('libgl' 'glu' 'freeglut')
+ install=mesa-demos.install
+
+ DESTDIR="$pkgdir" meson install -C build
+
+ # add missing egl files
+ install -m 0755 build/src/egl/opengl/{eglgears_wayland,eglgears_x11,eglkms,egltri_wayland,egltri_x11,peglgears,xeglgears,xeglthreads} "${pkgdir}/usr/bin/"
+
+ # remove utils
+ rm "${pkgdir}"/usr/bin/{glxinfo,glxgears,eglinfo}
+
+ install -Dm 0644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
+
+package_mesa-utils() {
+ pkgdesc="Essential Mesa utilities"
+ depends=('libgl')
+ provides=('glxinfo' 'glxgears' 'eglinfo')
+
+
+ install -Dm 0755 build/src/egl/opengl/eglinfo -t "${pkgdir}/usr/bin/"
+ install -Dm 0755 build/src/xdemos/{glxinfo,glxgears} -t "${pkgdir}/usr/bin/"
+
+ install -Dm 0644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
Copied: mesa-demos/repos/testing-x86_64/mesa-demos.install (from rev 447194, mesa-demos/trunk/mesa-demos.install)
===================================================================
--- testing-x86_64/mesa-demos.install (rev 0)
+++ testing-x86_64/mesa-demos.install 2022-05-30 18:35:37 UTC (rev 447195)
@@ -0,0 +1,6 @@
+post_upgrade() {
+ if [ "`vercmp $2 8.4.0-5`" -lt 0 ]; then
+ echo ">>> glxinfo, eglinfo and glxgears are now part of"
+ echo ">>> the new \"mesa-utils\" package."
+ fi
+}
More information about the arch-commits
mailing list