0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-24 04:52:31 +00:00
Files
Termux Github Actions 13143e5aec bump(x11/xapp): 2.8.13
This commit has been automatically submitted by Github Actions.
2025-09-13 12:24:55 +00:00

43 lines
1.4 KiB
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/linuxmint/xapp
TERMUX_PKG_DESCRIPTION="Cross-desktop libraries and common resources "
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2.8.13"
TERMUX_PKG_SRCURL="https://github.com/linuxmint/xapp/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=5282727e41c0fe86b22b745b3abd134a67edd7fb9337deaff762376b1f49b140
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+"
TERMUX_PKG_DEPENDS="glib, dbus, gigolo, gtk3, gdk-pixbuf, libcairo, libx11, libgnomekbd, pygobject, gobject-introspection, libdbusmenu, libdbusmenu-gtk3"
TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, glib-cross, valac"
TERMUX_PKG_VERSIONED_GIR=false
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-Ddocs=false
-Dpy-overrides-dir=$TERMUX_PYTHON_HOME/site-packages/gi/overrides
-Dintrospection=true
-Dvapi=true
-Dxfce=false
-Dmate=false
"
termux_pkg_auto_update() {
local latest_release
latest_release="$(git ls-remote --tags "$TERMUX_PKG_HOMEPAGE.git" \
| grep -oP "refs/tags/\K${TERMUX_PKG_UPDATE_VERSION_REGEXP}$" \
| sort -V \
| tail -n1)"
if [[ "${latest_release}" == "${TERMUX_PKG_VERSION}" ]]; then
echo "INFO: No update needed. Already at version '${TERMUX_PKG_VERSION}'."
return
fi
termux_pkg_upgrade_version "${latest_release}"
}
termux_step_pre_configure() {
termux_setup_gir
termux_setup_glib_cross_pkg_config_wrapper
export TERMUX_MESON_ENABLE_SOVERSION=1
}