1
0

Compare commits

...

5 Commits

Author SHA1 Message Date
270f038c1f
net-misc/tuba: add 0.5.0 2023-09-30 21:33:38 -07:00
b8a1308a86
dev-python/tinytuya: new package, add 1.12.11, 9999 2023-09-30 21:09:14 -07:00
d713660c8c
dev-python/gtts: new package, add 2.3.2, 9999
I forgot to commit this previously. Oops.
2023-09-30 21:05:35 -07:00
43e7949d6f
media-plugins/zplugins: drop 0.2.4, 0.2.5 2023-09-30 21:02:46 -07:00
96c551a130
media-plugins/zplugins: add 0.2.6, use gitlab 2023-09-30 21:02:15 -07:00
16 changed files with 251 additions and 48 deletions

1
dev-python/gtts/Manifest Normal file
View File

@ -0,0 +1 @@
DIST gtts-2.3.2.gh.tar.gz 40344 BLAKE2B cacb7f49314861fc7908592da212d04aab0da31cda30d38775b41ce7874a8c19c0274e605989f592de0d1db4df85e6bc191f8c268b910fdba7987dfe7241ebf9 SHA512 4cb91bb317e30812b4343250c909190de055dda2030163ca43e59ae9739400c073f2bfe1dd1b5660a9be8ac2438fa4db9b63cafd8db09ff950a5e5e88e324fc1

View File

@ -0,0 +1,30 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..12} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/pndurette/gTTS.git"
else
MY_PN="gTTS"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://github.com/pndurette/gTTS/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Python library for Google's text-to-speech"
HOMEPAGE="https://gtts.readthedocs.io/en/latest/"
LICENSE="MIT"
SLOT="0"
RESTRICT="test" # Tests require network access
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""

View File

@ -0,0 +1,30 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..12} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/pndurette/gTTS.git"
else
MY_PN="gTTS"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://github.com/pndurette/gTTS/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Python library for Google's text-to-speech"
HOMEPAGE="https://gtts.readthedocs.io/en/latest/"
LICENSE="MIT"
SLOT="0"
RESTRICT="test" # Tests require network access
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<upstream>
<remote-id type="pypi">gTTS</remote-id>
<remote-id type="github">pndurette/gTTS</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1 @@
DIST tinytuya-1.12.11.gh.tar.gz 366968 BLAKE2B 701143141d138db571b4d4fa17f855d9844ce54f25196b11bed7042afe5e0b24fe9ebf82f375722e5ffdab6d66754dbc4db4f92b0f166495222de90c201424e3 SHA512 a0c1feb581917536d923d74197e1ea7e506f101232c30e5388cb937ed7f9d737b8fbd607c2b400dd6823d2154d059f7bd406964115d15ec148cfa3b9aaf5321b

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<upstream>
<remote-id type="pypi">tinytuya</remote-id>
<remote-id type="github">jasonacox/tinytuya</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,30 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..12} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jasonacox/tinytuya.git"
else
SRC_URI="https://github.com/jasonacox/tinytuya/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Python API for Tuya devices"
HOMEPAGE="https://github.com/jasonacox/tinytuya"
LICENSE="MIT"
SLOT="0"
DEPEND=""
RDEPEND="
${DEPEND}
dev-python/pycryptodome
dev-python/requests
"
BDEPEND=""

View File

@ -0,0 +1,30 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..12} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/jasonacox/tinytuya.git"
else
SRC_URI="https://github.com/jasonacox/tinytuya/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Python API for Tuya devices"
HOMEPAGE="https://github.com/jasonacox/tinytuya"
LICENSE="MIT"
SLOT="0"
DEPEND=""
RDEPEND="
${DEPEND}
dev-python/pycryptodome
dev-python/requests
"
BDEPEND=""

View File

