new package: libmatekbd (#322)

This commit is contained in:
Suhan G Paradkar 2021-05-19 01:40:30 +05:30 committed by Yaksh Bariya
parent 6e17c96972
commit e1b065b04a
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,13 @@
TERMUX_PKG_HOMEPAGE=https://libmatekbd.mate-desktop.dev/
TERMUX_PKG_DESCRIPTION="libmatekbd is a fork of libgnomekbd"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_VERSION=1.25.0
TERMUX_PKG_SRCURL=https://github.com/mate-desktop/libmatekbd/releases/download/v$TERMUX_PKG_VERSION/libmatekbd-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=0e0580370f29d867a11291805b2d39a0cd1951f84cda3f91cb9611f246a8e305
TERMUX_PKG_DEPENDS="glib, gtk3, libxklavier"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="LIBXKLAVIER=${TERMUX_PREFIX}/lib/libxklavier.so"
termux_step_pre_configure() {
export GLIB_COMPILE_RESOURCES="glib-compile-resources"
export GLIB_COMPILE_SCHEMAS="glib-compile-schemas"
}

View File

@ -0,0 +1,24 @@
diff '--color=auto' -uNr libmatekbd-1.25.0/libmatekbd/Makefile.am libmatekbd-1.25.0.mod/libmatekbd/Makefile.am
--- libmatekbd-1.25.0/libmatekbd/Makefile.am 2020-08-18 19:01:05.000000000 +0530
+++ libmatekbd-1.25.0.mod/libmatekbd/Makefile.am 2021-05-18 17:58:05.559082493 +0530
@@ -103,7 +103,7 @@
DISTCLEANFILES = $(gsettings_SCHEMAS)
-GLIB_GENMARSHAL = $(shell pkg-config --variable=glib_genmarshal glib-2.0)
+GLIB_GENMARSHAL = glib-genmarshal
matekbd-indicator-marshal.h: matekbd-indicator-marshal.list
$(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=matekbd_indicator $(srcdir)/matekbd-indicator-marshal.list --header > $@
diff '--color=auto' -uNr libmatekbd-1.25.0/libmatekbd/Makefile.in libmatekbd-1.25.0.mod/libmatekbd/Makefile.in
--- libmatekbd-1.25.0/libmatekbd/Makefile.in 2020-08-18 19:03:11.000000000 +0530
+++ libmatekbd-1.25.0.mod/libmatekbd/Makefile.in 2021-05-18 17:59:00.295082496 +0530
@@ -531,7 +531,7 @@
$(NULL)
DISTCLEANFILES = $(gsettings_SCHEMAS)
-GLIB_GENMARSHAL = $(shell pkg-config --variable=glib_genmarshal glib-2.0)
+GLIB_GENMARSHAL = glib-genmarshal
INTROSPECTION_GIRS = Matekbd-1.0.gir
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --warn-all
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)