diff options
author | Franc[e]sco | 2018-10-16 04:26:06 +0200 |
---|---|---|
committer | Franc[e]sco | 2018-10-16 04:26:06 +0200 |
commit | eb747e52272a2780bed1b1a5304a9403d621ff1f (patch) | |
tree | 660e6396440e0e2aa3368ca7f8d74ba10d21236d | |
download | aur-eb747e52272a2780bed1b1a5304a9403d621ff1f.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 88 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | LICENSE | 82 | ||||
-rw-r--r-- | PKGBUILD | 145 |
4 files changed, 320 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..475597b3ed49 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,88 @@ +pkgbase = mesa-transform-feedback-git + pkgdesc = mesa with the RADV patches for VK_EXT_transform_feedback. + pkgver = 18.3.0_devel.105152.ff281e6204 + pkgrel = 1 + url = https://www.mesa3d.org + arch = x86_64 + license = custom + makedepends = git + makedepends = python-mako + makedepends = llvm-svn + makedepends = clang-svn + makedepends = xorgproto + makedepends = libxml2 + makedepends = libx11 + makedepends = libvdpau + makedepends = libva + makedepends = elfutils + makedepends = libomxil-bellagio + makedepends = ocl-icd + makedepends = vulkan-icd-loader + makedepends = libgcrypt + makedepends = wayland + makedepends = wayland-protocols + makedepends = meson + depends = libdrm + depends = libxxf86vm + depends = libxdamage + depends = libxshmfence + depends = libelf + depends = libomxil-bellagio + depends = llvm-libs-svn + depends = libunwind + depends = libglvnd + depends = wayland + depends = lm_sensors + depends = libclc + optdepends = opengl-man-pages: for the OpenGL API man pages + provides = mesa + provides = vulkan-intel + provides = vulkan-radeon + provides = libva-mesa-driver + provides = mesa-vdpau + provides = vulkan-driver + provides = opencl-mesa + provides = opengl-driver + provides = opencl-driver + conflicts = mesa-git + conflicts = mesa + conflicts = opencl-mesa + conflicts = vulkan-intel + conflicts = vulkan-radeon + conflicts = libva-mesa-driver + conflicts = mesa-vdpau + source = mesa::git://anongit.freedesktop.org/mesa/mesa#commit=ff281e62043203fd83f3f88e2ed68828646e155d + source = 256575.patch::https://patchwork.freedesktop.org/patch/256575/raw/ + source = 256578.patch::https://patchwork.freedesktop.org/patch/256578/raw/ + source = 256579.patch::https://patchwork.freedesktop.org/patch/256579/raw/ + source = 256576.patch::https://patchwork.freedesktop.org/patch/256576/raw/ + source = 256577.patch::https://patchwork.freedesktop.org/patch/256577/raw/ + source = 256585.patch::https://patchwork.freedesktop.org/patch/256585/raw/ + source = 256582.patch::https://patchwork.freedesktop.org/patch/256582/raw/ + source = 256581.patch::https://patchwork.freedesktop.org/patch/256581/raw/ + source = 256583.patch::https://patchwork.freedesktop.org/patch/256583/raw/ + source = 256580.patch::https://patchwork.freedesktop.org/patch/256580/raw/ + source = 256586.patch::https://patchwork.freedesktop.org/patch/256586/raw/ + source = 256587.patch::https://patchwork.freedesktop.org/patch/256587/raw/ + source = 256584.patch::https://patchwork.freedesktop.org/patch/256584/raw/ + source = 256588.patch::https://patchwork.freedesktop.org/patch/256588/raw/ + source = LICENSE + sha512sums = SKIP + sha512sums = 3b6bb9102cf303cf072a02cc4327e8f44b103e5f3480ea95fbfa676217b1e9a99ccfb3e9394ff86776eb18d7bc4d4da2f7ddae9b398c0f6ee581a6306cd4e7dd + sha512sums = 366532619ca9205027524841ed22317e86f16098ec8cf6107b9b55353dece388a17ec60dab6e705428efdbba40fa086ad44e46562863fc0c3fb679ac0bbdbf36 + sha512sums = 7f72f01004fa741622898318bb1107dc4fea528ee84f7d5bcf7d5c83ff306ba510ab9c5e95d1e83d2f6518f717e88b341e93dbca167f442f4902ad1e765c4f4a + sha512sums = ccd5b18c0626b4577f098a2508b615a700e62617645091bf45bd61e27f2f8515b9b8d907a21c8dec6ac4ebc2f3672ee394bc2894db75d79f01525add04e4c619 + sha512sums = a440aa04444391de6d57354b6e0aee95335b658671a5ab4761c4a86165284b9435305c9281da22e05f904bf9a58677f68cb8331afc721948b0a888723fa21d20 + sha512sums = b0b8fefc7079aa663001eb8db01fb129429e9f51310c4499e3dbf77ca39248c6b55b93581487323441fa3e59040f5317eb43a7262805378a38853410db7c90d2 + sha512sums = 3a37ae3cb51104e9336515d08dbdf8ce3ca0d0160fb30b0663216c9a8cd83a2ba62209c238ae6919cd4c84b75ec8cea573faf098430939c7ad85550c4d1f9fc7 + sha512sums = 2d4cfb837db823e0307b2430fd2a1a9bf6363ac09ce11ef2052f487c593f5d25f6bd107b95fa572d1f970121d812b346aeba7f42f8c61a2cba33efc0ba660167 + sha512sums = abf6976bf05fb79dc3e321f1ba3ba067b9f552e70b92031716b984e0bf3c0bfda9f86765ce1ec71b044aaace66e1dcdf5acbaa71f42e551e2b2230ec27a25451 + sha512sums = 9336f49610782a42218f17f187e75848afb42f3a82a4c9e1b69834a07b0cca31e0a462f6ad11a3359a247065a61dfb8079bd70dfe6a6172ee0c54d3a292c136d + sha512sums = 04d4272964759033b6c7ed980986c86fbb51aa46e8a949a722273cfb17468d08c5d1c1a13867935bd1aed90c14e05ca414beb548edf27833e2cdc96699e2c5a0 + sha512sums = b448ac97d1b5aac30424365c48f63dcbb2d7e8e36a5d9970bac13eb80e1041bc896521c55d39702e65b3609b6a8813a1124cca8db1f73a818f2f9f07fabc8a57 + sha512sums = 28e909d174a8e166e6506e98300d06ff684ecb0f15fbc5ea5dce578e889f88d18e64449ca27557aa83f64cd264db2e149645d7c4ba9afa749d100bfff280a8b0 + sha512sums = 5a169d06c364c680ed6eb94b69eb84e82f7d715c2aff3712585dc9b7305aff3ef367573abc27c127c9c94cec915a5c513d631de1ee16847526ce0c4b9bb942c1 + sha512sums = 25da77914dded10c1f432ebcbf29941124138824ceecaf1367b3deedafaecabc082d463abcfa3d15abff59f177491472b505bcb5ba0c4a51bb6b93b4721a23c2 + +pkgname = mesa-transform-feedback-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..03719e3aa00e --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.patch +/mesa +/pkg +/src +*.tar.xz diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000000..ae33d2709c44 --- /dev/null +++ b/LICENSE @@ -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 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..97f706694824 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,145 @@ +# Maintainer: Franc[e]sco <lolisamurai@tfwno.gf> +# Contributor: Lone_Wolf <lonewolf at xs4all dot nl> +# Contributor: Armin K. <krejzi at email dot com> +# Contributor: Kristian Klausen <klausenbusk@hotmail.com> +# Contributor: Egon Ashrafinia <e.ashrafinia@gmail.com> +# Contributor: Tavian Barnes <tavianator@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: Andreas Radke <andyrtr@archlinux.org> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Antti "Tera" Oja <antti.bofh@gmail.com> +# Contributor: Diego Jose <diegoxter1006@gmail.com> + +pkgbase=mesa-transform-feedback-git +pkgname=('mesa-transform-feedback-git') +pkgdesc="mesa with the RADV patches for VK_EXT_transform_feedback." +pkgver=18.3.0_devel.105152.ff281e6204 +pkgrel=1 +arch=('x86_64') +makedepends=('git' 'python-mako' 'llvm-svn' 'clang-svn' 'xorgproto' + 'libxml2' 'libx11' 'libvdpau' 'libva' 'elfutils' 'libomxil-bellagio' + 'ocl-icd' 'vulkan-icd-loader' 'libgcrypt' 'wayland' 'wayland-protocols' 'meson') +depends=('libdrm' 'libxxf86vm' 'libxdamage' 'libxshmfence' 'libelf' + 'libomxil-bellagio' 'llvm-libs-svn' 'libunwind' 'libglvnd' 'wayland' 'lm_sensors' 'libclc') +optdepends=('opengl-man-pages: for the OpenGL API man pages') +provides=('mesa' 'vulkan-intel' 'vulkan-radeon' 'libva-mesa-driver' 'mesa-vdpau' 'vulkan-driver' 'opencl-mesa' 'opengl-driver' 'opencl-driver') +conflicts=('mesa-git' 'mesa' 'opencl-mesa' 'vulkan-intel' 'vulkan-radeon' 'libva-mesa-driver' 'mesa-vdpau') +url="https://www.mesa3d.org" +license=('custom') +source=( + 'mesa::git://anongit.freedesktop.org/mesa/mesa#commit=ff281e62043203fd83f3f88e2ed68828646e155d' + '256575.patch::https://patchwork.freedesktop.org/patch/256575/raw/' + '256578.patch::https://patchwork.freedesktop.org/patch/256578/raw/' + '256579.patch::https://patchwork.freedesktop.org/patch/256579/raw/' + '256576.patch::https://patchwork.freedesktop.org/patch/256576/raw/' + '256577.patch::https://patchwork.freedesktop.org/patch/256577/raw/' + '256585.patch::https://patchwork.freedesktop.org/patch/256585/raw/' + '256582.patch::https://patchwork.freedesktop.org/patch/256582/raw/' + '256581.patch::https://patchwork.freedesktop.org/patch/256581/raw/' + '256583.patch::https://patchwork.freedesktop.org/patch/256583/raw/' + '256580.patch::https://patchwork.freedesktop.org/patch/256580/raw/' + '256586.patch::https://patchwork.freedesktop.org/patch/256586/raw/' + '256587.patch::https://patchwork.freedesktop.org/patch/256587/raw/' + '256584.patch::https://patchwork.freedesktop.org/patch/256584/raw/' + '256588.patch::https://patchwork.freedesktop.org/patch/256588/raw/' + 'LICENSE' +) +sha512sums=( + 'SKIP' + '3b6bb9102cf303cf072a02cc4327e8f44b103e5f3480ea95fbfa676217b1e9a99ccfb3e9394ff86776eb18d7bc4d4da2f7ddae9b398c0f6ee581a6306cd4e7dd' + '366532619ca9205027524841ed22317e86f16098ec8cf6107b9b55353dece388a17ec60dab6e705428efdbba40fa086ad44e46562863fc0c3fb679ac0bbdbf36' + '7f72f01004fa741622898318bb1107dc4fea528ee84f7d5bcf7d5c83ff306ba510ab9c5e95d1e83d2f6518f717e88b341e93dbca167f442f4902ad1e765c4f4a' + 'ccd5b18c0626b4577f098a2508b615a700e62617645091bf45bd61e27f2f8515b9b8d907a21c8dec6ac4ebc2f3672ee394bc2894db75d79f01525add04e4c619' + 'a440aa04444391de6d57354b6e0aee95335b658671a5ab4761c4a86165284b9435305c9281da22e05f904bf9a58677f68cb8331afc721948b0a888723fa21d20' + 'b0b8fefc7079aa663001eb8db01fb129429e9f51310c4499e3dbf77ca39248c6b55b93581487323441fa3e59040f5317eb43a7262805378a38853410db7c90d2' + '3a37ae3cb51104e9336515d08dbdf8ce3ca0d0160fb30b0663216c9a8cd83a2ba62209c238ae6919cd4c84b75ec8cea573faf098430939c7ad85550c4d1f9fc7' + '2d4cfb837db823e0307b2430fd2a1a9bf6363ac09ce11ef2052f487c593f5d25f6bd107b95fa572d1f970121d812b346aeba7f42f8c61a2cba33efc0ba660167' + 'abf6976bf05fb79dc3e321f1ba3ba067b9f552e70b92031716b984e0bf3c0bfda9f86765ce1ec71b044aaace66e1dcdf5acbaa71f42e551e2b2230ec27a25451' + '9336f49610782a42218f17f187e75848afb42f3a82a4c9e1b69834a07b0cca31e0a462f6ad11a3359a247065a61dfb8079bd70dfe6a6172ee0c54d3a292c136d' + '04d4272964759033b6c7ed980986c86fbb51aa46e8a949a722273cfb17468d08c5d1c1a13867935bd1aed90c14e05ca414beb548edf27833e2cdc96699e2c5a0' + 'b448ac97d1b5aac30424365c48f63dcbb2d7e8e36a5d9970bac13eb80e1041bc896521c55d39702e65b3609b6a8813a1124cca8db1f73a818f2f9f07fabc8a57' + '28e909d174a8e166e6506e98300d06ff684ecb0f15fbc5ea5dce578e889f88d18e64449ca27557aa83f64cd264db2e149645d7c4ba9afa749d100bfff280a8b0' + '5a169d06c364c680ed6eb94b69eb84e82f7d715c2aff3712585dc9b7305aff3ef367573abc27c127c9c94cec915a5c513d631de1ee16847526ce0c4b9bb942c1' + '25da77914dded10c1f432ebcbf29941124138824ceecaf1367b3deedafaecabc082d463abcfa3d15abff59f177491472b505bcb5ba0c4a51bb6b93b4721a23c2' +) + +pkgver() { + cd mesa + read -r _ver <VERSION + echo ${_ver/-/_}.$(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + + +build () { + if [ -d _build ]; then + rm -rf _build + fi + for p in \ + 256575 \ + 256578 \ + 256579 \ + 256576 \ + 256577 \ + 256585 \ + 256582 \ + 256581 \ + 256583 \ + 256580 \ + 256586 \ + 256587 \ + 256584 \ + 256588 + do + echo "applying $p" + patch -d mesa -Np1 < $p.patch + touch mesa/patched + done + meson setup mesa _build \ + -D b_ndebug=true \ + -D buildtype=plain \ + --wrap-mode=nofallback \ + -D prefix=/usr \ + -D sysconfdir=/etc \ + -D platforms=x11,wayland,drm,surfaceless \ + -D dri-drivers=i915,i965,r200,r100,nouveau \ + -D gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast,virgl \ + -D vulkan-drivers=amd,intel \ + -D dri3=true \ + -D egl=true \ + -D gallium-extra-hud=true \ + -D gallium-nine=true \ + -D gallium-omx=bellagio \ + -D gallium-va=true \ + -D gallium-vdpau=true \ + -D gallium-xa=true \ + -D gallium-xvmc=false \ + -D gbm=true \ + -D gles1=true \ + -D gles2=true \ + -D glvnd=true \ + -D glx=dri \ + -D libunwind=true \ + -D llvm=true \ + -D lmsensors=true \ + -D osmesa=gallium \ + -D shared-glapi=true \ + -D gallium-opencl=icd \ + -D valgrind=false \ + -D tools=[] + meson configure _build + ninja -C _build +} + + +package_mesa-transform-feedback-git() { + + DESTDIR="$pkgdir" ninja -C _build install + + # remove files provided by libglvnd + rm "$pkgdir"/usr/lib/libGLESv{1_CM,2}.so* + + # indirect rendering + ln -s /usr/lib/libGLX_mesa.so.0 ${pkgdir}/usr/lib/libGLX_indirect.so.0 + + install -Dt "$pkgdir"/usr/share/licenses/$pkgbase "$srcdir"/LICENSE +} |