diff options
author | kevall474 | 2020-11-09 14:05:53 -0500 |
---|---|---|
committer | kevall474 | 2020-11-09 14:05:53 -0500 |
commit | 230e7c48c4e0d4b1963b06f7c3e89b8996de93a7 (patch) | |
tree | 3af53417e4aeb8e0bbcc1928e4d5bdfc42371497 | |
download | aur-230e7c48c4e0d4b1963b06f7c3e89b8996de93a7.tar.gz |
first push
-rw-r--r-- | .SRCINFO | 81 | ||||
-rw-r--r-- | LICENSE | 89 | ||||
-rw-r--r-- | PKGBUILD | 92 |
3 files changed, 262 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d2ade7f2420f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,81 @@ +pkgbase = mesa-aco-rc + pkgdesc = Mesa rc release. ACO enable by default. More options are enable than the standard mesa package + pkgver = 20.2.0_rc4 + pkgrel = 1 + url = https://mesa3d.org/ + arch = x86_64 + license = MIT + makedepends = bison + makedepends = flex + makedepends = valgrind + makedepends = meson + makedepends = ninja + makedepends = git + makedepends = ninjas2 + makedepends = cmake + makedepends = make + makedepends = extra-cmake-modules + makedepends = samurai + makedepends = python + makedepends = python-appdirs + makedepends = python-mako + makedepends = python-evdev + makedepends = spirv-tools + makedepends = spirv-llvm-translator + makedepends = clang + makedepends = elfutils + makedepends = glslang + makedepends = libclc + makedepends = libdrm + makedepends = libglvnd + makedepends = libomxil-bellagio + makedepends = libunwind + makedepends = libva + makedepends = libvdpau + makedepends = libx11 + makedepends = libxdamage + makedepends = libxml2 + makedepends = libxrandr + makedepends = libxshmfence + makedepends = libxxf86vm + makedepends = llvm + makedepends = lm_sensors + makedepends = wayland + makedepends = wayland-protocols + makedepends = xorgproto + makedepends = zstd + makedepends = patch + makedepends = libxv + makedepends = libxvmc + makedepends = spirv-tools + makedepends = libepoxy + makedepends = gtk3 + depends = libdrm + depends = libelf + depends = libglvnd + depends = libomxil-bellagio + depends = libunwind + depends = libxdamage + depends = libxxf86vm + depends = llvm-libs + depends = lm_sensors + depends = wayland + depends = zstd + depends = libxv + depends = libxvmc + depends = libepoxy + depends = gtk3 + depends = libconfig + conflicts = mesa-llvm + conflicts = mesa-llvm-rc + conflicts = mesa-aco + replaces = mesa-llvm + replaces = mesa-llvm-rc + replaces = mesa-aco + source = https://archive.mesa3d.org/mesa-20.2.0-rc4.tar.xz + source = LICENSE + md5sums = SKIP + md5sums = SKIP + +pkgname = mesa-aco-rc + diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000000..2d8cdfe780f5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,89 @@ +License and Copyright +===================== + +Disclaimer +---------- + +Mesa is a 3-D graphics library with an API which is very similar to that +of `OpenGL <https://www.opengl.org/>`_ [1]_. +To the extent that Mesa utilizes the OpenGL command syntax or state +machine, it is being used with authorization from `Silicon Graphics, +Inc. <https://www.sgi.com/>`__\ (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*. + +.. [1] OpenGL is a trademark of `Silicon Graphics + Incorporated <https://www.sgi.com/>`__. + +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. diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ec177cd1e32b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,92 @@ +#Maintainer: kevall474 <kevall474@tuta.io> <https://github.com/kevall474> +pkgname=mesa-aco-rc +pkgver=20.2.0_rc4 +pkgrel=1 +versiontag=20.2.0-rc4 +pkgdesc="Mesa rc release. ACO enable by default. More options are enable than the standard mesa package" +arch=(x86_64) +url="https://mesa3d.org/" +license=('MIT') +depends=("libdrm" "libelf" "libglvnd" "libomxil-bellagio" "libunwind" "libxdamage" "libxxf86vm" "llvm-libs" + "lm_sensors" "wayland" "zstd" "libxv" "libxvmc" "libepoxy" "gtk3" "libconfig") +makedepends=("bison" "flex" "valgrind" "meson" "ninja" "git" "ninjas2" "cmake" "make" "extra-cmake-modules" "samurai" + "python" "python-appdirs" "python-mako" "python-evdev" "spirv-tools" "spirv-llvm-translator" "clang" + "elfutils" "glslang" "libclc" "libdrm" "libglvnd" "libomxil-bellagio" "libunwind" "libva" + "libvdpau" "libx11" "libxdamage" "libxml2" "libxrandr" "libxshmfence" "libxxf86vm" "llvm" + "lm_sensors" "wayland" "wayland-protocols" "xorgproto" "zstd" "patch" "libxv" "libxvmc" "spirv-tools" "libepoxy" "gtk3") +conflicts=("mesa-llvm" "mesa-llvm-rc" "mesa-aco") +replaces=("mesa-llvm" "mesa-llvm-rc" "mesa-aco") +source=("https://archive.mesa3d.org/mesa-${versiontag}.tar.xz" + "LICENSE") +md5sums=("SKIP" + "SKIP") + +build() { + cd mesa-${versiontag} + + # remove build dir if there is one + echo "remove build dir if there is one" + if dir build; then + rm -rf build + fi + + # create build dir + echo "create build dir" + mkdir build + + # build + echo "build with meson" + meson build/ \ + -Dplatforms=x11,wayland,drm,surfaceless \ + -Ddri3=enabled \ + -Ddri-drivers=i915,i965,r100,r200,nouveau \ + -Dgallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,iris,zink,freedreno,v3d,vc4,etnaviv,tegra,kmsro \ + -Dgallium-extra-hud=true \ + -Dgallium-vdpau=enabled \ + -Dgallium-xvmc=enabled \ + -Dgallium-omx=auto \ + -Dgallium-va=enabled \ + -Dgallium-xa=enabled \ + -Dgallium-nine=true \ + -Dgallium-opencl=standalone \ + -Dopencl-spirv=true \ + -Dvulkan-drivers=amd,intel \ + -Dshader-cache=enabled \ + -Dvulkan-overlay-layer=true \ + -Dvulkan-device-select-layer=true \ + -Dshared-glapi=enabled \ + -Dgles1=enabled \ + -Dgles2=enabled \ + -Dopengl=true \ + -Dgbm=enabled \ + -Dglx=auto \ + -Degl=enabled \ + -Dglvnd=false \ + -Dllvm=enabled \ + -Dshared-llvm=disabled \ + -Dvalgrind=enabled \ + -Dlibunwind=enabled \ + -Dlmsensors=enabled \ + -Dbuild-tests=true \ + -Dbuild-aco-tests=true \ + -Dselinux=false \ + -Dosmesa=gallium \ + -Dswr-arches=avx,avx2,knl,skx \ + -Dshared-swr=true \ + -Dtools=all \ + -Dpower8=enabled \ + -Dxlib-lease=enabled \ + -Dglx-direct=true \ + -Dzstd=enabled +} + +package() { + # compiling mesa and installing to "$pkgdir" + echo "compiling mesa and installing to "$pkgdir"" + DESTDIR="$pkgdir" ninja $NINJAFLAGS -C mesa-${versiontag}/build/ install + + # installing licencse + echo "installing license" + install -dm755 "${pkgdir}"/usr/local/share/licenses/${pkgname}-${versiontag}/ + cp "${srcdir}"/LICENSE "${pkgdir}"/usr/local/share/licenses/${pkgname}-${versiontag}/ +} |