xcb-util: Bump to 0.4.1

This commit is contained in:
Tee KOBAYASHI 2022-12-20 14:46:11 +09:00 committed by xtkoba
parent 7000b8c144
commit 3397e43d9e
1 changed files with 3 additions and 18 deletions

View File

@ -2,23 +2,8 @@ TERMUX_PKG_HOMEPAGE=https://xcb.freedesktop.org/
TERMUX_PKG_DESCRIPTION="Utility libraries for XC Binding"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.4.0
TERMUX_PKG_REVISION=29
TERMUX_PKG_SRCURL=https://xcb.freedesktop.org/dist/xcb-util-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=0ed0934e2ef4ddff53fcc70fc64fb16fe766cd41ee00330312e20a985fd927a7
TERMUX_PKG_VERSION=0.4.1
TERMUX_PKG_SRCURL=https://xcb.freedesktop.org/dist/xcb-util-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=5abe3bbbd8e54f0fa3ec945291b7e8fa8cfd3cccc43718f8758430f94126e512
TERMUX_PKG_DEPENDS="libxcb"
TERMUX_PKG_BUILD_DEPENDS="xorg-util-macros"
termux_step_pre_configure() {
autoreconf -fi
}
termux_step_post_massage() {
local _SOVERSION_SUFFIXED_SO_FILES="lib/libxcb-util.so.1"
local f
for f in ${_SOVERSION_SUFFIXED_SO_FILES}; do
if [ -e "${f}" ]; then
termux_error_exit "File ${f} should not be contained in this package."
fi
done
}