From 7471ffe6a491aae268950b1b867e27a30b8d20d1 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 22 Oct 2024 09:46:16 +0000 Subject: [PATCH] addpkg(x11/gnome-calculator): 47.0 --- x11-packages/gnome-calculator/build.sh | 16 ++++++++++++++++ .../gnome-calculator-help.subpackage.sh | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 x11-packages/gnome-calculator/build.sh create mode 100644 x11-packages/gnome-calculator/gnome-calculator-help.subpackage.sh diff --git a/x11-packages/gnome-calculator/build.sh b/x11-packages/gnome-calculator/build.sh new file mode 100644 index 000000000000000..5fb447b4f2b6eb1 --- /dev/null +++ b/x11-packages/gnome-calculator/build.sh @@ -0,0 +1,16 @@ +TERMUX_PKG_HOMEPAGE=https://apps.gnome.org/Calculator +TERMUX_PKG_DESCRIPTION="GNOME Scientific calculator" +TERMUX_PKG_LICENSE="GPL-2.0" +TERMUX_PKG_MAINTAINER="@termux" +TERMUX_PKG_VERSION="47.0" +TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gnome-calculator/${TERMUX_PKG_VERSION%.*}/gnome-calculator-${TERMUX_PKG_VERSION}.tar.xz +TERMUX_PKG_SHA256=decdb23283b5dbeef40951b69eaf7d4b80c0c3880ddb01863f9f0f1554f8998b +TERMUX_PKG_AUTO_UPDATE=true +TERMUX_PKG_DEPENDS="glib, gtk4, gtksourceview5, libadwaita, libgee, libmpc, libmpfr, libsoup3, libxml2" +TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, glib-cross, valac" +TERMUX_PKG_RECOMMENDS="gnome-calculator-help" + +termux_step_pre_configure() { + termux_setup_gir + termux_setup_glib_cross_pkg_config_wrapper +} diff --git a/x11-packages/gnome-calculator/gnome-calculator-help.subpackage.sh b/x11-packages/gnome-calculator/gnome-calculator-help.subpackage.sh new file mode 100644 index 000000000000000..4329221ffeda3c4 --- /dev/null +++ b/x11-packages/gnome-calculator/gnome-calculator-help.subpackage.sh @@ -0,0 +1,3 @@ +TERMUX_SUBPKG_INCLUDE="share/help/" +TERMUX_SUBPKG_DESCRIPTION="Gnome Calculator help files" +TERMUX_SUBPKG_PLATFORM_INDEPENDENT=true