summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/yaydl')
-rw-r--r--net-misc/yaydl/Manifest1
-rw-r--r--net-misc/yaydl/metadata.xml11
-rw-r--r--net-misc/yaydl/yaydl-1.5.2.ebuild47
3 files changed, 59 insertions, 0 deletions
diff --git a/net-misc/yaydl/Manifest b/net-misc/yaydl/Manifest
new file mode 100644
index 000000000000..1737a3be20a8
--- /dev/null
+++ b/net-misc/yaydl/Manifest
@@ -0,0 +1 @@
+DIST yaydl-1.5.2.tar.gz 13933 SHA256 f2ee58aad1b6ab458fb3e9ff21f195af17dbfea4237642a998d89996b0449cc0
diff --git a/net-misc/yaydl/metadata.xml b/net-misc/yaydl/metadata.xml
new file mode 100644
index 000000000000..9db41b280b87
--- /dev/null
+++ b/net-misc/yaydl/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="soundextract">Extract the soundtracks of the downloaded videos</flag>
+ </use>
+</pkgmetadata>
+
diff --git a/net-misc/yaydl/yaydl-1.5.2.ebuild b/net-misc/yaydl/yaydl-1.5.2.ebuild
new file mode 100644
index 000000000000..0b99a27632f3
--- /dev/null
+++ b/net-misc/yaydl/yaydl-1.5.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Yet Another Youtube DownLoader which is downloading more than youtube"
+HOMEPAGE="http://pdes-net.org/x-haui/"
+SRC_URI="http://pdes-net.org/x-haui/scripts/perl/yaydl_youtubedownloader/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="encode soundextract"
+
+DEPEND=""
+RDEPEND="
+ dev-lang/perl
+ dev-perl/LWP-UserAgent-Determined
+ dev-perl/MP3-Info
+ dev-perl/Term-ProgressBar
+ dev-perl/URI
+ encode? (
+ || (
+ virtual/ffmpeg[encode]
+ media-video/mplayer[encode,mp3,xvid]
+ )
+ )
+ soundextract? (
+ || (
+ virtual/ffmpeg[encode,mp3]
+ (
+ media-video/mplayer
+ media-sound/lame
+ )
+ )
+ )"
+
+src_install() {
+ newbin ${PN}.pl ${PN}
+ dodoc changelog README
+}
+
+pkg_postinst() {
+ elog "${PN} is supporting a lot of video websites."
+ elog "Look at ${HOMEPAGE} for more information."
+}