Browse Source

net-misc/pipe-viewer: add 0.0.8, 9999

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: kske <kai@kske.dev>
master
kske 7 months ago
parent
commit
f310bd1cda
Signed by: kske GPG Key ID: 8BEB13EC5DF7EF13
  1. 4
      net-misc/pipe-viewer/Manifest
  2. 25
      net-misc/pipe-viewer/metadata.xml
  3. 76
      net-misc/pipe-viewer/pipe-viewer-0.0.8.ebuild
  4. 79
      net-misc/pipe-viewer/pipe-viewer-9999.ebuild

4
net-misc/pipe-viewer/Manifest

@ -0,0 +1,4 @@
DIST pipe-viewer-0.0.8.tar.gz 251769 BLAKE2B 3bf436a3476f2677e3cd3079770b6308255c108415989b180cec9c2c36aa2314a891cc308d389dda1a33de25f3a598fc85cdd1460aae98a77464658ee8091509 SHA512 13c49717a55c0eac790b43fc2280c77f7a9c5a10300d7390567a5f908f2bb874dbb673f11e8a0052255732c178fb6d15f39db670cde31e2a8879de43e49383b8
EBUILD pipe-viewer-0.0.8.ebuild 2087 BLAKE2B d5737fc5d94a14d14532d74cf57f45568d924ceff01b07c35be3f11fcf1af4b3d999cc8e6534b92e16de5d818be0cc5c756a4375237c65420e70685b3647b4ad SHA512 da513e114772c517f6b8c3b0785131040ddcca89484dd69a4b8ac410b3612eed8a249a7112ed11add1f8afe93103a96d4b9799b22f030c0129f4f8d1109092ba
EBUILD pipe-viewer-9999.ebuild 2083 BLAKE2B 81c33a7c3c41806f7620741f2a7622a114e2476aaae7b2b187bd56853c4c6590d73abbc169350cd98b7562071a6a51f053bc70c579739861a66051d66b35fddc SHA512 08238a0b9df3644c1655952883937487bf6f445929a751cdf91453fa51db9dfa07f000204d45042fe9bd2d1409e02d748dfb4a0e9211788507166fec99f397fa
MISC metadata.xml 835 BLAKE2B fe325f8cdc875745c5a91e323a4eb379eb110220b5b962cbc2dd8ef6851f5d1bf22e4822132023baf9f9b323c81fab10bb73dea92c3e0383853204c2b79cfbe7 SHA512 898323150aefe71cce9dec78c878ef0fac12961ba3c4b286d6a59da25155b7ed4832bf8c7c167ef0d27dfc2d7443f6c6e9105b111825db3e8636fbaee7543696

25
net-misc/pipe-viewer/metadata.xml

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<maintainer status="active">
<email>trizenx@gmail.com</email>
<name>Daniel Șuteu</name>
</maintainer>
<bugs-to>https://github.com/trizen/pipe-viewer/issues</bugs-to>
<remote-id type="github">trizen/pipe-viewer</remote-id>
</upstream>
<maintainer type="person">
<email>kai@kske.dev</email>
<name>Kai S. K. Engelbart</name>
</maintainer>
<use>
<flag name="gtk">Install the GTK3 GUI</flag>
</use>
<longdescription lang="en">
A lightweight application (fork of straw-viewer) for searching and
playing videos from youtube. This fork parses the YouTube website
directly and relies on the indivious instances only as a fallback
method.
</longdescription>
</pkgmetadata>

76
net-misc/pipe-viewer/pipe-viewer-0.0.8.ebuild

