Skip to content

Commit b72be3c

Browse files
committed
libsixel: depend on libgd and gdk-pixbuf
Fixes issue with some GIFs. See my comment at termux/termux-app#2973 (comment) Also enable libcurl support.
1 parent 923f9c9 commit b72be3c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/libsixel/build.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,19 @@ TERMUX_PKG_DESCRIPTION="Encoder/decoder implementation for DEC SIXEL graphics"
33
TERMUX_PKG_LICENSE="MIT"
44
TERMUX_PKG_MAINTAINER="@termux"
55
TERMUX_PKG_VERSION=1.10.3
6+
TERMUX_PKG_REVISION=1
67
TERMUX_PKG_SRCURL=https://github.com/libsixel/libsixel/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
78
TERMUX_PKG_SHA256=028552eb8f2a37c6effda88ee5e8f6d87b5d9601182ddec784a9728865f821e0
8-
TERMUX_PKG_DEPENDS="libcurl, libjpeg-turbo, libpng"
9+
TERMUX_PKG_DEPENDS="libcurl, libjpeg-turbo, libpng, libgd, gdk-pixbuf"
910
TERMUX_PKG_BREAKS="libsixel-dev"
1011
TERMUX_PKG_REPLACES="libsixel-dev"
1112

13+
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
14+
-Dgdk-pixbuf2=enabled
15+
-Dgd=enabled
16+
-Dlibcurl=enabled
17+
"
18+
1219
termux_step_pre_configure() {
1320
export PYTHON_VERSION=$(. $TERMUX_SCRIPTDIR/packages/python/build.sh; echo $_MAJOR_VERSION)
1421
export PYTHON=python$PYTHON_VERSION

0 commit comments

Comments
 (0)