diff options
author | Louis Sautier <sautier.louis@gmail.com> | 2018-05-12 15:50:19 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2018-05-26 14:53:10 +0200 |
commit | 343940815220a358534b5431390b23459aab6bc4 (patch) | |
tree | 380f77f83b164b1c9b8551424a1bc04049a31b1d /media-video/gaupol | |
parent | app-shells/zsh: ppc stable wrt bug #651860 (diff) | |
download | gentoo-343940815220a358534b5431390b23459aab6bc4.tar.gz gentoo-343940815220a358534b5431390b23459aab6bc4.tar.bz2 gentoo-343940815220a358534b5431390b23459aab6bc4.zip |
media-video/gaupol: bump to 1.4
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8362
Diffstat (limited to 'media-video/gaupol')
-rw-r--r-- | media-video/gaupol/Manifest | 1 | ||||
-rw-r--r-- | media-video/gaupol/gaupol-1.4.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/media-video/gaupol/Manifest b/media-video/gaupol/Manifest index 328312df5bee..283f50022852 100644 --- a/media-video/gaupol/Manifest +++ b/media-video/gaupol/Manifest @@ -2,3 +2,4 @@ DIST gaupol-0.91.tar.gz 518493 BLAKE2B 76a01579c12084e5b7b25f9582126c33070a1df1c DIST gaupol-1.0.tar.gz 520620 BLAKE2B 206e1d2ecde6d8f7863fb9ecb7008b3345a2ee6e51993a6f90525bc3e1bde3252c72a725904ea0c37a46a2fd827160e3f576d2e352b40190a045b9f4b8bdeb11 SHA512 1f6a9ff1bf6722473aa53c9c8e787ce9d25669bbafe19b4c117965bf281307365cb4cd31241af92b0623ead8a9627d38c5811d5b361c8707ac3467d520c1d89c DIST gaupol-1.2.tar.gz 504222 BLAKE2B 878b62584e472961f60e84751a6bb8afe8e8ad7791aab1f670a61f9059376721a2bbfe45459c2d218782973db49d6a7539f869421c207bfcc709f82293dfd8f0 SHA512 03738c9ad3f22deaa5588bbd272a6ad7a837ad5fffe72afea0ad0580be8288c956993b6986a74754c3ede70a9465a569fe4c1b95f4f7b35d6356bddf914285bb DIST gaupol-1.3.1.tar.gz 506676 BLAKE2B b45816211878cc00cfc32b8653120fe10f8d2b9f43468ea600527ad855744e0dce26df00f0715d78661510d322bd531836e14ebbe7a7ff673abb3be45e5eff1b SHA512 942c019f8943c888cd20c01ce3aa26d6d54a05ddfe4b5be37e35d41e9e24a5bc2cb995a768663c42933eb889f2167dc4408101d31c117c58d6f49d76abca52af +DIST gaupol-1.4.tar.gz 524369 BLAKE2B 6f27ce3328339fc2f6248bb58d80965a5a26fed220ddf9c989a5029b4322ea790f768cb9e0472bb2c5eae4e4da3abd4b0f808e785273ff9fb787ff5b7df5d137 SHA512 da9256dd8dafeaff012226a8ff09807c7cb7609c293bde7d90b05b4f75c47751e65181f1bf47dff1c8e979f48186996253141ff18e849786bf2cff5ed5555148 diff --git a/media-video/gaupol/gaupol-1.4.ebuild b/media-video/gaupol/gaupol-1.4.ebuild new file mode 100644 index 000000000000..db56876048fa --- /dev/null +++ b/media-video/gaupol/gaupol-1.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit distutils-r1 gnome2-utils 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 ~x86" +IUSE="spell test" + +RDEPEND="app-text/iso-codes + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + x11-libs/gtk+:3[introspection] + spell? ( + app-text/gtkspell:3 + >=dev-python/pyenchant-1.4[${PYTHON_USEDEP}] + )" +DEPEND=" + sys-devel/gettext + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + ) +" + +DOCS=( AUTHORS.md NEWS.md TODO.md README.md README.aeidon.md ) + +python_test() { + virtx py.test +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "Previewing support needs MPV, MPlayer or VLC." + + if use spell; then + elog "Additionally, spell-checking requires a dictionary, any of" + elog "Aspell/Pspell, Ispell, MySpell, Uspell, Hspell or AppleSpell." + fi + fi +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} |