summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Campbell <zlg@gentoo.org>2016-10-28 00:44:39 -0700
committerDaniel Campbell <zlg@gentoo.org>2016-10-28 00:44:39 -0700
commite88997074ec011aa5c11c79cc501f5f41774641f (patch)
tree104dacf2e661946e42405c29d17ec635ff2f93ba /media-video
parentdev-ruby/domain_name: add 0.5.20161021 (diff)
downloadgentoo-e88997074ec011aa5c11c79cc501f5f41774641f.tar.gz
gentoo-e88997074ec011aa5c11c79cc501f5f41774641f.tar.bz2
gentoo-e88997074ec011aa5c11c79cc501f5f41774641f.zip
media-video/smtube: version bump
Version bump, also dropped qt4 support per the KDE team. Package-Manager: portage-2.3.2
Diffstat (limited to 'media-video')
-rw-r--r--media-video/smtube/Manifest1
-rw-r--r--media-video/smtube/smtube-16.7.0.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/media-video/smtube/Manifest b/media-video/smtube/Manifest
index 8584ad120598..b9fe8cc87d89 100644
--- a/media-video/smtube/Manifest
+++ b/media-video/smtube/Manifest
@@ -2,3 +2,4 @@ DIST smtube-15.11.0.tar.bz2 670236 SHA256 dedef3dc634624e8252c5806e2cb09b1c2b8a3
DIST smtube-16.1.0.tar.bz2 670383 SHA256 9948596342b94b152cc5ab62e9600bd06d066b12f32bf7ca4088bb5be43b56fa SHA512 dd844d181864b62a872f65fb1aad96e9cc1edb2d91a5ce5c1b2cc67ba99fa052f5e0e9439d61bfb9f4a8438fe745ad408763b2bd5020f10e3efc559119cf13f1 WHIRLPOOL 7b5fa5663ff0117a4dcebae813fd7ac16d2abd5cdaf95bd2551c75f4a94c770a132e47961dc7e19d0cd5ce0b6b4e2a4aa0ef430fe8f0224d14cbe764daeabba0
DIST smtube-16.3.0.tar.bz2 675962 SHA256 6ac038645eb03f7d8069713312c99f5ff7d8d0d6b4550b206b87ac6e1a941570 SHA512 75e456306e6baba4e8954b967a993102017901bc48ec5cd1a8b0ec50c10333fd04c73ae1d1dd1c6829f72df91441bbd78c756e06a0f200519d4b1a4933c1c197 WHIRLPOOL 818f76d3b503a361f19653afe6fe2f8267ce6ea6ab53aa7182727a163a9724f525a2c607ce1ecb042b1b9906b740a004b5c0ab231604a1a4155eabecda3c1e39
DIST smtube-16.6.0.tar.bz2 735813 SHA256 a23f760d348b8d2d519b4a57cfb622d11cadd766f380bd8e4b410db0caed0e30 SHA512 4509722a83eb1c3449a8c2c99bd9233091462b351124e3061dba377279cad5bf7803fc553cd75566eb4e4313f9c04961d60088d64685c9973fe91741007709dc WHIRLPOOL bf5110efcbce6ed2f56c68401f7d574bfdfbb18d46eb8bee72a645e24663c6ac8b4c9bebedd8d0e7a6deae5c8cf07f5ac6220c96fc7d8145c42ea402c4589cfa
+DIST smtube-16.7.0.tar.bz2 736500 SHA256 9c529f64707ac16ce7800d9a2df7bf9db87462a728b73c6ce9c47d287e3b2b47 SHA512 9277b6b39054edcb926b32e3622ef5f104a9e189cc6bb2f016d57b578eca726a67bd1150837c134d75965a375b8dc2ca3a6a16341ad1de9b1d6e1a12fbcfd85b WHIRLPOOL cee623c8e213558ff06200803d253243298fba0cebf815d3473fdfd52c9c452bc4a6bdf25763f2114f9d6267235c300e2470e03aecf25401a8a239ddaf27baf0
diff --git a/media-video/smtube/smtube-16.7.0.ebuild b/media-video/smtube/smtube-16.7.0.ebuild
new file mode 100644
index 000000000000..9712346ee8b2
--- /dev/null
+++ b/media-video/smtube/smtube-16.7.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PLOCALES="bg cs da de en_GB en es eu fr gl he_IL hr hu it ja ko ms nn_NO pl pt_BR pt ru sq sr tr uk zh_CN zh_TW"
+PLOCALE_BACKUP="en"
+
+inherit l10n 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"
+
+# Deps in makefile seemed to be -core, -network, -script, -gui, -webkit, but the
+# given packages seem to be deprecated...
+DEPEND="dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtscript:5
+"
+RDEPEND="${DEPEND}
+ || ( media-video/smplayer[streaming] media-video/mpv media-video/mplayer media-video/vlc media-video/totem media-video/gnome-mplayer )"
+
+gen_translation() {
+ lrelease ${PN}_${1}.ts
+ eend $? || die "failed to generate $1 translation"
+}
+
+src_compile() {
+ eqmake5 src/${PN}.pro
+ emake
+
+ cd "${S}"/src/translations
+ l10n_for_each_locale_do gen_translation
+}
+
+install_locale() {
+ insinto /usr/share/${PN}/translations
+ doins "${S}"/src/translations/${PN}_${1}.qm
+ eend $? || die "failed to install $1 translation"
+}
+
+src_install() {
+ dobin ${PN}
+ domenu ${PN}.desktop
+ newicon icons/${PN}_64.png ${PN}.png
+ dodoc Changelog
+
+ l10n_for_each_locale_do install_locale
+}