diff options
author | Robin Lange | 2019-07-07 14:38:12 +1000 |
---|---|---|
committer | Robin Lange | 2019-07-07 14:38:12 +1000 |
commit | cce2dc2ce05ae43e8cd1ff0d4a97570db6bec7c5 (patch) | |
tree | db37dade96c7d6c9add425c0d08c5b9ab70ee4fa | |
download | aur-cce2dc2ce05ae43e8cd1ff0d4a97570db6bec7c5.tar.gz |
Release 19.1.1-1
-rw-r--r-- | .SRCINFO | 30 | ||||
-rw-r--r-- | LICENSE | 83 | ||||
-rw-r--r-- | PKGBUILD | 96 |
3 files changed, 209 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ee4fe0be9703 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,30 @@ +pkgbase = lib32-vulkan-mesa-layer + pkgdesc = Vulkan overlay layer to display information about the application (32-bit) + pkgver = 19.1.1 + pkgrel = 1 + url = http://mesa3d.sourceforge.net + arch = x86_64 + license = custom + makedepends = meson + makedepends = lib32-gcc-libs + makedepends = python-mako + makedepends = lib32-libdrm + makedepends = lib32-llvm + makedepends = glslang + makedepends = lib32-libelf + makedepends = lib32-expat + depends = vulkan-mesa-layer + source = https://mesa.freedesktop.org/archive/mesa-19.1.1.tar.xz + source = https://mesa.freedesktop.org/archive/mesa-19.1.1.tar.xz.sig + source = LICENSE + validpgpkeys = 8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D + validpgpkeys = 946D09B5E4C9845E63075FF1D961C596A7203456 + validpgpkeys = E3E8F480C52ADD73B278EE78E1ECBE07D7D70895 + validpgpkeys = A5CC9FEC93F2F837CB044912336909B6B25FADFA + validpgpkeys = 71C4B75620BC75708B4BDB254C95FAAB3EB073EC + sha512sums = 73b190eeb0b5809217c04f39d90edc0844dac476d8284543013a4a8889a4be805bc15b43c91bbf0d3a36f35dc576e7085255f7012d207c74466e81cee7f67922 + sha512sums = SKIP + sha512sums = f9f0d0ccf166fe6cb684478b6f1e1ab1f2850431c06aa041738563eb1808a004e52cdec823c103c9e180f03ffc083e95974d291353f0220fe52ae6d4897fecc7 + +pkgname = lib32-vulkan-mesa-layer + diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000000..060f4a925b9b --- /dev/null +++ b/LICENSE @@ -0,0 +1,83 @@ +The Mesa 3D Graphics Library + +Disclaimer + + Mesa is a 3-D graphics library with an API which is very similar to + that of [1]OpenGL.* To the extent that Mesa utilizes the OpenGL command + syntax or state machine, it is being used with authorization from + [2]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 [3]Silicon Graphics Incorporated. + +License / Copyright Information + + The Mesa distribution consists of several components. Different + copyrights and licenses apply to different components. For example, the + GLX client code uses the SGI Free Software License B, and 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 +THE AUTHORS OR COPYRIGHT HOLDERS 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 License +------------------------------------------------------------------ +Main Mesa code src/mesa/ MIT + +Device drivers src/mesa/drivers/* MIT, generally + +Gallium code src/gallium/ MIT + +Ext headers include/GL/glext.h Khronos + include/GL/glxext.h + +GLX client code src/glx/ SGI Free Software License B + +C11 thread include/c11/threads*.h Boost (permissive) emulation + + In general, consult the source files for license terms. + +References + + 1. https://www.opengl.org/ + 2. https://www.sgi.com/ + 3. https://www.sgi.com/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..80797af77846 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,96 @@ +# Maintainer: Robin Lange <robin.langenc@gmail.com> +# Contributor: Laurent Carlier <lordheavym@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: Andreas Radke <andyrtr@archlinux.org> + +pkgname=lib32-vulkan-mesa-layer +pkgver=19.1.1 +pkgrel=1 +pkgdesc="Vulkan overlay layer to display information about the application (32-bit)" +arch=('x86_64') +depends=('vulkan-mesa-layer') # Needed to provide the layer manifest JSON file +makedepends=('meson' 'lib32-gcc-libs' 'python-mako' 'lib32-libdrm' 'lib32-llvm' 'glslang' 'lib32-libelf' 'lib32-expat') +url="http://mesa3d.sourceforge.net" +license=('custom') +source=(https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig} + LICENSE) +sha512sums=('73b190eeb0b5809217c04f39d90edc0844dac476d8284543013a4a8889a4be805bc15b43c91bbf0d3a36f35dc576e7085255f7012d207c74466e81cee7f67922' + 'SKIP' + 'f9f0d0ccf166fe6cb684478b6f1e1ab1f2850431c06aa041738563eb1808a004e52cdec823c103c9e180f03ffc083e95974d291353f0220fe52ae6d4897fecc7') +validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D' # Emil Velikov <emil.l.velikov@gmail.com> + '946D09B5E4C9845E63075FF1D961C596A7203456' # Andres Gomez <tanty@igalia.com> + 'E3E8F480C52ADD73B278EE78E1ECBE07D7D70895' # Juan Antonio Suárez Romero (Igalia, S.L.) <jasuarez@igalia.com>" + 'A5CC9FEC93F2F837CB044912336909B6B25FADFA' # Juan A. Suarez Romero <jasuarez@igalia.com> + '71C4B75620BC75708B4BDB254C95FAAB3EB073EC') # Dylan Baker <dylan@pnwbakers.com> + +prepare() { + cd mesa-${pkgver} + +} + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + export LLVM_CONFIG="/usr/bin/llvm-config32" + + arch-meson mesa-$pkgver build \ + --libdir=/usr/lib32 \ + -D b_lto=false \ + -D b_ndebug=true \ + -D platforms=[] \ + -D dri-drivers=[] \ + -D gallium-drivers=[] \ + -D vulkan-drivers=intel \ + -D swr-arches=avx,avx2 \ + -D dri3=false \ + -D egl=false \ + -D gallium-extra-hud=false \ + -D gallium-nine=false \ + -D gallium-omx=disabled \ + -D gallium-opencl=disabled \ + -D gallium-va=false \ + -D gallium-vdpau=false \ + -D gallium-xa=false \ + -D gallium-xvmc=false \ + -D gbm=false \ + -D gles1=false \ + -D gles2=false \ + -D glvnd=false \ + -D glx=disabled \ + -D libunwind=false \ + -D llvm=true \ + -D lmsensors=false \ + -D osmesa=none \ + -D opengl=false \ + -D shader-cache=true \ + -D shared-glapi=true \ + -D valgrind=false \ + -D vulkan-overlay-layer=true + + # Print config + meson configure build + + ninja -C build + + # fake installation to be seperated into packages + # outside of fakeroot but mesa doesn't need to chown/mod + DESTDIR="${srcdir}/fakeinstall" ninja -C build install +} + +_install() { + local src f dir + for src; do + f="${src#fakeinstall/}" + dir="${pkgdir}/${f%/*}" + install -m755 -d "${dir}" + mv -v "${src}" "${dir}/" + done +} + +package() { + + _install fakeinstall/usr/lib32/libVkLayer_MESA_overlay.so + + install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE +} |