commit: 4fbdbdfe4e1ee9b98eda22bba333d405dc190381 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> AuthorDate: Sun Jan 8 13:09:04 2023 +0000 Commit: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> CommitDate: Sun Jan 8 13:09:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4fbdbdfe
media-video/ytarchive: new package, add 0.3.2 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> media-video/ytarchive/Manifest | 2 ++ media-video/ytarchive/metadata.xml | 11 +++++++++++ media-video/ytarchive/ytarchive-0.3.2.ebuild | 26 ++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/media-video/ytarchive/Manifest b/media-video/ytarchive/Manifest new file mode 100644 index 000000000..aefea8998 --- /dev/null +++ b/media-video/ytarchive/Manifest @@ -0,0 +1,2 @@ +DIST ytarchive-0.3.2-deps.tar.xz 20111036 BLAKE2B bdfe91078310b1a4ee11a1d46123521322562fb328db40ae9a62cfd8cc9afe5d567cda87fc415f21d26ea7665de5b6edbf2cef080c73a0908888da6023f46790 SHA512 288c230547ba099f50ccb64033e231d89cc1e34c9e40b649dd74879d67507860ff8d47b1b98eca34938c98a1d08cc8bc2759c6ad426aa145e788bfa4687ed940 +DIST ytarchive-0.3.2.tar.gz 52405 BLAKE2B 1b428e08af78164a52d3d6f89d9258e18c4c0317dcb37223acc8e18ec4f99d27fe4f8857306b5c297c9fe2938ccbddfcf105b94fd617546e86fd6588fa73daae SHA512 9be630985d7134085737f063666b64d912860e14ef3dc312ec92dcdde68322b4aa792f9de412ef2168749f58159151cad00cc8d56926df246d31a94441dac831 diff --git a/media-video/ytarchive/metadata.xml b/media-video/ytarchive/metadata.xml new file mode 100644 index 000000000..e2c3958c4 --- /dev/null +++ b/media-video/ytarchive/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Alexey Sokolov</name> + </maintainer> + <upstream> + <remote-id type="github">Kethsar/ytarchive</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-video/ytarchive/ytarchive-0.3.2.ebuild b/media-video/ytarchive/ytarchive-0.3.2.ebuild new file mode 100644 index 000000000..c1d749637 --- /dev/null +++ b/media-video/ytarchive/ytarchive-0.3.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Youtube livestream downloader" +HOMEPAGE="https://github.com/Kethsar/ytarchive" +SRC_URI="https://github.com/Kethsar/ytarchive/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://files.asokolov.org/gentoo/${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="media-video/ffmpeg" + +src_compile() { + go build +} + +src_install() { + default + dobin ytarchive +}
