mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-11 13:09:18 +00:00
8411ca6af9
should avoid a repeat of #21803
32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://gnome.pages.gitlab.gnome.org/libadwaita/
|
|
TERMUX_PKG_DESCRIPTION="Building blocks for modern adaptive GNOME applications"
|
|
TERMUX_PKG_LICENSE="LGPL-2.1"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="1.6.1"
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://gitlab.gnome.org/GNOME/libadwaita/-/archive/${TERMUX_PKG_VERSION}/libadwaita-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=5f8134d5717b58d8be235562041995500c8bb5c88842e614d3cdfa5af7043405
|
|
TERMUX_PKG_DEPENDS="appstream, fribidi, glib, graphene, gtk4, pango"
|
|
TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, valac"
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_VERSIONED_GIR=false
|
|
TERMUX_PKG_DISABLE_GIR=false
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
-Dintrospection=enabled
|
|
-Dvapi=true
|
|
-Dtests=false
|
|
-Dexamples=true
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_gir
|
|
termux_setup_glib_cross_pkg_config_wrapper
|
|
}
|
|
|
|
termux_step_post_massage() {
|
|
local _GUARD_FILE="lib/libadwaita-1.so"
|
|
if [ ! -e "${_GUARD_FILE}" ]; then
|
|
termux_error_exit "Error: file ${_GUARD_FILE} not found."
|
|
fi
|
|
}
|