commit:     1af98b8fdd8a94cfcddcd128882a9e781c2fbf32
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  3 11:04:15 2022 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Sun Apr  3 11:05:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1af98b8f

media-video/gaupol: add 1.11

Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 media-video/gaupol/Manifest           |  1 +
 media-video/gaupol/gaupol-1.11.ebuild | 65 +++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/media-video/gaupol/Manifest b/media-video/gaupol/Manifest
index a9483cc3e913..385c02b6e75d 100644
--- a/media-video/gaupol/Manifest
+++ b/media-video/gaupol/Manifest
@@ -1,2 +1,3 @@
 DIST gaupol-1.10.1.tar.gz 580890 BLAKE2B 
eb3f5bc3f9ec371d4169a9517f83bd42371aa41532f99f650b51e4649f813f0a37c0de5a01f69ee0c73f38cf2b57dd3260b5cac88f4c09785e86da2ec82c0cba
 SHA512 
f294ea10c73dcf9941f70988ae58066917d7b321141e3a3ba3e12810e5f20a4711feca45d354dddc0e104a1ee2496fad24e529b129bdeee1cdb92010ec20be1d
+DIST gaupol-1.11.tar.gz 581799 BLAKE2B 
d0f4ad7c71086f585138bde79ba49f43e8e71eba7bc5ef5f0ac324ab962049cd1c71030f5a7d6ec859d4ac32dc7a07c8255ab01d98114629055f777f11210a2e
 SHA512 
8c623f6ed8d189a79a994545be3dd96ae7fec399216520bfe89587a9c0b5917e07b6d80fe1f8a7b2d016b9fb1aa544bdabe103428dc97ea78e6d8c05666d0e9c
 DIST gaupol-1.9.tar.gz 579382 BLAKE2B 
c326e800ebd56bab53757d13e075c7499d9b37c6677a3f2ef710e71ab427bc9d502d1539778e87625e43a6218a358b15dfc3c84fd22b42e95d808fc8495feb43
 SHA512 
c115409afe68a0981f7c29e5d6d3e23950081f186b74de460045de9976a6c7a674701d316214ee2b91bc59f1dd856fdc9cf999e328aba8abeb8eaf71911c68d2

diff --git a/media-video/gaupol/gaupol-1.11.ebuild 
b/media-video/gaupol/gaupol-1.11.ebuild
new file mode 100644
index 000000000000..b895c8078cc1
--- /dev/null
+++ b/media-video/gaupol/gaupol-1.11.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 virtualx xdg-utils
+
+DESCRIPTION="A subtitle editor for text-based subtitles"
+HOMEPAGE="https://otsaloma.io/gaupol/";
+SRC_URI="https://github.com/otsaloma/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="spell"
+
+RDEPEND="
+       app-text/iso-codes
+       dev-python/chardet[${PYTHON_USEDEP}]
+       dev-python/pygobject:3[${PYTHON_USEDEP}]
+       x11-libs/gtk+:3[introspection]
+       spell? ( app-text/gspell[introspection] )
+"
+BDEPEND="
+       sys-devel/gettext
+       test? (
+               app-dicts/myspell-en
+               app-text/enchant[hunspell]
+               app-text/gspell[introspection]
+       )
+"
+
+distutils_enable_tests pytest
+
+DOCS=( AUTHORS.md NEWS.md README.md README.aeidon.md )
+
+python_test() {
+       virtx epytest
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+       if [[ -z ${REPLACING_VERSIONS} ]]; then
+               elog "The integrated video player requires 
media-plugins/gst-plugins-gtk."
+               elog ""
+               elog "External video previewing support requires MPV, MPlayer 
or VLC."
+               if use spell; then
+                       elog ""
+                       elog "Spell-checking requires a dictionary, any of 
app-dicts/myspell-*"
+                       elog "or app-text/aspell with the appropriate L10N 
variable."
+                       elog ""
+                       elog "Additionally, make sure that app-text/enchant has 
the correct flags enabled:"
+                       elog "USE=hunspell for myspell dictionaries and 
USE=aspell for aspell dictionaries."
+               fi
+       fi
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}

Reply via email to