From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- net-misc/ytfzf/Manifest | 4 +-- net-misc/ytfzf/ytfzf-2.1.ebuild | 54 ------------------------------------- net-misc/ytfzf/ytfzf-2.2.ebuild | 60 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 56 deletions(-) delete mode 100644 net-misc/ytfzf/ytfzf-2.1.ebuild create mode 100644 net-misc/ytfzf/ytfzf-2.2.ebuild (limited to 'net-misc/ytfzf') diff --git a/net-misc/ytfzf/Manifest b/net-misc/ytfzf/Manifest index 131f34959820..cd264a1f01b9 100644 --- a/net-misc/ytfzf/Manifest +++ b/net-misc/ytfzf/Manifest @@ -1,3 +1,3 @@ -DIST ytfzf-2.1.tar.gz 3230643 BLAKE2B b296048c976c260b3192f770bdf2dec99f5ad45066deeac23429808254552ea125ea8a8d129c47a5110916c4194f7b7742dd01f095809f4913077600a8205d4b SHA512 a86203bc1dffd05ff3543c44d5612bc8b0ffc675ce0484499cb89aa88c2618c88e832dd95ff2cd6f1803698c1c3264709a1e280ddbb9fb0985c0178f3adc16ea -EBUILD ytfzf-2.1.ebuild 1446 BLAKE2B 6dea43c53ca9eece6a40cd01eac6b332df2c9035f8f2dc1ec901786e119767f6c382a3b228f75086a7c301f7dd42f65cdd467f139fe2f856567573c83a215194 SHA512 39cc4b5c03c8e417dd093d5052375dde09203a2b7a635049fe7cbc4c1047b43061ff13db0962207495dcc15b0d8c2a94e8cf4cc8655289ca8c32ccf94c542256 +DIST ytfzf-2.2.tar.gz 3242266 BLAKE2B 7bc6317ea2ee67ca1d93acc5262d5ebc7f6c9828531f1b97d1fd8e4cfb9e9328cf9955da993d59dcfe05a1a983106cf98f3c93ab4b2c007458154f860e333b55 SHA512 9f47da0e56d096d248b14387c3e34f11cc101fa958945e17bdee83d81c2da57faf384fe87d46132e4cc78a5f4f6057462e28c1a64ea647a98120c37ed4e7f50d +EBUILD ytfzf-2.2.ebuild 1564 BLAKE2B dd76cdd455ad3afa7470a824bff1eb04c7808dd1ec8a75cb91077eea0c6116490300998881e74a3f66c8c5c3a32b8606bfe5f98b4266df54fc66c72e7a26d7f9 SHA512 c538fe597e9d9c1261333ee1c6c840ea4816abcdfc634a5c153281a106a3ac633142979891e9b48adba4b94e1e1b286025f072390dc712ee9fdc69d06eeeabce MISC metadata.xml 498 BLAKE2B 465ce6a83a75395c9021b7208a156bc91f55fe2522279a781509bc490e832611e89718317c88d4e2986f16f6ea1f8bc457d2f5978efa011e62c56cef756cf0ed SHA512 49f6d3c039246622d687f63b703390eef0d4fef51f485a091ccdb767da1b2cd8a380275cabe6117465add0e15acf6f6533033a5b17c751091abe462a43044884 diff --git a/net-misc/ytfzf/ytfzf-2.1.ebuild b/net-misc/ytfzf/ytfzf-2.1.ebuild deleted file mode 100644 index c11320bd52ab..000000000000 --- a/net-misc/ytfzf/ytfzf-2.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit optfeature - -DESCRIPTION="Posix script to find and watch youtube videos from the terminal" -HOMEPAGE="https://github.com/pystardust/ytfzf/" -SRC_URI="https://github.com/pystardust/ytfzf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="minimal" - -# fzf/mpv/yt-dlp "can" be optfeatures depending on configuration, but depend -# on them so it works as expected out-of-the-box while allowing to disable. -RDEPEND=" - app-misc/jq - net-misc/curl[ssl] - virtual/awk - !minimal? ( - app-shells/fzf - media-video/mpv[lua] - net-misc/yt-dlp - )" - -src_compile() { :; } - -src_install() { - local emakeargs=( - DESTDIR="${D}" - PREFIX="${EPREFIX}"/usr - DOCDIR="${EPREFIX}"/usr/share/doc/${PF} - ) - - emake "${emakeargs[@]}" doc install - einstalldocs - - rm -r "${ED}"/usr/share/licenses || die -} - -pkg_postinst() { - optfeature "external menu support" x11-misc/dmenu - optfeature "in-terminal thumbnails on X11" media-gfx/ueberzug - optfeature "desktop notifications" x11-libs/libnotify - - if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.0; then - elog "Note that >=${PN}-2.0 is a major rewrite and is not compatible with" - elog "configuration and some command arguments of older versions, see the" - elog "newly added ${PN}(1) and ${PN}(5) man pages for more information." - fi -} diff --git a/net-misc/ytfzf/ytfzf-2.2.ebuild b/net-misc/ytfzf/ytfzf-2.2.ebuild new file mode 100644 index 000000000000..1a6d408ced73 --- /dev/null +++ b/net-misc/ytfzf/ytfzf-2.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature + +DESCRIPTION="Posix script to find and watch youtube videos from the terminal" +HOMEPAGE="https://github.com/pystardust/ytfzf/" +SRC_URI="https://github.com/pystardust/ytfzf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="minimal" + +# fzf/mpv/yt-dlp "can" be optfeatures depending on configuration, but depend +# on them so it works as expected out-of-the-box while allowing to disable. +RDEPEND=" + app-misc/jq + net-misc/curl[ssl] + virtual/awk + !minimal? ( + app-shells/fzf + media-video/mpv[lua] + net-misc/yt-dlp + )" + +src_prepare() { + default + + sed -i "/^: ...YTFZF_SYSTEM_ADDON_DIR/s|/usr/local|${EPREFIX}/usr|" ytfzf || die +} + +src_compile() { :; } + +src_install() { + local emakeargs=( + DESTDIR="${D}" + PREFIX="${EPREFIX}"/usr + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} + ) + + emake "${emakeargs[@]}" addons doc install + einstalldocs + + rm -r "${ED}"/usr/share/licenses || die +} + +pkg_postinst() { + optfeature "external menu support" x11-misc/dmenu + optfeature "in-terminal thumbnails on X11" media-gfx/ueberzug + optfeature "desktop notifications" x11-libs/libnotify + + if [[ ${REPLACING_VERSIONS} ]] && ver_test ${REPLACING_VERSIONS} -lt 2.0; then + elog "Note that >=${PN}-2.0 is a major rewrite and is not compatible with" + elog "configuration and some command arguments of older versions, see the" + elog "newly added ${PN}(1) and ${PN}(5) man pages for more information." + fi +} -- cgit v1.2.3