diff options
author | Daniel Campbell <zlg@gentoo.org> | 2017-05-05 18:49:16 -0700 |
---|---|---|
committer | Daniel Campbell <zlg@gentoo.org> | 2017-05-05 18:49:36 -0700 |
commit | 7ef7eb5086bbb01681f943472a445e6700c7cfe6 (patch) | |
tree | 5c9499be86bb5b26e962a02913a0d52e070ee794 /media-video | |
parent | dev-util/trinity: remove unused version 1.5 and two unused patches. (diff) | |
download | gentoo-7ef7eb5086bbb01681f943472a445e6700c7cfe6.tar.gz gentoo-7ef7eb5086bbb01681f943472a445e6700c7cfe6.tar.bz2 gentoo-7ef7eb5086bbb01681f943472a445e6700c7cfe6.zip |
media-video/smtube: version bump
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/smtube/Manifest | 1 | ||||
-rw-r--r-- | media-video/smtube/smtube-17.5.0.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/media-video/smtube/Manifest b/media-video/smtube/Manifest index 65f38ce5ff9e..4b268b139070 100644 --- a/media-video/smtube/Manifest +++ b/media-video/smtube/Manifest @@ -3,3 +3,4 @@ DIST smtube-16.3.0.tar.bz2 675962 SHA256 6ac038645eb03f7d8069713312c99f5ff7d8d0d 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 DIST smtube-17.1.0.tar.bz2 746086 SHA256 c128f52bfb71ca2ba1d4b8178ed1466d1b3befa29b081893876cdb93272ee4cd SHA512 93581a56a42e274c693899aea7b3353b36988b145e4641d973b523c9538fe9eeff4e6861221145daa5a7ad52590a5e54eb7c433dfc8592e08ad15b0fc6fc1831 WHIRLPOOL 5184df6d35fadc54f736f89ccebeb73171b314b6ab14b37e6603d78c38cf9db5c6d31ae230a1f2b7789dd56d8c048af74950510832c1ceb22faa50c99f7e2809 +DIST smtube-17.5.0.tar.bz2 748559 SHA256 8dca5245e2d2be4cb472b7a6e9e7ccafa52f25b0ef2c924944aa058b02a5a08e SHA512 bda1d166fe03eb85e5a9971b0d5422ea3e72ea91293c4dd14cdb447788635971a1d9977fd2dda60bfcda68183511b5c6ca6b39a229960fbd4c7c5f125882140b WHIRLPOOL 26f0e3a5f0c992d6abe5058b426178c7c930a6b64171d4db1fc6dd6e1d0d96ca5eef04ac13745be61788e845d5be7abd3cad81e0c2a46e003c3421b5c2db3db4 diff --git a/media-video/smtube/smtube-17.5.0.ebuild b/media-video/smtube/smtube-17.5.0.ebuild new file mode 100644 index 000000000000..8cfd5e98bec5 --- /dev/null +++ b/media-video/smtube/smtube-17.5.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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/smtube/${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 -qt=qt5 ${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 +} |