2018-11-29 13:00:47 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.gnome.org/
|
2018-10-18 00:21:56 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Allows you to load glade interface files in a program at runtime"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="LGPL-2.0"
|
2020-05-14 00:01:15 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
|
2018-10-18 00:21:56 +02:00
|
|
|
TERMUX_PKG_VERSION=2.6.4
|
2020-08-14 13:15:42 +02:00
|
|
|
TERMUX_PKG_REVISION=16
|
2018-10-18 00:21:56 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/libglade/2.6/libglade-${TERMUX_PKG_VERSION}.tar.bz2
|
|
|
|
TERMUX_PKG_SHA256=64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec
|
2019-11-18 02:37:35 +01:00
|
|
|
TERMUX_PKG_DEPENDS="atk, fontconfig, freetype, gdk-pixbuf, glib, gtk2, libcairo, libxml2, pango"
|
2018-10-18 00:21:56 +02:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/gtk-doc"
|
|
|
|
|
|
|
|
# For libglade-convert.
|
|
|
|
TERMUX_PKG_SUGGESTS="python2"
|
|
|
|
|
2018-11-29 15:06:59 +01:00
|
|
|
termux_step_pre_configure() {
|
2019-01-21 17:50:21 +01:00
|
|
|
export LIBS="-lgmodule-2.0"
|
2018-11-29 15:06:59 +01:00
|
|
|
}
|
|
|
|
|
2018-10-18 00:21:56 +02:00
|
|
|
termux_step_post_make_install() {
|
2019-01-21 17:50:21 +01:00
|
|
|
sed \
|
|
|
|
-i "s|#!/usr/bin/python|#!${TERMUX_PREFIX}/bin/python2|g" \
|
|
|
|
"${TERMUX_PREFIX}/bin/libglade-convert"
|
2018-10-18 00:21:56 +02:00
|
|
|
}
|