summaryrefslogtreecommitdiff
path: root/media-video/smtube
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-08-28 11:35:29 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-08-28 11:35:29 +0100
commitaa1f1d369ef3fcbce3e91c2bef1a4dc76a73509d (patch)
tree032e3fc0afae6e0e965fafcb662b4e20efbfd87f /media-video/smtube
parent9f5ecdecfb746a40f8a4f48d59bd968f192a35a2 (diff)
add smtube
Diffstat (limited to 'media-video/smtube')
-rw-r--r--media-video/smtube/Manifest1
-rw-r--r--media-video/smtube/smtube-16.1.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/media-video/smtube/Manifest b/media-video/smtube/Manifest
new file mode 100644
index 00000000..1234f89e
--- /dev/null
+++ b/media-video/smtube/Manifest
@@ -0,0 +1 @@
+DIST smtube-16.1.0.tar.bz2 670383 SHA256 9948596342b94b152cc5ab62e9600bd06d066b12f32bf7ca4088bb5be43b56fa SHA512 dd844d181864b62a872f65fb1aad96e9cc1edb2d91a5ce5c1b2cc67ba99fa052f5e0e9439d61bfb9f4a8438fe745ad408763b2bd5020f10e3efc559119cf13f1 WHIRLPOOL 7b5fa5663ff0117a4dcebae813fd7ac16d2abd5cdaf95bd2551c75f4a94c770a132e47961dc7e19d0cd5ce0b6b4e2a4aa0ef430fe8f0224d14cbe764daeabba0
diff --git a/media-video/smtube/smtube-16.1.0.ebuild b/media-video/smtube/smtube-16.1.0.ebuild
new file mode 100644
index 00000000..18cba6e2
--- /dev/null
+++ b/media-video/smtube/smtube-16.1.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit qmake-utils
+
+DESCRIPTION="YouTube Browser for SMPlayer"
+HOMEPAGE="http://smplayer.sourceforge.net/smtube"
+SRC_URI="mirror://sourceforge/smplayer/${P}.tar.bz2"
+KEYWORDS="amd64 x86"
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="qt5"
+
+# Deps in makefile seemed to be -core, -network, -script, -gui, -webkit, but the
+# given packages seem to be deprecated...
+DEPEND="qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwebkit:5 dev-qt/qtscript:5 )
+ !qt5? ( dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qtwebkit:4 dev-qt/qtscript:4 )"
+RDEPEND="${DEPEND}
+ || ( media-video/smplayer[streaming] media-video/mpv media-video/mplayer media-video/vlc media-video/totem media-video/gnome-mplayer )"
+
+src_compile() {
+ if use qt5; then
+ eqmake5 src/${PN}.pro
+ else
+ eqmake4 src/${PN}.pro
+ fi
+ emake
+}
+
+src_install() {
+ dobin ${PN}
+ domenu ${PN}.desktop
+ newicon icons/${PN}_64.png ${PN}.png
+ dodoc Changelog
+}