From dba9244fae43a4cf31c7d8ab5cb5d74b78140e51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Fri, 26 Feb 2021 12:44:45 +0100 Subject: [PATCH] media-video/tartube: bump to 2.3.110 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Maciej Barć --- media-video/tartube/Manifest | 1 + media-video/tartube/tartube-2.3.110.ebuild | 66 ++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 media-video/tartube/tartube-2.3.110.ebuild diff --git a/media-video/tartube/Manifest b/media-video/tartube/Manifest index 1358570..a56d186 100644 --- a/media-video/tartube/Manifest +++ b/media-video/tartube/Manifest @@ -1,2 +1,3 @@ DIST tartube-2.1.0.tar.gz 3556615 BLAKE2B c94a4bc818eae077605bd2b6ebe20fedf1f195dd6aa8763976b31811a4739c7964b5373e0ed02ca848e12c06706f1fc3ca9a4f9a9f51721f1e4bb199007145fe SHA512 f08d40cb1c7082b47c6fd28105880d135a3750ef7a763b8bfd3e4d3852d224f23f41f835cfa18cc988b633ad6ea66eca284259fdde122c2753ba02579b13995c DIST tartube-2.3.0.tar.gz 5517655 BLAKE2B cdcb0f0990bd98fca42e691c3838ed01b34e98fa8bd9ff21426377bbcb94e794d5d5a881aea98bb7df8e961e628bc504fbe4823087eeb13521b71fd26db7eead SHA512 f8f4dbf467f26dca984c9ba9325c53e2d60dbe52dd005560a6991e0b818fc0a7abbe22138e43733a55fcf1e3fe4e5f36ee88f53e85196c35f3b74780771590dc +DIST tartube-2.3.110.tar.gz 5746711 BLAKE2B 9313335bf91b2858f5dc37d30fe0d567f6f143a5edeaaf8261fab7697d4da05b461546deead3f0551a92257b81056464ec96f586dba1d23ef570d01972c4ce8b SHA512 6c0306a1150b657357a1474085b4d24948a9d966554baf47228d76f950290655ff627a33ec2947218a5da388689315f5fbf5f91d157ec5d7d61d1c94c02df921 diff --git a/media-video/tartube/tartube-2.3.110.ebuild b/media-video/tartube/tartube-2.3.110.ebuild new file mode 100644 index 0000000..62642b9 --- /dev/null +++ b/media-video/tartube/tartube-2.3.110.ebuild @@ -0,0 +1,66 @@ +# 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 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" +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 +}