diff --git a/media-video/tartube/Manifest b/media-video/tartube/Manifest new file mode 100644 index 0000000..eb8329d --- /dev/null +++ b/media-video/tartube/Manifest @@ -0,0 +1 @@ +DIST v2.0.0.tar.gz 1726296 BLAKE2B 7d0d0c83845ddc6717457ec3c0f701f818211680bc69cebfc246aba768379e9372786083444d9bfffcde0a382e84171532f7218580bcf93b62ab1e88a4859d88 SHA512 dd5126fb690a49c4cb7d937aa7abc2e6bbc9327eb1cf17fa9bcdbfe865e6a46be0cb7fcafe487ceebcd9c10f0436fd798836e5ed4cb520657777db25749ad403 diff --git a/media-video/tartube/metadata.xml b/media-video/tartube/metadata.xml new file mode 100644 index 0000000..498b2a8 --- /dev/null +++ b/media-video/tartube/metadata.xml @@ -0,0 +1,10 @@ + + + + + Use AtomicParsley for embedding thumbnails in audio files + + + axcore/tartube + + diff --git a/media-video/tartube/tartube-2.0.0.ebuild b/media-video/tartube/tartube-2.0.0.ebuild new file mode 100644 index 0000000..1b54d61 --- /dev/null +++ b/media-video/tartube/tartube-2.0.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" + 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 +} diff --git a/media-video/tartube/tartube-9999.ebuild b/media-video/tartube/tartube-9999.ebuild new file mode 100644 index 0000000..1b54d61 --- /dev/null +++ b/media-video/tartube/tartube-9999.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" + 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 +}