commit:     0b3fdd1c8cc1e2b627f1732a90d13189ffeb8477
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  2 21:41:21 2021 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Sat Oct  2 21:44:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b3fdd1c

media-video/gaupol: add 1.10

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

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

diff --git a/media-video/gaupol/Manifest b/media-video/gaupol/Manifest
index 615296b500f..f47bd5ba76f 100644
--- a/media-video/gaupol/Manifest
+++ b/media-video/gaupol/Manifest
@@ -1,2 +1,3 @@
+DIST gaupol-1.10.tar.gz 580538 BLAKE2B 
834e4ae6681588a9bc70cc56a7977449fc2409f47299990a6ec63c63bd6e617dc7b5d366ce9b55a2681fb7c1656a7b5c1f2949d9337e420cbd89d122bf7cfd2a
 SHA512 
56440730a636d602b3bc96aac1430252536d01127dd155d970d4f0ee647cb3a530931a1f512c87e575eabdbc0608072e909638d5ade80414bbe419a393ff06e3
 DIST gaupol-1.8.tar.gz 558627 BLAKE2B 
a7243310b97fe7187311585762faaff512364ca043630eb43c1ee99c55fa5400e14698e391b410b67f70f1bc7a741adb0737868d7b40c868bb4c6badacd14fb1
 SHA512 
a6b65316b5750a4d636b39b75393b0b2f2c44d978f1fc8cc3bd2cd2d2bcf9ba68d0161afb41bdca5b381ec39e5a2e06440f4f4676f344019966b297c4112e691
 DIST gaupol-1.9.tar.gz 579382 BLAKE2B 
c326e800ebd56bab53757d13e075c7499d9b37c6677a3f2ef710e71ab427bc9d502d1539778e87625e43a6218a358b15dfc3c84fd22b42e95d808fc8495feb43
 SHA512 
c115409afe68a0981f7c29e5d6d3e23950081f186b74de460045de9976a6c7a674701d316214ee2b91bc59f1dd856fdc9cf999e328aba8abeb8eaf71911c68d2

diff --git a/media-video/gaupol/gaupol-1.10.ebuild 
b/media-video/gaupol/gaupol-1.10.ebuild
new file mode 100644
index 00000000000..bc39f0b2268
--- /dev/null
+++ b/media-video/gaupol/gaupol-1.10.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=no
+
+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 TODO.md README.md README.aeidon.md )
+
+python_test() {
+       virtx pytest -vv
+}
+
+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