diff --git a/media-video/tartube/Manifest b/media-video/tartube/Manifest index af5f362..94ede65 100644 --- a/media-video/tartube/Manifest +++ b/media-video/tartube/Manifest @@ -1,2 +1,3 @@ DIST tartube-2.0.0.tar.gz 1726296 BLAKE2B 7d0d0c83845ddc6717457ec3c0f701f818211680bc69cebfc246aba768379e9372786083444d9bfffcde0a382e84171532f7218580bcf93b62ab1e88a4859d88 SHA512 dd5126fb690a49c4cb7d937aa7abc2e6bbc9327eb1cf17fa9bcdbfe865e6a46be0cb7fcafe487ceebcd9c10f0436fd798836e5ed4cb520657777db25749ad403 DIST tartube-2.1.0.tar.gz 3556615 BLAKE2B c94a4bc818eae077605bd2b6ebe20fedf1f195dd6aa8763976b31811a4739c7964b5373e0ed02ca848e12c06706f1fc3ca9a4f9a9f51721f1e4bb199007145fe SHA512 f08d40cb1c7082b47c6fd28105880d135a3750ef7a763b8bfd3e4d3852d224f23f41f835cfa18cc988b633ad6ea66eca284259fdde122c2753ba02579b13995c +DIST tartube-2.2.007.tar.gz 3695147 BLAKE2B 010d54c44fe98ef7242206fd1f6bbf597d403585a93b2212d441aed2ac863f9743cbd44efe56bfd078954b5c609045254fe7c70269282bef32e14b020a7aad51 SHA512 96296dde1a632f034812a98ba56d67228b6ceb89b661d40e27d7ba2831ef59637745dfb58b31af42947ea55d9b1ba611ef5f2b180f1438fae07d1d60b9188aae diff --git a/media-video/tartube/tartube-2.2.007.ebuild b/media-video/tartube/tartube-2.2.007.ebuild new file mode 100644 index 0000000..29e8b1e --- /dev/null +++ b/media-video/tartube/tartube-2.2.007.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit eutils xdg distutils-r1 + +DESCRIPTION="A GUI front-end for youtube-dl" +HOMEPAGE="https://tartube.sourceforge.io" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/axcore/${PN}.git" + KEYWORDS="" +else + SRC_URI="https://github.com/axcore/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +RESTRICT="mirror" +LICENSE="GPL-3" +SLOT="0" +IUSE="+atomicparsley +ffmpeg" + +RDEPEND=" + dev-python/pygobject[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + net-misc/youtube-dl + x11-themes/adwaita-icon-theme + atomicparsley? ( + media-video/atomicparsley + ) + ffmpeg? ( + media-video/ffmpeg + ) +" + +DOCS=( + AUTHORS + CHANGES + README.rst +) + +src_prepare() { + export TARTUBE_PKG_STRICT=1 + + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + + elog "You may need to set path to (system) youtube-dl" + elog "in Tartube's System preferences" +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +}