diff options
author | Daniel Campbell <zlg@gentoo.org> | 2016-03-18 15:56:32 -0700 |
---|---|---|
committer | Daniel Campbell <zlg@gentoo.org> | 2016-03-18 15:56:32 -0700 |
commit | 7233543ff980a21eff3c0a3380b8fcce7b196994 (patch) | |
tree | 93fed258fcf6455314ce2dfc5ba73735d5106bc1 /media-video | |
parent | sys-kernel/vanilla-sources: Automated version bump to {3.12.57,3.18.29,4.1.20... (diff) | |
download | gentoo-7233543ff980a21eff3c0a3380b8fcce7b196994.tar.gz gentoo-7233543ff980a21eff3c0a3380b8fcce7b196994.tar.bz2 gentoo-7233543ff980a21eff3c0a3380b8fcce7b196994.zip |
media-video/smtube: version bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/smtube/Manifest | 1 | ||||
-rw-r--r-- | media-video/smtube/smtube-16.3.0.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/media-video/smtube/Manifest b/media-video/smtube/Manifest index 4fd50bb6a517..198a6ecf6c47 100644 --- a/media-video/smtube/Manifest +++ b/media-video/smtube/Manifest @@ -1,2 +1,3 @@ DIST smtube-15.11.0.tar.bz2 670236 SHA256 dedef3dc634624e8252c5806e2cb09b1c2b8a363c29bea2b6dfa79610868f38e SHA512 b66026b69c36f2ade0797ab50c7df458b9508509574563079ca22af63bc842b317f9b8853220860527f100aa97f1c35a39b00ee588957e1939cffd54b244e9b2 WHIRLPOOL 17409b7ac1058ad9ba5919db5fd7e161e8e677eda7bf794ad101791c7131e611515da9340ccf367d2b55cade58918fbdacd6b807eb32240145ab851bc7157e6d 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 diff --git a/media-video/smtube/smtube-16.3.0.ebuild b/media-video/smtube/smtube-16.3.0.ebuild new file mode 100644 index 000000000000..93ba1bf387b1 --- /dev/null +++ b/media-video/smtube/smtube-16.3.0.ebuild @@ -0,0 +1,57 @@ +# 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" +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 )" + +gen_translation() { + lrelease ${PN}_${1}.ts + eend $? || die "failed to generate $1 translation" +} + +src_compile() { + if use qt5; then + eqmake5 src/${PN}.pro + else + eqmake4 src/${PN}.pro + fi + 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 +} |