1
0
Fork 0

app-i18n/dialect: add 2.2.0

This commit is contained in:
Ryan Fox 2024-02-05 20:03:56 -08:00
parent da86d7e6cb
commit 5d13038782
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
3 changed files with 69 additions and 2 deletions

View File

@ -1,2 +1,4 @@
DIST dialect-2.1.1.tar.gz 135097 BLAKE2B 46af1d099e28e7d175cf7f9e88b563ac758fd163506fd68e2d744f14f028393a27b9df4c1a6c6c9e4601fec8bb02fc9d64edfa2741d4a9bba3ae0a9e851a3820 SHA512 0a14f0ec65e3aee275c5dcb1514ac39a73c3100c6a4e78c036c92ad17f904b5ea56c6092899f1ea415174c2777f2ee6b8435968ba532c5c4c326f18980a14145
DIST dialect-2.2.0.tar.gz 146312 BLAKE2B f912a94529ea1265121522396e7b9e874105a78da9f55c320804600e868ac70af060569a2f9f6e8e2642aa598107983ecc6c588852a381e3ca3494e01f9c353d SHA512 716509f55e3098895892005bc678a37ee87f2d9b2fcbdd95205e2c13e22966797d635f404b150fead4e7b8997513db8f53dadd1572ee0f33ec93af6b0158b6c8
DIST dialect-po-2.1.1.tar.gz 138036 BLAKE2B 294797b66d791cbf5d269c13b1e53df274d434e14c59df2df487ed855e6c6272c5ad66428fc63e8f5cadd8b791b75c47f7acb6c4ea15c09d0d90804bc54dbcd3 SHA512 2fc63bdf49227937afc6fe45bf72ff69e6d0a9d0eb99e2ae085794866a0b650c56ffe6502c09f6c42fc976679cf0dd8586f180a198874427ceb2df42099c0653
DIST dialect-po-2.2.0.tar.gz 383045 BLAKE2B 01dae2c59a3f386d4f4a5dbb5a6ce2bfade58b80f6cfd92f6a55fa3a0fffe0b1c1e112344fd05cb8a62958d93235a00b0ad4bcaaaf15b5994c913174695a879d SHA512 8186cfc7a74b7e9dd303a251fd8d70e8a92b72ba626d3b21089bc380687f9bdf9ba7d7d3ba6ed62f70f1f8f28bf6fd9eba8ae11aeeb2f129cbfbe8b0cd8dbb35

View File

@ -0,0 +1,66 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
inherit python-single-r1 gnome2-utils meson xdg
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/dialect-app/dialect.git"
else
SRC_URI="
https://github.com/dialect-app/dialect/archive/${PV}.tar.gz -> ${P}.tar.gz
https://github.com/dialect-app/po/archive/${PV}.tar.gz -> ${PN}-po-${PV}.tar.gz
"
KEYWORDS="~amd64"
fi
DESCRIPTION="Mastodon client, previously known as Tooth"
HOMEPAGE="https://github.com/dialect-app/dialect"
LICENSE="GPL-3"
SLOT="0"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
gui-libs/gtk:4
>=gui-libs/libadwaita-1.2.0:1
media-libs/gstreamer
"
RDEPEND="
${DEPEND}
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/dbus-python[${PYTHON_USEDEP}]
dev-python/gtts[${PYTHON_USEDEP}]
dev-python/pygobject[${PYTHON_USEDEP}]
')
"
src_unpack() {
if [[ ${PV} == 9999 ]]; then
git-r3_src_unpack
else
default
rm -rf "${S}/po" || die
mv "${WORKDIR}/po-${PV}" "${S}/po" || die
fi
}
src_install() {
meson_src_install
python_fix_shebang "${ED}/usr/bin/dialect"
}
pkg_postinst() {
gnome2_schemas_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_schemas_update
xdg_pkg_postrm
}

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -39,7 +39,6 @@ RDEPEND="
dev-python/pygobject[${PYTHON_USEDEP}]
')
"
BDEPEND=""
src_unpack() {
if [[ ${PV} == 9999 ]]; then