@ -1,2 +1 @@
DIST zplugins-0.2.4.tar.gz 1527583 BLAKE2B 2ea29ca227fd92eb6a6eb6b2bcaaa31fdb126b13546a5f5269e0697b545660f099444752c24951bd89c489c9be52b8bdc92879a616e9749e2b742cc8fa82daef SHA512 20aaf5020afab0971a1c5cd6f29f6e1cdf68a862dfead11a2b0a57ac5fa6d2485185b056b54a7d609fefe230534890d50a20141419e24aac70f2a6eb152293b6
DIST zplugins-0.2.5.tar.gz 1527589 BLAKE2B e99cc44bf9bb8440b185145b47e344d8092c567eaa464b96b39108b3d959522e8f2f2d4890494807dc995a17a32f32f9575342c1a0c6caca1f9027ee13eb27dd SHA512 869c338974384a3f493797bdc25380b8428fa8652d25a33f6a94c5b3ab0ac24e93036ec3c582d0799350d5af5f645e79277479b4b95a8358ec06d95097ec6d15
DIST zplugins-0.2.6.tar.bz2 1293992 BLAKE2B f41229b7bbf885544f19c867e67613a4cf5c2abbed74d5352ee21490084a676e6b8e98fdd1cc070dd6eac8176153f83f8dbf61ad5fcfaf8a486fbae92b7ca751 SHA512 e6f637b63181403fbc944603704cf8e562a07af18a934dab7356a0274dd4b72bbab8244224aef58a5bc7100907b35adf1ff4244ef58b2958b4fefaa686b3f837

View File

@ -1,35 +0,0 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://git.zrythm.org/zrythm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}"
else
inherit git-r3
EGIT_REPO_URI="https://git.zrythm.org/zrythm/zplugins.git"
fi
DESCRIPTION="A collection of audio DSP plugins"
HOMEPAGE="https://git.zrythm.org/zrythm/zplugins"
LICENSE="GPL-3"
SLOT="0"
DEPEND="
dev-scheme/guile
media-libs/libsndfile
x11-libs/ztoolkit[rsvg]
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_configure() {
local emesonargs=(
"-Dlv2dir=$(get_libdir)/lv2"
)
meson_src_configure
}

View File

@ -7,15 +7,16 @@ inherit meson
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zrythm.org/zrythm/zplugins.git"
EGIT_REPO_URI="https://gitlab.zrythm.org/zrythm/zplugins.git"
else
SRC_URI="https://git.zrythm.org/zrythm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
MY_P="${PN}-v${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://gitlab.zrythm.org/zrythm/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}"
fi
DESCRIPTION="A collection of audio DSP plugins"
HOMEPAGE="https://git.zrythm.org/zrythm/zplugins"
HOMEPAGE="https://gitlab.zrythm.org/zrythm/zplugins"
LICENSE="GPL-3"
SLOT="0"

View File

@ -7,15 +7,16 @@ inherit meson
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.zrythm.org/zrythm/zplugins.git"
EGIT_REPO_URI="https://gitlab.zrythm.org/zrythm/zplugins.git"
else
SRC_URI="https://git.zrythm.org/zrythm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
MY_P="${PN}-v${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://gitlab.zrythm.org/zrythm/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}"
fi
DESCRIPTION="A collection of audio DSP plugins"
HOMEPAGE="https://git.zrythm.org/zrythm/zplugins"
HOMEPAGE="https://gitlab.zrythm.org/zrythm/zplugins"
LICENSE="GPL-3"
SLOT="0"

View File

@ -1,2 +1,3 @@
DIST tuba-0.4.0.tar.gz 434483 BLAKE2B a7606c99524cd3e555aca38ef94f343a36e928f8e8fd46811bdbe60feb1385363c53c7f57aebc0710f89e234e0238d01912d24e8c8f167ded8d5ef386e08d405 SHA512 d3612d988605d3c2d20249a091e0b2580aaf6a7c289646f23c6aac9552b9466d8a32621498d8c8f77509bd932326304f4f9657d1a2c7d3ed538cc7e40efa96ce
DIST tuba-0.4.1.tar.gz 439861 BLAKE2B bed75b909ec9c31c53c1c46973011b8396b5e4af976aa5277a1457abd1e51d5e4a13a639632ab9ed5d67339351a99d2e9a8598a04a35b08a5b27de05d6f5c01c SHA512 7804e06a29d18e1fdf88aa4e8237a8fd8c8eccaa668ec9b2057a84a9f17c855b2c378c3ffe354e157fdeb8c392128ddaf6faf92687b67319d7cc3371e4d885ab
DIST tuba-0.5.0.tar.gz 499037 BLAKE2B 182997192b31e643acf92fbd2319e444a3491d01e53f7d365ed6b89abe08523060ed88e2013c1ba3d2f91c8a12381ff3c07e33cc8b57c9e7033df06abb01352d SHA512 4e0a97600c8aef60527f71f84f91e3226ff7dcc9efc7720f8a88cdbbeae327b51a64a4f34bacdf36235b63cbc612fbd102df9c885933b3d118d05f4a99f52be3

