Files
termux-packages/packages/libmpeg2/build.sh
termux-pacman-bot c3b0896b00 fix(main/libmpeg2): do not check for X11 during configure
- this package is not in x11-repo, so its X11 features should not be automatically enabled even when X11 libraries are detected

- fixes the build when X11 libraries are present in `$TERMUX_PREFIX` before the build
2025-05-15 08:08:33 +00:00

18 lines
627 B
Bash

TERMUX_PKG_HOMEPAGE=https://libmpeg2.sourceforge.io/
TERMUX_PKG_DESCRIPTION="MPEG-2 decoder libraries"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.5.1"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://libmpeg2.sourceforge.io/files/libmpeg2-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4
# this package is not in x11-repo, so its X11 features should not
# be auto-enabled even if X11 libraries are detected in the $TERMUX_PREFIX.
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
no_x=yes
"
termux_step_pre_configure() {
autoreconf -vfi
}