mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-13 14:09:19 +00:00
43de184b3e
Effectively reverts commit 0120a4048a66fa3447278e3f2688889895a0c06d. %ci:no-build
28 lines
967 B
Bash
28 lines
967 B
Bash
TERMUX_PKG_HOMEPAGE=https://wiki.gnome.org/Projects/GtkSourceView
|
|
TERMUX_PKG_DESCRIPTION="A GNOME library that extends GtkTextView"
|
|
TERMUX_PKG_LICENSE="LGPL-2.1"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
_MAJOR_VERSION=3.24
|
|
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.11
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gtksourceview/${_MAJOR_VERSION}/gtksourceview-${TERMUX_PKG_VERSION}.tar.xz
|
|
TERMUX_PKG_SHA256=691b074a37b2a307f7f48edc5b8c7afa7301709be56378ccf9cc9735909077fd
|
|
TERMUX_PKG_DEPENDS="atk, gdk-pixbuf, glib, gtk3, harfbuzz, libcairo, libxml2, pango, zlib"
|
|
TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, valac"
|
|
TERMUX_PKG_DISABLE_GIR=false
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
--enable-introspection=yes
|
|
--enable-vala=yes
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_gir
|
|
}
|
|
|
|
termux_step_post_massage() {
|
|
local _GUARD_FILE="lib/libgtksourceview-3.0.so"
|
|
if [ ! -e "${_GUARD_FILE}" ]; then
|
|
termux_error_exit "Error: file ${_GUARD_FILE} not found."
|
|
fi
|
|
}
|