From d7ca71988ee2fbed589061b4f37308451239cafb Mon Sep 17 00:00:00 2001 From: lunsokhasovan Date: Wed, 16 Apr 2025 10:17:07 +0700 Subject: [PATCH 1/9] New pkgs: libgnome-games-support --- tur/libgnome-games-support-1/build.sh | 9 +++++++++ tur/libgnome-games-support/build.sh | 10 ++++++++++ 2 files changed, 19 insertions(+) create mode 100644 tur/libgnome-games-support-1/build.sh create mode 100644 tur/libgnome-games-support/build.sh diff --git a/tur/libgnome-games-support-1/build.sh b/tur/libgnome-games-support-1/build.sh new file mode 100644 index 0000000000..3c7d628481 --- /dev/null +++ b/tur/libgnome-games-support-1/build.sh @@ -0,0 +1,9 @@ +TERMUX_PKG_HOMEPAGE="https://gitlab.gnome.org/GNOME/libgnome-games-support/" +TERMUX_PKG_DESCRIPTION="Support library for GNOME games" +TERMUX_PKG_LICENSE="GPL-3.0" +TERMUX_PKG_MAINTAINER="@lunsokhasovan, @termux-user-repository" +TERMUX_PKG_VERSION=1.8.2 +TERMUX_PKG_SRCURL=https://download.gnome.org/sources/libgnome-games-support/${TERMUX_PKG_VERSION%.*}/libgnome-games-support-${TERMUX_PKG_VERSION}.tar.xz +TERMUX_PKG_SHA256=cb6c4859d16bffc941b1098f7f624c84e6a3339fce45629e45ba8b3f653d58f9 +TERMUX_PKG_DEPENDS="glib, gtk4, libgee" +TERMUX_PKG_BUILD_DEPENDS="gettext" \ No newline at end of file diff --git a/tur/libgnome-games-support/build.sh b/tur/libgnome-games-support/build.sh new file mode 100644 index 0000000000..86ea6ccad7 --- /dev/null +++ b/tur/libgnome-games-support/build.sh @@ -0,0 +1,10 @@ +TERMUX_PKG_HOMEPAGE="https://gitlab.gnome.org/GNOME/libgnome-games-support/" +TERMUX_PKG_DESCRIPTION="Support library for GNOME games" +TERMUX_PKG_LICENSE="GPL-3.0" +TERMUX_PKG_MAINTAINER="@lunsokhasovan, @termux-user-repository" +TERMUX_PKG_VERSION=2.0.1 +TERMUX_PKG_SRCURL=https://download.gnome.org/sources/libgnome-games-support/${TERMUX_PKG_VERSION%.*}/libgnome-games-support-${TERMUX_PKG_VERSION}.tar.xz +TERMUX_PKG_SHA256=0186f25c4892c86c7eac43a307fc19db696df4f19aca7f54e83c221df9d9790a +TERMUX_PKG_DEPENDS="glib, gtk4, libgee" +TERMUX_PKG_BUILD_DEPENDS="gettext" +TERMUX_PKG_AUTO_UPDATE=true \ No newline at end of file From 0cf556dc5a9456dbe8fe2e692868ed748bfe1155 Mon Sep 17 00:00:00 2001 From: lunsokhasovan Date: Wed, 16 Apr 2025 10:33:09 +0700 Subject: [PATCH 2/9] New pkg: gnome-mines --- tur-on-device/gnome-mines/build.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tur-on-device/gnome-mines/build.sh diff --git a/tur-on-device/gnome-mines/build.sh b/tur-on-device/gnome-mines/build.sh new file mode 100644 index 0000000000..39f3344796 --- /dev/null +++ b/tur-on-device/gnome-mines/build.sh @@ -0,0 +1,19 @@ +TERMUX_PKG_HOMEPAGE="https://wiki.gnome.org/Apps/Mines" +TERMUX_PKG_DESCRIPTION="GNOME Mines Sweeper game" +TERMUX_PKG_LICENSE="GPL-3.0-or-later" +TERMUX_PKG_MAINTAINER="@lunsokhasovan, @termux-user-repository" +TERMUX_PKG_VERSION=48.1 +TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gnome-mines/${TERMUX_PKG_VERSION%.*}/gnome-mines-${TERMUX_PKG_VERSION}.tar.xz +TERMUX_PKG_SHA256=ef4b2d2dde3bec614157edde4d9189cc6afe692952a2dd55b2870e2e62ed8104 +TERMUX_PKG_DEPENDS="glib, gtk4, libadwaita, librsvg, libgnome-games-support" +TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, gettext, itstool" +TERMUX_PKG_AUTO_UPDATE=true + +termux_step_pre_configure() { + if [ "${TERMUX_ON_DEVICE_BUILD}" = false ]; then + termux_error_exit "This package doesn't support cross-compiling." + fi + + export PYTHONDONTWRITEBYTECODE=1 + termux_setup_gir +} From 09fd2320f7638f46e69878eb814e7b0bc73dee7d Mon Sep 17 00:00:00 2001 From: lunsokhasovan Date: Wed, 16 Apr 2025 10:47:09 +0700 Subject: [PATCH 3/9] New pkg: swell-foop --- tur-on-device/swell-foop/build.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tur-on-device/swell-foop/build.sh diff --git a/tur-on-device/swell-foop/build.sh b/tur-on-device/swell-foop/build.sh new file mode 100644 index 0000000000..e8f6aa0cbe --- /dev/null +++ b/tur-on-device/swell-foop/build.sh @@ -0,0 +1,19 @@ +TERMUX_PKG_HOMEPAGE="https://wiki.gnome.org/Apps/Swell%20Foop" +TERMUX_PKG_DESCRIPTION="GNOME colored tiles puzzle game" +TERMUX_PKG_LICENSE="GPL-2.0-or-later" +TERMUX_PKG_MAINTAINER="@lunsokhasovan, @termux-user-repository" +TERMUX_PKG_VERSION=48.1 +TERMUX_PKG_SRCURL=https://download.gnome.org/sources/swell-foop/${TERMUX_PKG_VERSION%.*}/swell-foop-${TERMUX_PKG_VERSION}.tar.xz +TERMUX_PKG_SHA256=5b9630878fe701aee751ed46ff765c2bcd9f815a4e5582676a3c26b31182031b +TERMUX_PKG_DEPENDS="glib, gtk4, libadwaita, libcairo, librsvg, libgnome-games-support, pango" +TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, gettext, itstool" +TERMUX_PKG_AUTO_UPDATE=true + +termux_step_pre_configure() { + if [ "${TERMUX_ON_DEVICE_BUILD}" = false ]; then + termux_error_exit "This package doesn't support cross-compiling." + fi + + export PYTHONDONTWRITEBYTECODE=1 + termux_setup_gir +} From ff9cc0936771cf036553239c8c0207cd3d1a11c2 Mon Sep 17 00:00:00 2001 From: lunsokhasovan Date: Thu, 17 Apr 2025 10:25:16 +0700 Subject: [PATCH 4/9] New pkg: lightsoff --- tur-on-device/lightsoff/build.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tur-on-device/lightsoff/build.sh diff --git a/tur-on-device/lightsoff/build.sh b/tur-on-device/lightsoff/build.sh new file mode 100644 index 0000000000..5c0f9b5f71 --- /dev/null +++ b/tur-on-device/lightsoff/build.sh @@ -0,0 +1,19 @@ +TERMUX_PKG_HOMEPAGE="https://wiki.gnome.org/Apps/Lightsoff" +TERMUX_PKG_DESCRIPTION="GNOME Lightsoff game" +TERMUX_PKG_LICENSE="GPL-2.0-or-later" +TERMUX_PKG_MAINTAINER="@lunsokhasovan, @termux-user-repository" +TERMUX_PKG_VERSION=48.1 +TERMUX_PKG_SRCURL=https://download.gnome.org/sources/lightsoff/${TERMUX_PKG_VERSION%.*}/lightsoff-${TERMUX_PKG_VERSION}.tar.xz +TERMUX_PKG_SHA256=2ec99501713dbcd13c5a565a2e118cc4cc2b502836b387a7736cfba40a8b3989 +TERMUX_PKG_DEPENDS="glib, gtk4, libadwaita, libcairo, librsvg, libgnome-games-support, pango" +TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, gettext, itstool" +TERMUX_PKG_AUTO_UPDATE=true + +termux_step_pre_configure() { + if [ "${TERMUX_ON_DEVICE_BUILD}" = false ]; then + termux_error_exit "This package doesn't support cross-compiling." + fi + + export PYTHONDONTWRITEBYTECODE=1 + termux_setup_gir +} From 587a2eb373648baf4ccb296f7e2317f1735a6cd4 Mon Sep 17 00:00:00 2001 From: lunsokhasovan Date: Thu, 17 Apr 2025 10:45:46 +0700 Subject: [PATCH 5/9] Add and remove depends on pkgs --- tur-on-device/gnome-mines/build.sh | 2 +- tur-on-device/lightsoff/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tur-on-device/gnome-mines/build.sh b/tur-on-device/gnome-mines/build.sh index 39f3344796..0f0c5294d9 100644 --- a/tur-on-device/gnome-mines/build.sh +++ b/tur-on-device/gnome-mines/build.sh @@ -5,7 +5,7 @@ TERMUX_PKG_MAINTAINER="@lunsokhasovan, @termux-user-repository" TERMUX_PKG_VERSION=48.1 TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gnome-mines/${TERMUX_PKG_VERSION%.*}/gnome-mines-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=ef4b2d2dde3bec614157edde4d9189cc6afe692952a2dd55b2870e2e62ed8104 -TERMUX_PKG_DEPENDS="glib, gtk4, libadwaita, librsvg, libgnome-games-support" +TERMUX_PKG_DEPENDS="glib, gtk4, libadwaita, libcairo, librsvg, libgnome-games-support" TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, gettext, itstool" TERMUX_PKG_AUTO_UPDATE=true diff --git a/tur-on-device/lightsoff/build.sh b/tur-on-device/lightsoff/build.sh index 5c0f9b5f71..827b605516 100644 --- a/tur-on-device/lightsoff/build.sh +++ b/tur-on-device/lightsoff/build.sh @@ -5,7 +5,7 @@ TERMUX_PKG_MAINTAINER="@lunsokhasovan, @termux-user-repository" TERMUX_PKG_VERSION=48.1 TERMUX_PKG_SRCURL=https://download.gnome.org/sources/lightsoff/${TERMUX_PKG_VERSION%.*}/lightsoff-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=2ec99501713dbcd13c5a565a2e118cc4cc2b502836b387a7736cfba40a8b3989 -TERMUX_PKG_DEPENDS="glib, gtk4, libadwaita, libcairo, librsvg, libgnome-games-support, pango" +TERMUX_PKG_DEPENDS="glib, gtk4, libadwaita, libcairo, librsvg" TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, gettext, itstool" TERMUX_PKG_AUTO_UPDATE=true From 06a79b0cfbe0deb2e9c43dad22a7ddfc751dfc83 Mon Sep 17 00:00:00 2001 From: lunsokhasovan Date: Thu, 17 Apr 2025 15:46:05 +0700 Subject: [PATCH 6/9] Add setup gir? --- tur/libgnome-games-support-1/build.sh | 6 +++++- tur/libgnome-games-support/build.sh | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/tur/libgnome-games-support-1/build.sh b/tur/libgnome-games-support-1/build.sh index 3c7d628481..dcea74b223 100644 --- a/tur/libgnome-games-support-1/build.sh +++ b/tur/libgnome-games-support-1/build.sh @@ -6,4 +6,8 @@ TERMUX_PKG_VERSION=1.8.2 TERMUX_PKG_SRCURL=https://download.gnome.org/sources/libgnome-games-support/${TERMUX_PKG_VERSION%.*}/libgnome-games-support-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=cb6c4859d16bffc941b1098f7f624c84e6a3339fce45629e45ba8b3f653d58f9 TERMUX_PKG_DEPENDS="glib, gtk4, libgee" -TERMUX_PKG_BUILD_DEPENDS="gettext" \ No newline at end of file +TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, gettext" + +termux_step_pre_configure() { + termux_setup_gir +} diff --git a/tur/libgnome-games-support/build.sh b/tur/libgnome-games-support/build.sh index 86ea6ccad7..6ebfe6225d 100644 --- a/tur/libgnome-games-support/build.sh +++ b/tur/libgnome-games-support/build.sh @@ -6,5 +6,9 @@ TERMUX_PKG_VERSION=2.0.1 TERMUX_PKG_SRCURL=https://download.gnome.org/sources/libgnome-games-support/${TERMUX_PKG_VERSION%.*}/libgnome-games-support-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=0186f25c4892c86c7eac43a307fc19db696df4f19aca7f54e83c221df9d9790a TERMUX_PKG_DEPENDS="glib, gtk4, libgee" -TERMUX_PKG_BUILD_DEPENDS="gettext" -TERMUX_PKG_AUTO_UPDATE=true \ No newline at end of file +TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, gettext" +TERMUX_PKG_AUTO_UPDATE=true + +termux_step_pre_configure() { + termux_setup_gir +} From 09703718bede834bb4823e2442b49bac9eb07ad4 Mon Sep 17 00:00:00 2001 From: lunsokhasovan Date: Thu, 17 Apr 2025 15:57:05 +0700 Subject: [PATCH 7/9] Pick a wrong sha256 --- tur/libgnome-games-support-1/build.sh | 2 +- tur/libgnome-games-support/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tur/libgnome-games-support-1/build.sh b/tur/libgnome-games-support-1/build.sh index dcea74b223..5f6a0264b4 100644 --- a/tur/libgnome-games-support-1/build.sh +++ b/tur/libgnome-games-support-1/build.sh @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@lunsokhasovan, @termux-user-repository" TERMUX_PKG_VERSION=1.8.2 TERMUX_PKG_SRCURL=https://download.gnome.org/sources/libgnome-games-support/${TERMUX_PKG_VERSION%.*}/libgnome-games-support-${TERMUX_PKG_VERSION}.tar.xz -TERMUX_PKG_SHA256=cb6c4859d16bffc941b1098f7f624c84e6a3339fce45629e45ba8b3f653d58f9 +TERMUX_PKG_SHA256=28434604a7b038731ac0231731388ff104f565bb2330cc24e78cda04cfd3ef7d TERMUX_PKG_DEPENDS="glib, gtk4, libgee" TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, gettext" diff --git a/tur/libgnome-games-support/build.sh b/tur/libgnome-games-support/build.sh index 6ebfe6225d..416605c55f 100644 --- a/tur/libgnome-games-support/build.sh +++ b/tur/libgnome-games-support/build.sh @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@lunsokhasovan, @termux-user-repository" TERMUX_PKG_VERSION=2.0.1 TERMUX_PKG_SRCURL=https://download.gnome.org/sources/libgnome-games-support/${TERMUX_PKG_VERSION%.*}/libgnome-games-support-${TERMUX_PKG_VERSION}.tar.xz -TERMUX_PKG_SHA256=0186f25c4892c86c7eac43a307fc19db696df4f19aca7f54e83c221df9d9790a +TERMUX_PKG_SHA256=17626f4a4039f13d033382119c7ab4e10fcf17e3817b309c8223bbbc2379377a TERMUX_PKG_DEPENDS="glib, gtk4, libgee" TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, gettext" TERMUX_PKG_AUTO_UPDATE=true From 48d8b725ab44a365667f6fcb28f72a2a440db85e Mon Sep 17 00:00:00 2001 From: lunsokhasovan Date: Thu, 17 Apr 2025 16:08:26 +0700 Subject: [PATCH 8/9] Add missing build depend --- tur/libgnome-games-support-1/build.sh | 2 +- tur/libgnome-games-support/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tur/libgnome-games-support-1/build.sh b/tur/libgnome-games-support-1/build.sh index 5f6a0264b4..fb16cdf752 100644 --- a/tur/libgnome-games-support-1/build.sh +++ b/tur/libgnome-games-support-1/build.sh @@ -6,7 +6,7 @@ TERMUX_PKG_VERSION=1.8.2 TERMUX_PKG_SRCURL=https://download.gnome.org/sources/libgnome-games-support/${TERMUX_PKG_VERSION%.*}/libgnome-games-support-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=28434604a7b038731ac0231731388ff104f565bb2330cc24e78cda04cfd3ef7d TERMUX_PKG_DEPENDS="glib, gtk4, libgee" -TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, gettext" +TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, gettext, attr" termux_step_pre_configure() { termux_setup_gir diff --git a/tur/libgnome-games-support/build.sh b/tur/libgnome-games-support/build.sh index 416605c55f..b44e2a3f6e 100644 --- a/tur/libgnome-games-support/build.sh +++ b/tur/libgnome-games-support/build.sh @@ -6,7 +6,7 @@ TERMUX_PKG_VERSION=2.0.1 TERMUX_PKG_SRCURL=https://download.gnome.org/sources/libgnome-games-support/${TERMUX_PKG_VERSION%.*}/libgnome-games-support-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=17626f4a4039f13d033382119c7ab4e10fcf17e3817b309c8223bbbc2379377a TERMUX_PKG_DEPENDS="glib, gtk4, libgee" -TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, gettext" +TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, gettext, attr" TERMUX_PKG_AUTO_UPDATE=true termux_step_pre_configure() { From 90705869e5a473fc0b9ed916dbade5b2c2bc93b3 Mon Sep 17 00:00:00 2001 From: lunsokhasovan Date: Thu, 17 Apr 2025 16:15:30 +0700 Subject: [PATCH 9/9] ... --- tur/libgnome-games-support/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tur/libgnome-games-support/build.sh b/tur/libgnome-games-support/build.sh index b44e2a3f6e..eac183410b 100644 --- a/tur/libgnome-games-support/build.sh +++ b/tur/libgnome-games-support/build.sh @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@lunsokhasovan, @termux-user-repository" TERMUX_PKG_VERSION=2.0.1 TERMUX_PKG_SRCURL=https://download.gnome.org/sources/libgnome-games-support/${TERMUX_PKG_VERSION%.*}/libgnome-games-support-${TERMUX_PKG_VERSION}.tar.xz -TERMUX_PKG_SHA256=17626f4a4039f13d033382119c7ab4e10fcf17e3817b309c8223bbbc2379377a +TERMUX_PKG_SHA256=0186f25c4892c86c7eac43a307fc19db696df4f19aca7f54e83c221df9d9790a TERMUX_PKG_DEPENDS="glib, gtk4, libgee" TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, gettext, attr" TERMUX_PKG_AUTO_UPDATE=true