app-i18n/dialect: new package, add 2.1.1, 9999
This commit is contained in:
parent
f8868cc7be
commit
d0af03667f
2
app-i18n/dialect/Manifest
Normal file
2
app-i18n/dialect/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST dialect-2.1.1.tar.gz 135097 BLAKE2B 46af1d099e28e7d175cf7f9e88b563ac758fd163506fd68e2d744f14f028393a27b9df4c1a6c6c9e4601fec8bb02fc9d64edfa2741d4a9bba3ae0a9e851a3820 SHA512 0a14f0ec65e3aee275c5dcb1514ac39a73c3100c6a4e78c036c92ad17f904b5ea56c6092899f1ea415174c2777f2ee6b8435968ba532c5c4c326f18980a14145
|
||||||
|
DIST dialect-po-2.1.1.tar.gz 138036 BLAKE2B 294797b66d791cbf5d269c13b1e53df274d434e14c59df2df487ed855e6c6272c5ad66428fc63e8f5cadd8b791b75c47f7acb6c4ea15c09d0d90804bc54dbcd3 SHA512 2fc63bdf49227937afc6fe45bf72ff69e6d0a9d0eb99e2ae085794866a0b650c56ffe6502c09f6c42fc976679cf0dd8586f180a198874427ceb2df42099c0653
|
67
app-i18n/dialect/dialect-2.1.1.ebuild
Normal file
67
app-i18n/dialect/dialect-2.1.1.ebuild
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
# Copyright 1999-2023 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}]
|
||||||
|
')
|
||||||
|
"
|
||||||
|
BDEPEND=""
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
67
app-i18n/dialect/dialect-9999.ebuild
Normal file
67
app-i18n/dialect/dialect-9999.ebuild
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
# Copyright 1999-2023 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}]
|
||||||
|
')
|
||||||
|
"
|
||||||
|
BDEPEND=""
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
11
app-i18n/dialect/metadata.xml
Normal file
11
app-i18n/dialect/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>flewkey@2a03.party</email>
|
||||||
|
<name>Ryan Fox</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">dialect-app/dialect</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user