termux-packages/packages/libde265/build.sh

19 lines
725 B
Bash
Raw Normal View History

2021-08-04 16:28:25 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/strukturag/libde265
TERMUX_PKG_DESCRIPTION="H.265/HEVC video stream decoder library"
2022-03-19 08:09:26 +01:00
TERMUX_PKG_LICENSE="LGPL-3.0, MIT"
TERMUX_PKG_LICENSE_FILE="COPYING"
2021-08-04 16:28:25 +02:00
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.0.8
2022-03-19 08:09:26 +01:00
TERMUX_PKG_REVISION=3
2021-08-04 16:28:25 +02:00
TERMUX_PKG_SRCURL=https://github.com/strukturag/libde265/releases/download/v$TERMUX_PKG_VERSION/libde265-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=24c791dd334fa521762320ff54f0febfd3c09fc978880a8c5fbc40a88f21d905
TERMUX_PKG_AUTO_UPDATE=true
2022-03-19 08:09:26 +01:00
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-sherlock265 --disable-arm --disable-encoder"
2021-08-05 00:51:59 +02:00
termux_step_pre_configure() {
2022-03-19 08:09:26 +01:00
autoreconf -fi
LDFLAGS+=" $($CC -print-libgcc-file-name)"
2021-08-05 00:51:59 +02:00
}