From 366b476966068d8951169f7c024a90507b3f5493 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 2e1fb8754bf63ee4ef41a3fe9feccf23e50c9f01 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.3.0 --- 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..cd56e99091a616 --- /dev/null +++ b/srcpkgs/dialect/template @@ -0,0 +1,29 @@ +# Template file for 'dialect' +pkgname=dialect +version=2.3.0 +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=5dc38d6bf510db873a4972fe2b0695239aa6bf00 +distfiles="https://github.com/dialect-app/dialect/archive/${version}.tar.gz + https://github.com/dialect-app/po/archive/${_commit}.tar.gz" +checksum="e304210368c3d35feafa7fee77471d89e5c15cd654b658091dc8a4d1a893e5a0 + 491ac8fcba4a51b271a398d0f5a994441365b4a03525392d638475a52ee9bb11" +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