xcb-util-image: Alter SONAME by using newer Autotools
This commit is contained in:
parent
8acec69a83
commit
9535f1e64a
|
@ -3,9 +3,19 @@ TERMUX_PKG_DESCRIPTION="Utility libraries for XC Binding - Port of Xlib's XImage
|
|||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.4.0
|
||||
TERMUX_PKG_REVISION=25
|
||||
TERMUX_PKG_REVISION=26
|
||||
TERMUX_PKG_SRCURL=https://xcb.freedesktop.org/dist/xcb-util-image-${TERMUX_PKG_VERSION}.tar.bz2
|
||||
TERMUX_PKG_SHA256=2db96a37d78831d643538dd1b595d7d712e04bdccf8896a5e18ce0f398ea2ffc
|
||||
TERMUX_PKG_DEPENDS="libandroid-shmem, libxcb, xcb-util"
|
||||
TERMUX_PKG_DEPENDS="libxcb, xcb-util"
|
||||
TERMUX_PKG_BUILD_DEPENDS="xorg-util-macros"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="LIBS=-landroid-shmem"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
termux_step_post_massage() {
|
||||
cd ${TERMUX_PKG_MASSAGEDIR}/${TERMUX_PREFIX}/lib || exit 1
|
||||
if [ ! -e "./libxcb-image.so.0" ]; then
|
||||
ln -sf libxcb-image.so libxcb-image.so.0
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue