-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding mesa and other graphics packages
gpkg/libwayland gpkg/libwayland-protocols gpkg/vulkan-tools gpkg/mesa-demos gpkg/opengl gpkg/freeglut gpkg/glu gpkg/glslang gpkg/spirv-tools gpkg/spirv-headers gpkg/glmark2 gpkg/vkmark gpkg/glm gpkg/xcb-util-wm gpkg/assimp gpkg/alsa-lib gpkg/libomxil-bellagio gpkg/libva gpkg/libvdpau gpkg/vulkan-volk gpkg/libepoxy gpkg/libclc gpkg/spirv-llvm-translator Co-authored-by: Maxython <[email protected]>
- Loading branch information
1 parent
62bbffa
commit 1362ed6
Showing
44 changed files
with
1,204 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
TERMUX_PKG_HOMEPAGE="https://www.alsa-project.org" | ||
TERMUX_PKG_DESCRIPTION="An alternative implementation of Linux sound support" | ||
TERMUX_PKG_LICENSE="LGPL-2.1" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION=1.2.10 | ||
TERMUX_PKG_SRCURL="https://www.alsa-project.org/files/pub/lib/alsa-lib-$TERMUX_PKG_VERSION.tar.bz2" | ||
TERMUX_PKG_SHA256="c86a45a846331b1b0aa6e6be100be2a7aef92efd405cf6bac7eef8174baa920e" | ||
TERMUX_PKG_DEPENDS="glibc" | ||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" | ||
--with-tmpdir=$TERMUX_PREFIX_CLASSICAL/tmp | ||
--disable-static | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
TERMUX_PKG_HOMEPAGE=https://assimp.sourceforge.net/index.html | ||
TERMUX_PKG_DESCRIPTION="Library to import various well-known 3D model formats in an uniform manner" | ||
TERMUX_PKG_LICENSE="BSD" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION="5.3.1" | ||
TERMUX_PKG_SRCURL=https://github.com/assimp/assimp/archive/v$TERMUX_PKG_VERSION.tar.gz | ||
TERMUX_PKG_SHA256=a07666be71afe1ad4bc008c2336b7c688aca391271188eb9108d0c6db1be53f1 | ||
TERMUX_PKG_DEPENDS="gcc-libs-glibc, zlib-glibc" | ||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" | ||
-DASSIMP_BUILD_SAMPLES=OFF | ||
-DASSIMP_WARNINGS_AS_ERRORS=OFF | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
TERMUX_PKG_HOMEPAGE=https://freeglut.sourceforge.net/ | ||
TERMUX_PKG_DESCRIPTION="Provides functionality for small OpenGL programs" | ||
TERMUX_PKG_LICENSE="MIT" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION=3.4.0 | ||
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/freeglut/freeglut-$TERMUX_PKG_VERSION.tar.gz | ||
TERMUX_PKG_SHA256=3c0bcb915d9b180a97edaebd011b7a1de54583a838644dcd42bb0ea0c6f3eaec | ||
TERMUX_PKG_DEPENDS="glu-glibc, libx11-glibc, libxi-glibc, libxrandr-glibc, libxxf86vm-glibc, libglvnd-glibc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
From 6059c5767b8be1fdaf7b4c8bf6f435ee9f7e5f0c Mon Sep 17 00:00:00 2001 | ||
From: Krzysztof Kurek <[email protected]> | ||
Date: Sat, 30 Jan 2021 21:08:48 +0100 | ||
Subject: [PATCH] Export the GLM target | ||
|
||
--- | ||
CMakeLists.txt | 1 + | ||
glm/CMakeLists.txt | 10 +++++++++- | ||
2 files changed, 10 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 8d597db07..9b268fc1c 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -20,6 +20,7 @@ enable_testing() | ||
|
||
add_subdirectory(glm) | ||
add_library(glm::glm ALIAS glm) | ||
+install(EXPORT glm FILE glm-config.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake NAMESPACE glm::) | ||
|
||
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}) | ||
|
||
diff --git a/glm/CMakeLists.txt b/glm/CMakeLists.txt | ||
index 4ff51c818..e97192cf7 100644 | ||
--- a/glm/CMakeLists.txt | ||
+++ b/glm/CMakeLists.txt | ||
@@ -43,7 +43,15 @@ source_group("SIMD Files" FILES ${SIMD_INLINE}) | ||
source_group("SIMD Files" FILES ${SIMD_HEADER}) | ||
|
||
add_library(glm INTERFACE) | ||
-target_include_directories(glm INTERFACE ../) | ||
+ | ||
+target_include_directories(glm INTERFACE | ||
+ $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}> | ||
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> | ||
+) | ||
+ | ||
+include(GNUInstallDirs) | ||
+install(TARGETS glm EXPORT glm) | ||
+install(DIRECTORY . DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/glm" PATTERN "CMakeLists.txt" EXCLUDE) | ||
|
||
if(BUILD_STATIC_LIBS) | ||
add_library(glm_static STATIC ${ROOT_TEXT} ${ROOT_MD} ${ROOT_NAT} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
TERMUX_PKG_HOMEPAGE=https://glm.g-truc.net/ | ||
TERMUX_PKG_DESCRIPTION="C++ mathematics library for graphics software based on the GLSL specifications" | ||
TERMUX_PKG_LICENSE="MIT" | ||
TERMUX_PKG_LICENSE_FILE="copying.txt" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION=0.9.9.8 | ||
TERMUX_PKG_SRCURL=https://github.com/g-truc/glm/archive/${TERMUX_PKG_VERSION}.tar.gz | ||
TERMUX_PKG_SHA256=7d508ab72cb5d43227a3711420f06ff99b0a0cb63ee2f93631b162bfe1fe9592 | ||
TERMUX_PKG_PLATFORM_INDEPENDENT=true | ||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DGLM_TEST_ENABLE=OFF" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
TERMUX_PKG_HOMEPAGE=https://github.com/glmark2/glmark2 | ||
TERMUX_PKG_DESCRIPTION="glmark2 is an OpenGL 2.0 and ES 2.0 benchmark" | ||
TERMUX_PKG_LICENSE="GPL-3.0" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION=2023.01 | ||
TERMUX_PKG_SRCURL=https://github.com/glmark2/glmark2/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz | ||
TERMUX_PKG_SHA256=8fece3fc323b643644a525be163dc4931a4189971eda1de8ad4c1712c5db3d67 | ||
TERMUX_PKG_DEPENDS="opengl-glibc, libjpeg-turbo-glibc, libx11-glibc, libpng-glibc, libwayland-glibc" | ||
TERMUX_PKG_BUILD_DEPENDS="libwayland-protocols-glibc" | ||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" | ||
-Dflavors=x11-gl,x11-glesv2,x11-gl-egl,wayland-gl,wayland-glesv2 | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
TERMUX_PKG_HOMEPAGE=https://github.com/KhronosGroup/glslang | ||
TERMUX_PKG_DESCRIPTION="OpenGL and OpenGL ES shader front end and validator" | ||
TERMUX_PKG_LICENSE="BSD" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION="14.0.0" | ||
TERMUX_PKG_SRCURL=https://github.com/KhronosGroup/glslang/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz | ||
TERMUX_PKG_SHA256=80bbb916a23e94ea9cbfb1acb5d1a44a7e0c9613bcf5b5947c03f2273bdc92b0 | ||
TERMUX_PKG_DEPENDS="gcc-libs-glibc" | ||
TERMUX_PKG_BUILD_DEPENDS="spirv-tools-glibc" | ||
TERMUX_PKG_NO_STATICSPLIT=true | ||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" | ||
-DALLOW_EXTERNAL_SPIRV_TOOLS=ON | ||
" | ||
|
||
termux_step_post_make_install() { | ||
# build system only build static or shared at a time | ||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" | ||
-DBUILD_SHARED_LIBS=ON | ||
" | ||
termux_step_configure | ||
termux_step_make | ||
termux_step_make_install | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) | ||
|
||
Copyright (C) [dates of first publication] Silicon Graphics, Inc. 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 including the dates of first publication and either | ||
this permission notice or a reference to http://oss.sgi.com/projects/FreeB/ | ||
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 SILICON | ||
GRAPHICS, INC. 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. | ||
|
||
Except as contained in this notice, the name of Silicon Graphics, Inc. shall | ||
not be used in advertising or otherwise to promote the sale, use or other | ||
dealings in this Software without prior written authorization from Silicon | ||
Graphics, Inc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
TERMUX_PKG_HOMEPAGE=https://cgit.freedesktop.org/mesa/glu/ | ||
TERMUX_PKG_DESCRIPTION="Mesa OpenGL Utility library" | ||
TERMUX_PKG_LICENSE="custom" | ||
TERMUX_PKG_LICENSE_FILE="LICENSE" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION=9.0.3 | ||
TERMUX_PKG_SRCURL=https://mesa.freedesktop.org/archive/glu/glu-$TERMUX_PKG_VERSION.tar.xz | ||
TERMUX_PKG_SHA256=bd43fe12f374b1192eb15fe20e45ff456b9bc26ab57f0eee919f96ca0f8a330f | ||
TERMUX_PKG_DEPENDS="gcc-libs-glibc, libglvnd-glibc" | ||
|
||
termux_step_post_get_source() { | ||
cp "${TERMUX_PKG_BUILDER_DIR}"/LICENSE ./ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
TERMUX_PKG_HOMEPAGE=https://libclc.llvm.org/ | ||
TERMUX_PKG_DESCRIPTION="Library requirements of the OpenCL C programming language" | ||
TERMUX_PKG_LICENSE="MIT" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION=17.0.6 | ||
TERMUX_PKG_SRCURL=https://github.com/llvm/llvm-project/releases/download/llvmorg-$TERMUX_PKG_VERSION/libclc-$TERMUX_PKG_VERSION.src.tar.xz | ||
TERMUX_PKG_SHA256=122f641d94d5dfbb3c37534f2b76612fa59d15c36c2a4917369a85eaaca32148 | ||
TERMUX_PKG_BUILD_DEPENDS="clang-glibc, lld-glibc, python-glibc, spirv-llvm-translator-glibc" | ||
TERMUX_PKG_PLATFORM_INDEPENDENT=true | ||
|
||
termux_step_configure() { | ||
termux_setup_cmake | ||
termux_setup_ninja | ||
|
||
local OLD_PATH="${PATH}" | ||
export PATH="${TERMUX_PREFIX}/bin:${PATH}" | ||
|
||
cmake ${TERMUX_PKG_SRCDIR} \ | ||
-G Ninja \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_INSTALL_PREFIX=$TERMUX_PREFIX | ||
|
||
export PATH=$OLD_PATH | ||
} | ||
|
||
termux_step_make() { | ||
local OLD_PATH="${PATH}" | ||
export PATH="${TERMUX_PREFIX}/bin:${PATH}" | ||
|
||
ninja | ||
|
||
export PATH=$OLD_PATH | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
TERMUX_PKG_HOMEPAGE=https://github.com/anholt/libepoxy | ||
TERMUX_PKG_DESCRIPTION="Library handling OpenGL function pointer management" | ||
TERMUX_PKG_LICENSE="MIT" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION=1.5.10 | ||
TERMUX_PKG_SRCURL=https://github.com/anholt/libepoxy/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz | ||
TERMUX_PKG_SHA256=a7ced37f4102b745ac86d6a70a9da399cc139ff168ba6b8002b4d8d43c900c15 | ||
TERMUX_PKG_DEPENDS="libglvnd-glibc, libx11-glibc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
TERMUX_PKG_HOMEPAGE=http://omxil.sourceforge.net | ||
TERMUX_PKG_DESCRIPTION="An opensource implementation of the OpenMAX Integration Layer API" | ||
TERMUX_PKG_LICENSE="LGPL-3.0" | ||
TERMUX_PKG_MAINTAINER="@termux-pacman" | ||
TERMUX_PKG_VERSION=0.9.3 | ||
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/omxil/omxil/Bellagio%200.9.3/libomxil-bellagio-${TERMUX_PKG_VERSION}.tar.gz | ||
TERMUX_PKG_SHA256=593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c | ||
TERMUX_PKG_DEPENDS="glibc" | ||
TERMUX_PKG_BUILD_IN_SRC=true | ||
|
||
termux_step_pre_configure() { | ||
sed -e 's/-Werror//' -i configure.ac | ||
CFLAGS+=' -fcommon' | ||
autoreconf -fiv | ||
} |
Oops, something went wrong.