View File

@ -0,0 +1,32 @@
diff --git a/src/Views/TabbedBase.vala b/src/Views/TabbedBase.vala
index 6a36a8c..8b752a7 100644
--- a/src/Views/TabbedBase.vala
+++ b/src/Views/TabbedBase.vala
@@ -157,6 +157,7 @@ public class Tuba.Views.TabbedBase : Views.Base {
if (view.content_box.has_css_class ("no-transition")) {
Timeout.add_once (200, () => {
last_view.content_box.remove_css_class ("no-transition");
+ return true;
});
}
diff --git a/src/Widgets/VoteBox.vala b/src/Widgets/VoteBox.vala
index b996f9f..abc3b9c 100644
--- a/src/Widgets/VoteBox.vala
+++ b/src/Widgets/VoteBox.vala
@@ -73,15 +73,11 @@ public class Tuba.Widgets.VoteBox : Gtk.Box {
var percentage = poll.votes_count > 0 ? ((double)p.votes_count / poll.votes_count) * 100 : 0.0;
var provider = new Gtk.CssProvider ();
- #if GTK_4_12
- provider.load_from_string (generate_css_style ((int) percentage));
- #else
#if VALAC_05611
provider.load_from_data (generate_css_style ((int) percentage), -1);
#else
provider.load_from_data (generate_css_style ((int) percentage).data);
#endif
- #endif
row.get_style_context ().add_provider (provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
row.add_css_class (@"ttl-poll-$((int) percentage)");

View File

@ -0,0 +1,58 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils meson vala xdg
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/GeopJr/Tuba.git"
else
MY_PN="Tuba"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://github.com/GeopJr/Tuba/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Mastodon client, previously known as Tooth"
HOMEPAGE="https://tuba.geopjr.dev/"
LICENSE="CC-BY-3.0 GPL-3+"
SLOT="0"
DEPEND="
>=app-crypt/libsecret-0.20
>=dev-libs/glib-2.76.0
>=dev-libs/json-glib-1.4.4
>=dev-libs/libxml2-2.9.10
>=dev-libs/libgee-0.8.5
>=gui-libs/gtk-4.11.3:4
>=gui-libs/libadwaita-1.4
>=net-libs/libsoup-3
gui-libs/gtksourceview:5
"
RDEPEND="${DEPEND}"
BDEPEND="
$(vala_depend)
virtual/pkgconfig
"
PATCHES=( "${FILESDIR}/${P}-fixes.patch" )
VALA_MIN_API_VERSION=0.48
src_prepare() {
default
vala_setup
}
pkg_postinst() {
gnome2_schemas_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_schemas_update
xdg_pkg_postrm
}

View File

@ -23,12 +23,12 @@ SLOT="0"
DEPEND="
>=app-crypt/libsecret-0.20
>=dev-libs/glib-2.71.2
>=dev-libs/glib-2.76.0
>=dev-libs/json-glib-1.4.4
>=dev-libs/libxml2-2.9.10
>=dev-libs/libgee-0.8.5
>=gui-libs/gtk-4.3:4
>=gui-libs/libadwaita-1.2
>=gui-libs/gtk-4.11.3:4
>=gui-libs/libadwaita-1.4
>=net-libs/libsoup-3
gui-libs/gtksourceview:5
"