mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-09 20:33:24 +00:00
24 lines
857 B
Bash
24 lines
857 B
Bash
TERMUX_PKG_HOMEPAGE=https://www.openexr.com/
|
|
TERMUX_PKG_DESCRIPTION="Provides the specification and reference implementation of the EXR file format"
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
# Align the version with `imath` package.
|
|
TERMUX_PKG_VERSION=3.1.7
|
|
TERMUX_PKG_SRCURL=https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=78dbca39115a1c526e6728588753955ee75fa7f5bb1a6e238bed5b6d66f91fd7
|
|
TERMUX_PKG_DEPENDS="imath (>= ${TERMUX_PKG_VERSION}), libc++, zlib"
|
|
TERMUX_PKG_CONFLICTS="openexr2"
|
|
TERMUX_PKG_REPLACES="openexr2"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
-DBUILD_TESTING=OFF
|
|
"
|
|
|
|
termux_step_post_massage() {
|
|
shopt -s nullglob
|
|
local f
|
|
for f in lib/libImath*; do
|
|
termux_error_exit "File ${f} should not be contained in this package."
|
|
done
|
|
shopt -u nullglob
|
|
}
|