@ -0,0 +1,76 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop optfeature perl-module xdg-utils
DESCRIPTION="A lightweight YouTube client for Linux (fork of straw-viewer)"
HOMEPAGE="https://github.com/trizen/pipe-viewer"
SRC_URI="https://github.com/trizen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( Artistic GPL-1+ )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gtk"
RDEPEND="
dev-perl/Data-Dump
dev-perl/JSON
dev-perl/libwww-perl[ssl]
dev-perl/Term-ReadLine-Gnu
dev-perl/LWP-Protocol-https
virtual/perl-Encode
virtual/perl-File-Path
virtual/perl-File-Spec
virtual/perl-Getopt-Long
virtual/perl-Scalar-List-Utils
virtual/perl-Term-ANSIColor
virtual/perl-Term-ReadLine
virtual/perl-Text-ParseWords
virtual/perl-Text-Tabs+Wrap
gtk? (
dev-perl/Gtk3
dev-perl/File-ShareDir
virtual/freedesktop-icon-theme
x11-libs/gdk-pixbuf:2[jpeg]
)
|| ( >=media-video/ffmpeg-4.1.3[openssl,-libressl] >=media-video/ffmpeg-4.1.3[-openssl,libressl] >=media-video/ffmpeg-4.1.3[gnutls] )
|| ( media-video/mpv media-video/mplayer media-video/vlc gtk? ( media-video/smplayer ) )"
DEPEND="dev-perl/Module-Build"
src_configure() {
local myconf
if use gtk; then
myconf="--gtk3"
fi
perl-module_src_configure
}
src_install() {
perl-module_src_install
if use gtk; then
domenu share/gtk-pipe-viewer.desktop
doicon share/icons/gtk-pipe-viewer.png
fi
}
pkg_postinst() {
use gtk && xdg_icon_cache_update
elog "Optional dependencies:"
optfeature "cache support" dev-perl/LWP-UserAgent-Cached
optfeature "faster JSON to HASH conversion" dev-perl/JSON-XS
optfeature "the case if there are SSL problems" dev-perl/Mozilla-CA
optfeature "printing results in a fixed-width format (--fixed-width, -W)" dev-perl/Text-CharWidth
optfeature "live streams support" net-misc/youtube-dl
optfeature "threads support" virtual/perl-threads
elog
elog "Check the configuration file in ~/.config/pipe-viewer/"
elog "and configure your video player backend."
}
pkg_postrm() {
use gtk && xdg_icon_cache_update
}

79
net-misc/pipe-viewer/pipe-viewer-9999.ebuild

@ -0,0 +1,79 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop optfeature perl-module git-r3 xdg-utils
DESCRIPTION="A lightweight YouTube client for Linux (fork of straw-viewer)"
HOMEPAGE="https://github.com/trizen/pipe-viewer"
SRC_URI=""
EGIT_REPO_URI="https://github.com/trizen/${PN}.git"
LICENSE="|| ( Artistic GPL-1+ )"
SLOT="0"
KEYWORDS=""
IUSE="gtk"
RDEPEND="
dev-perl/Data-Dump
dev-perl/JSON
dev-perl/libwww-perl[ssl]
dev-perl/Term-ReadLine-Gnu
dev-perl/LWP-Protocol-https
virtual/perl-Encode
virtual/perl-File-Path
virtual/perl-File-Spec
virtual/perl-Getopt-Long
virtual/perl-Scalar-List-Utils
virtual/perl-Term-ANSIColor
virtual/perl-Term-ReadLine
virtual/perl-Text-ParseWords
virtual/perl-Text-Tabs+Wrap
gtk? (
dev-perl/Gtk3
dev-perl/File-ShareDir
virtual/freedesktop-icon-theme
x11-libs/gdk-pixbuf:2[jpeg]
)
|| ( >=media-video/ffmpeg-4.1.3[openssl,-libressl] >=media-video/ffmpeg-4.1.3[-openssl,libressl] >=media-video/ffmpeg-4.1.3[gnutls] )
|| ( media-video/mpv media-video/mplayer media-video/vlc gtk? ( media-video/smplayer ) )"
DEPEND="dev-perl/Module-Build"
SRC_TEST="do"
src_configure() {
local myconf
if use gtk; then
myconf="--gtk3"
fi
perl-module_src_configure
}
src_install() {
perl-module_src_install
if use gtk; then
domenu share/gtk-pipe-viewer.desktop
doicon share/icons/gtk-pipe-viewer.png
fi
}
pkg_postinst() {
use gtk && xdg_icon_cache_update
elog "Optional dependencies:"
optfeature "cache support" dev-perl/LWP-UserAgent-Cached
optfeature "faster JSON to HASH conversion" dev-perl/JSON-XS
optfeature "the case if there are SSL problems" dev-perl/Mozilla-CA
optfeature "printing results in a fixed-width format (--fixed-width, -W)" dev-perl/Text-CharWidth
optfeature "live streams support" net-misc/youtube-dl
optfeature "threads support" virtual/perl-threads
elog
elog "Check the configuration file in ~/.config/pipe-viewer/"
elog "and configure your video player backend."
}
pkg_postrm() {
use gtk && xdg_icon_cache_update
}
Loading…
Cancel
Save