From e0372ca5fb230cd19c05008d97a462011fb69593 Mon Sep 17 00:00:00 2001 From: chrysos349 Date: Sun, 7 Jan 2024 05:11:06 +0300 Subject: [PATCH 1/2] New package: python3-gtts-2.5.1 --- srcpkgs/python3-gtts/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-gtts/template diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template new file mode 100644 index 00000000000000..5c6171c79240fc --- /dev/null +++ b/srcpkgs/python3-gtts/template @@ -0,0 +1,21 @@ +# Template file for 'python3-gtts' +pkgname=python3-gtts +version=2.5.1 +revision=1 +build_style=python3-pep517 +make_install_target="dist/gTTS-*-*-*-*.whl" +hostmakedepends="python3-wheel" +depends="python3-click python3-requests" +short_desc="Library and CLI tool to interface with Google Translate's TTS API" +maintainer="chrysos349 " +license="MIT" +homepage="https://github.com/pndurette/gTTS" +changelog="https://raw.githubusercontent.com/pndurette/gTTS/main/CHANGELOG.md" +distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz" +checksum=02d0a9874f945dee9cd5092991c60bc88d4b7767b8cd81144b6fb49dc3de6897 +make_check=no # requires python3-testfixtures + +post_install() { + vlicense LICENSE + rm -rf ${DESTDIR}/${py3_sitelib}/gtts/{,tokenizer}/tests +} From 93fb0bc4efeb49bb838ddfd1bc79bc18aff1223a Mon Sep 17 00:00:00 2001 From: chrysos349 Date: Sun, 7 Jan 2024 05:11:46 +0300 Subject: [PATCH 2/2] New package: dialect-2.4.1 --- srcpkgs/dialect/template | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 srcpkgs/dialect/template diff --git a/srcpkgs/dialect/template b/srcpkgs/dialect/template new file mode 100644 index 00000000000000..fec4be15aa90dc --- /dev/null +++ b/srcpkgs/dialect/template @@ -0,0 +1,29 @@ +# Template file for 'dialect' +pkgname=dialect +version=2.4.1 +revision=1 +build_style=meson +hostmakedepends="blueprint-compiler desktop-file-utils gettext glib-devel + gtk4-update-icon-cache pkg-config" +makedepends="libadwaita-devel python3-gobject-devel" +depends="gst-plugins-good1 libadwaita libsoup3 python3-BeautifulSoup4 + python3-dbus python3-gobject python3-gtts" +short_desc="Translation app for GNOME" +maintainer="chrysos349 " +license="GPL-3.0-or-later" +homepage="https://github.com/dialect-app/dialect" +changelog="https://raw.githubusercontent.com/dialect-app/dialect/main/NEWS.md" +_commit=6db04f8783e4a99528837aeb3c8266673fc3ef17 +distfiles="https://github.com/dialect-app/dialect/archive/${version}.tar.gz + https://github.com/dialect-app/po/archive/${_commit}.tar.gz" +checksum="6060a8324bc50b623ba000424d4c7631f356d61b8fa5cfec80cadd1c4f4559f4 + 85271c50d19f4264316098f9be65939325c2a02a4db0d51a1a35986db570b6e7" +skip_extraction="${_commit}.tar.gz" + +post_extract() { + vsrcextract -C po "${_commit}.tar.gz" +} + +if [ "$CROSS_BUILD" ]; then + export GI_TYPELIB_PATH="${XBPS_CROSS_BASE}/usr/lib/girepository-1.0" +fi