diff options
Diffstat (limited to 'media-video/gaupol')
-rw-r--r-- | media-video/gaupol/Manifest | 1 | ||||
-rw-r--r-- | media-video/gaupol/gaupol-0.91.ebuild | 61 | ||||
-rw-r--r-- | media-video/gaupol/metadata.xml | 1 |
3 files changed, 63 insertions, 0 deletions
diff --git a/media-video/gaupol/Manifest b/media-video/gaupol/Manifest index 461237cfb771..a92845bf2d53 100644 --- a/media-video/gaupol/Manifest +++ b/media-video/gaupol/Manifest @@ -1,2 +1,3 @@ DIST gaupol-0.19.2.tar.gz 651580 SHA256 4e30fb7f4ff328561243450367be0c1ec80878f7107cac8eda6db9877a90aff4 SHA512 5d95c4f2610e7305f91c29701f4d2edfbd69f782a296c5152515d3391cb58ab83c34412c67f0bbbdf6159198bb90da1f43652b483efc0320dec5870f077e9884 WHIRLPOOL 272e7c9fc4c8e41b2ef4832c6de161e83303894055d3f9c8e91dc58a1fe3c5170186f1de3f7bd36bbdbf8fbacefff170f9d52a714acdd85596be15dfa804265d DIST gaupol-0.28.2.tar.xz 495248 SHA256 d02d81ace0d41dbf7707251cd86e28876acf86dd82c36e34371d38cd21212d4c SHA512 e3b47e35fe7825a105870e6e691ee85f168d7f171eb2da2775b88a099069b0593a9878fe9ec8f47fa824d8aa5a18f28278c78731538a64d900401b13d38ae7d8 WHIRLPOOL 36abedf44872c904520663d3c845cfcfcdc8a438ef1b8ac09910dc13cac8a88a22dcdcaee44ebd05ad4f504df67694dafc45b44aa0da632296d864a56a1cf9fb +DIST gaupol-0.91.tar.gz 518493 SHA256 cb7d2d3fa4dfd321802eb6c3dd0a2f9582a9195a70b153d0ce65f2dfa9048add SHA512 92459ec0a7d77c8e4a34f44489ae8fc01feeb2d34f6fd152c8bfeaf72b8235c680155698c55e7f9d46ce82bee8274b14313b6a43167f65f784511e583d4858fb WHIRLPOOL 7d46d9bb20d104355f16a966a46e25eb76e8cb72fa5082b9526a6ee3b012312dc1e5a6a74d6fe850cce40d9ce993b4a06471ec93ac907bb1f3de30409217ff43 diff --git a/media-video/gaupol/gaupol-0.91.ebuild b/media-video/gaupol/gaupol-0.91.ebuild new file mode 100644 index 000000000000..50081f74774e --- /dev/null +++ b/media-video/gaupol/gaupol-0.91.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{3_3,3_4,3_5} ) + +inherit distutils-r1 gnome2-utils virtualx xdg-utils + +DESCRIPTION="A subtitle editor for text-based subtitles" +HOMEPAGE="http://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? ( + >=dev-python/pyenchant-1.4[${PYTHON_USEDEP}] + app-text/gtkspell:3 + )" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + ) +" + +DOCS=( AUTHORS.md NEWS.md TODO.md README.md README.aeidon.md ) + +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 +} + +python_test() { + virtx py.test +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} diff --git a/media-video/gaupol/metadata.xml b/media-video/gaupol/metadata.xml index 0c976d977de0..615879d1f8d6 100644 --- a/media-video/gaupol/metadata.xml +++ b/media-video/gaupol/metadata.xml @@ -11,5 +11,6 @@ </maintainer> <upstream> <remote-id type="github">otsaloma/gaupol</remote-id> + <bugs-to>https://github.com/otsaloma/gaupol/issues</bugs-to> </upstream> </pkgmetadata> |