Skip to content

Commit

Permalink
libsixel: depend on libgd and gdk-pixbuf
Browse files Browse the repository at this point in the history
Fixes issue with some GIFs.

See my comment at termux/termux-app#2973 (comment)

Also enable libcurl support.
  • Loading branch information
termux-pacman-bot committed Sep 8, 2022
1 parent fffa762 commit dc46439
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/libsixel/build.sh
Expand Up @@ -3,12 +3,19 @@ TERMUX_PKG_DESCRIPTION="Encoder/decoder implementation for DEC SIXEL graphics"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.10.3
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/libsixel/libsixel/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=028552eb8f2a37c6effda88ee5e8f6d87b5d9601182ddec784a9728865f821e0
TERMUX_PKG_DEPENDS="libcurl, libjpeg-turbo, libpng"
TERMUX_PKG_DEPENDS="libcurl, libjpeg-turbo, libpng, libgd, gdk-pixbuf"
TERMUX_PKG_BREAKS="libsixel-dev"
TERMUX_PKG_REPLACES="libsixel-dev"

TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-Dgdk-pixbuf2=enabled
-Dgd=enabled
-Dlibcurl=enabled
"

termux_step_pre_configure() {
export PYTHON_VERSION=$(. $TERMUX_SCRIPTDIR/packages/python/build.sh; echo $_MAJOR_VERSION)
export PYTHON=python$PYTHON_VERSION
Expand Down

0 comments on commit dc46439

Please sign in to comment.