Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/gaupol/
Date: Sun, 03 Apr 2022 11:11:33
Message-Id: 1648983921.1af98b8fdd8a94cfcddcd128882a9e781c2fbf32.sbraz@gentoo
1 commit: 1af98b8fdd8a94cfcddcd128882a9e781c2fbf32
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 3 11:04:15 2022 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 3 11:05:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1af98b8f
7
8 media-video/gaupol: add 1.11
9
10 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
11
12 media-video/gaupol/Manifest | 1 +
13 media-video/gaupol/gaupol-1.11.ebuild | 65 +++++++++++++++++++++++++++++++++++
14 2 files changed, 66 insertions(+)
15
16 diff --git a/media-video/gaupol/Manifest b/media-video/gaupol/Manifest
17 index a9483cc3e913..385c02b6e75d 100644
18 --- a/media-video/gaupol/Manifest
19 +++ b/media-video/gaupol/Manifest
20 @@ -1,2 +1,3 @@
21 DIST gaupol-1.10.1.tar.gz 580890 BLAKE2B eb3f5bc3f9ec371d4169a9517f83bd42371aa41532f99f650b51e4649f813f0a37c0de5a01f69ee0c73f38cf2b57dd3260b5cac88f4c09785e86da2ec82c0cba SHA512 f294ea10c73dcf9941f70988ae58066917d7b321141e3a3ba3e12810e5f20a4711feca45d354dddc0e104a1ee2496fad24e529b129bdeee1cdb92010ec20be1d
22 +DIST gaupol-1.11.tar.gz 581799 BLAKE2B d0f4ad7c71086f585138bde79ba49f43e8e71eba7bc5ef5f0ac324ab962049cd1c71030f5a7d6ec859d4ac32dc7a07c8255ab01d98114629055f777f11210a2e SHA512 8c623f6ed8d189a79a994545be3dd96ae7fec399216520bfe89587a9c0b5917e07b6d80fe1f8a7b2d016b9fb1aa544bdabe103428dc97ea78e6d8c05666d0e9c
23 DIST gaupol-1.9.tar.gz 579382 BLAKE2B c326e800ebd56bab53757d13e075c7499d9b37c6677a3f2ef710e71ab427bc9d502d1539778e87625e43a6218a358b15dfc3c84fd22b42e95d808fc8495feb43 SHA512 c115409afe68a0981f7c29e5d6d3e23950081f186b74de460045de9976a6c7a674701d316214ee2b91bc59f1dd856fdc9cf999e328aba8abeb8eaf71911c68d2
24
25 diff --git a/media-video/gaupol/gaupol-1.11.ebuild b/media-video/gaupol/gaupol-1.11.ebuild
26 new file mode 100644
27 index 000000000000..b895c8078cc1
28 --- /dev/null
29 +++ b/media-video/gaupol/gaupol-1.11.ebuild
30 @@ -0,0 +1,65 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +DISTUTILS_USE_PEP517=setuptools
38 +
39 +inherit distutils-r1 virtualx xdg-utils
40 +
41 +DESCRIPTION="A subtitle editor for text-based subtitles"
42 +HOMEPAGE="https://otsaloma.io/gaupol/"
43 +SRC_URI="https://github.com/otsaloma/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="GPL-2+"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm64 ~x86"
48 +IUSE="spell"
49 +
50 +RDEPEND="
51 + app-text/iso-codes
52 + dev-python/chardet[${PYTHON_USEDEP}]
53 + dev-python/pygobject:3[${PYTHON_USEDEP}]
54 + x11-libs/gtk+:3[introspection]
55 + spell? ( app-text/gspell[introspection] )
56 +"
57 +BDEPEND="
58 + sys-devel/gettext
59 + test? (
60 + app-dicts/myspell-en
61 + app-text/enchant[hunspell]
62 + app-text/gspell[introspection]
63 + )
64 +"
65 +
66 +distutils_enable_tests pytest
67 +
68 +DOCS=( AUTHORS.md NEWS.md README.md README.aeidon.md )
69 +
70 +python_test() {
71 + virtx epytest
72 +}
73 +
74 +pkg_postinst() {
75 + xdg_desktop_database_update
76 + xdg_icon_cache_update
77 + if [[ -z ${REPLACING_VERSIONS} ]]; then
78 + elog "The integrated video player requires media-plugins/gst-plugins-gtk."
79 + elog ""
80 + elog "External video previewing support requires MPV, MPlayer or VLC."
81 + if use spell; then
82 + elog ""
83 + elog "Spell-checking requires a dictionary, any of app-dicts/myspell-*"
84 + elog "or app-text/aspell with the appropriate L10N variable."
85 + elog ""
86 + elog "Additionally, make sure that app-text/enchant has the correct flags enabled:"
87 + elog "USE=hunspell for myspell dictionaries and USE=aspell for aspell dictionaries."
88 + fi
89 + fi
90 +}
91 +
92 +pkg_postrm() {
93 + xdg_desktop_database_update
94 + xdg_icon_cache_update
95 +}