From f21853c714d146e314e7aa16211942d48bbec6e9 Mon Sep 17 00:00:00 2001 From: Tee KOBAYASHI Date: Wed, 23 Mar 2022 12:19:43 +0900 Subject: [PATCH] glu: Get rid of references to leaked libunwind --- x11-packages/glu/LICENSE | 27 +++++++++++++++++++++++++++ x11-packages/glu/build.sh | 9 +++++++-- 2 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 x11-packages/glu/LICENSE diff --git a/x11-packages/glu/LICENSE b/x11-packages/glu/LICENSE new file mode 100644 index 000000000..54eadcb7a --- /dev/null +++ b/x11-packages/glu/LICENSE @@ -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. diff --git a/x11-packages/glu/build.sh b/x11-packages/glu/build.sh index 7c3a949ee..246c71022 100644 --- a/x11-packages/glu/build.sh +++ b/x11-packages/glu/build.sh @@ -1,12 +1,17 @@ TERMUX_PKG_HOMEPAGE=https://cgit.freedesktop.org/mesa/glu/ TERMUX_PKG_DESCRIPTION="Mesa OpenGL Utility library" -TERMUX_PKG_LICENSE="LGPL-2.0" +TERMUX_PKG_LICENSE="custom" +TERMUX_PKG_LICENSE_FILE="LICENSE" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=9.0.2 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://mesa.freedesktop.org/archive/glu/glu-$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SHA256=24effdfb952453cc00e275e1c82ca9787506aba0282145fff054498e60e19a65 TERMUX_PKG_DEPENDS="libandroid-shmem, libc++, libdrm, libexpat, libx11, libxau, libxcb, libxdamage, libxdmcp, libxext, libxfixes, libxshmfence, mesa, zlib" TERMUX_PKG_CONFLICTS="libglu" TERMUX_PKG_REPLACES="libglu" + +termux_step_post_get_source() { + cp "${TERMUX_PKG_BUILDER_DIR}"/LICENSE ./ +}