inkscape-extensions: depends on python-lxml

This commit is contained in:
Chongyun Lee 2024-01-16 01:22:58 +08:00
parent 557ebfadba
commit 11ac97e2d0
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Free and open source vector graphics editor"
TERMUX_PKG_LICENSE="GPL-3.0-or-later"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.3.2"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://media.inkscape.org/dl/resources/file/inkscape-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=dbd1844dc443fe5e10d3e9a887144e5fb7223852fff191cfb5ef7adeab0e086b
TERMUX_PKG_DEPENDS="boost, double-conversion, fontconfig, freetype, gdk-pixbuf, glib, gsl, gtk3, gtkmm3, harfbuzz, libatkmm-1.6, libc++, libcairo, libcairomm-1.0, libgc, libglibmm-2.4, libiconv, libjpeg-turbo, libpangomm-1.4, libpng, libsigc++-2.0, libsoup, libx11, libxml2, libxslt, littlecms, pango, poppler, potrace, readline, zlib"

View File

@ -1,12 +1,12 @@
TERMUX_SUBPKG_INCLUDE="share/inkscape/extensions"
TERMUX_SUBPKG_DESCRIPTION="Inkscape extensions"
TERMUX_SUBPKG_DEPENDS="python, python-numpy, python-pip"
TERMUX_SUBPKG_DEPENDS="python, python-numpy, python-pip, python-lxml"
TERMUX_SUBPKG_PLATFORM_INDEPENDENT=true
termux_step_create_subpkg_debscripts() {
cat <<- EOF > ./postinst
#!$TERMUX_PREFIX/bin/sh
echo "Installing dependencies through pip..."
pip3 install lxml scour
pip3 install scour
EOF
}