From 475acb180a79a5f06c9c46a9a4fd64c97f253997 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Sun, 10 May 2020 22:58:17 +0200 Subject: [PATCH] media-video/tartube: bump to version 2.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Maciej Barć --- media-video/tartube/Manifest | 1 + media-video/tartube/tartube-2.1.0.ebuild | 64 ++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 media-video/tartube/tartube-2.1.0.ebuild diff --git a/media-video/tartube/Manifest b/media-video/tartube/Manifest index 44f5976..af5f362 100644 --- a/media-video/tartube/Manifest +++ b/media-video/tartube/Manifest @@ -1 +1,2 @@ DIST tartube-2.0.0.tar.gz 1726296 BLAKE2B 7d0d0c83845ddc6717457ec3c0f701f818211680bc69cebfc246aba768379e9372786083444d9bfffcde0a382e84171532f7218580bcf93b62ab1e88a4859d88 SHA512 dd5126fb690a49c4cb7d937aa7abc2e6bbc9327eb1cf17fa9bcdbfe865e6a46be0cb7fcafe487ceebcd9c10f0436fd798836e5ed4cb520657777db25749ad403 +DIST tartube-2.1.0.tar.gz 3556615 BLAKE2B c94a4bc818eae077605bd2b6ebe20fedf1f195dd6aa8763976b31811a4739c7964b5373e0ed02ca848e12c06706f1fc3ca9a4f9a9f51721f1e4bb199007145fe SHA512 f08d40cb1c7082b47c6fd28105880d135a3750ef7a763b8bfd3e4d3852d224f23f41f835cfa18cc988b633ad6ea66eca284259fdde122c2753ba02579b13995c diff --git a/media-video/tartube/tartube-2.1.0.ebuild b/media-video/tartube/tartube-2.1.0.ebuild new file mode 100644 index 0000000..23f596b --- /dev/null +++ b/media-video/tartube/tartube-2.1.0.ebuild @@ -0,0 +1,64 @@ +# 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 distutils-r1 eutils xdg-utils + +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" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} +" +RDEPEND=" + ${DEPEND} + dev-python/requests[${PYTHON_USEDEP}] + net-misc/youtube-dl + x11-libs/gtk+:3 + atomicparsley? ( media-video/atomicparsley ) +" + +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 +}