mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-21 18:22:37 +00:00
41 lines
1.3 KiB
Bash
41 lines
1.3 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/42wim/matterbridge
|
|
TERMUX_PKG_DESCRIPTION="A simple chat bridge"
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="1.25.2"
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://github.com/42wim/matterbridge/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=e078a4776b1082230ea0b8146613679c23d3b0d322706c987261df987a04bfc5
|
|
TERMUX_PKG_DEPENDS="libc++"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
|
|
# ```
|
|
# # github.com/Benau/go_rlottie
|
|
# <instantiation>:1:1: error: unknown directive
|
|
# .func fname
|
|
# ^
|
|
# <instantiation>:2:5: note: while in macro instantiation
|
|
# pixman_asm_function fname
|
|
# ^
|
|
# vector_pixman_pixman-arm-neon-asm.S:337:1: note: while in macro instantiation
|
|
# generate_composite_function pixman_composite_over_8888_8888_asm_neon, 32, 0, 32, FLAG_DST_READWRITE | FLAG_DEINTERLEAVE_32BPP, 8, 5, default_init, default_cleanup, pixman_composite_over_8888_8888_process_pixblock_head, pixman_composite_over_8888_8888_process_pixblock_tail, pixman_composite_over_8888_8888_process_pixblock_tail_head
|
|
# ^
|
|
# ```
|
|
TERMUX_PKG_BLACKLISTED_ARCHES="arm"
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_golang
|
|
|
|
go mod init || :
|
|
go mod tidy
|
|
}
|
|
|
|
termux_step_make() {
|
|
go build
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm700 -t $TERMUX_PREFIX/bin matterbridge
|
|
}
|