blob: 917f687c142e85c29ca8a353fc38385516c86f2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit perl-module readme.gentoo-r1
DESCRIPTION="Downloads videos from various Flash-based video hosting sites"
HOMEPAGE="https://github.com/monsieurvideo/get-flash-videos"
SRC_URI="https://github.com/monsieurvideo/get-flash-videos/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
#RESTRICT="test" # Fail to work for a long time, bug #407381
RDEPEND="
dev-perl/HTML-TokeParser-Simple
dev-perl/Module-Find
dev-perl/Term-ProgressBar
dev-perl/WWW-Mechanize
virtual/perl-Module-CoreList
"
DEPEND="${RDEPEND}
dev-perl/UNIVERSAL-require
test? ( media-video/rtmpdump
dev-perl/Tie-IxHash
dev-perl/XML-Simple
dev-perl/Crypt-Rijndael
dev-perl/Data-AMF
virtual/perl-IO-Compress )
"
S="${WORKDIR}/${P//_/-}"
SRC_TEST="do"
myinst="DESTDIR=${D}"
DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="Downloading videos from RTMP server requires the following packages:
- media-video/rtmpdump
- dev-perl/Tie-IxHash
Other optional dependencies:
- dev-perl/XML-Simple
- dev-perl/Crypt-Rijndael
- dev-perl/Data-AMF
- virtual/perl-IO-Compress"
src_install() {
perl-module_src_install
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
|