2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://cairographics.org
|
|
|
|
TERMUX_PKG_DESCRIPTION="Cairo 2D vector graphics library (with X)"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="LGPL-2.0"
|
2019-05-17 00:18:48 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
2018-11-22 14:02:57 +01:00
|
|
|
TERMUX_PKG_VERSION=1.16.0
|
2019-08-13 15:32:01 +02:00
|
|
|
TERMUX_PKG_REVISION=7
|
2018-11-22 14:02:57 +01:00
|
|
|
TERMUX_PKG_SHA256=5e7b29b3f113ef870d1e3ecf8adf21f923396401604bda16d44be45e66052331
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://cairographics.org/releases/cairo-${TERMUX_PKG_VERSION}.tar.xz
|
|
|
|
|
2019-08-13 15:32:01 +02:00
|
|
|
TERMUX_PKG_DEPENDS="fontconfig, freetype, glib, liblzo, libpixman, libpng, librsvg, libx11, libxcb, libxext, libxrender, poppler, zlib"
|
|
|
|
TERMUX_PKG_BUILD_DEPENDS="libandroid-shmem-static"
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_PROVIDES="libcairo, libcairo-gobject"
|
|
|
|
TERMUX_PKG_REPLACES="${TERMUX_PKG_PROVIDES}"
|
|
|
|
TERMUX_PKG_CONFLICTS="${TERMUX_PKG_PROVIDES}, libcairo-dev"
|
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--disable-gtk-doc-html
|
|
|
|
--disable-gl
|
|
|
|
--enable-gobject
|
|
|
|
--enable-pdf
|
|
|
|
--enable-svg
|
|
|
|
--enable-ps
|
|
|
|
"
|
|
|
|
|
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/gtk-doc/html"
|
2019-08-13 15:32:01 +02:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
export LIBS="-l:libandroid-shmem.a -llog"
|
|
|
|
}
|