0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-13 09:39:44 +00:00
Files
termux-packages/packages/opencolorio/build.sh
Termux Github Actions e0608eb2f5 bump(main/opencolorio): 2.4.1
This commit has been automatically submitted by Github Actions.
2024-12-12 19:56:21 +00:00

23 lines
1.0 KiB
Bash

TERMUX_PKG_HOMEPAGE=https://opencolorio.org
TERMUX_PKG_DESCRIPTION="A color management framework for visual effects and animation"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.4.1"
TERMUX_PKG_SRCURL=https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=d4eb15408b33dffd6ba0bba9a53328085b40bdd9319fa3d0d7348d06a8cbe842
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="imath, libc++, libexpat, libminizip-ng, libyaml-cpp, pystring"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-Dpystring_INCLUDE_DIR=$TERMUX_PREFIX/lib
-DOCIO_BUILD_PYTHON=OFF
"
# Command-line apps depend on packages in x11 repo (for OpenGL functionality):
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DOCIO_BUILD_APPS=OFF"
termux_step_pre_configure() {
# error: constant expression evaluates to -1 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
# also same is used while building apt
CXXFLAGS+=" -Wno-c++11-narrowing"
CXXFLAGS+=" -I$PREFIX/include/pystring"
}