termux-packages/x11-packages/libgnomecanvas/build.sh

16 lines
652 B
Bash
Raw Normal View History

2019-01-26 23:04:18 +01:00
TERMUX_PKG_HOMEPAGE=https://www.gnome.org/
2019-01-24 18:52:17 +01:00
TERMUX_PKG_DESCRIPTION="The GNOME Canvas library"
TERMUX_PKG_LICENSE="LGPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
2019-01-24 18:52:17 +01:00
TERMUX_PKG_VERSION=2.30.3
TERMUX_PKG_REVISION=21
2019-01-24 18:52:17 +01:00
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/libgnomecanvas/2.30/libgnomecanvas-$TERMUX_PKG_VERSION.tar.bz2
TERMUX_PKG_SHA256=859b78e08489fce4d5c15c676fec1cd79782f115f516e8ad8bed6abcb8dedd40
TERMUX_PKG_DEPENDS="atk, glib, gtk2, libart-lgpl, libglade, pango"
2019-01-24 18:52:17 +01:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-glade"
TERMUX_PKG_RM_AFTER_INSTALL="lib/locale"
termux_step_post_configure() {
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
}