diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-30 17:36:28 +0100 |
commit | 7014a5a3ea0feffab9701fdd6b64cc7667a985af (patch) | |
tree | f2cbbaa8bb9209cd15208721103228336149b799 /media-video/smtube | |
parent | 7a86906b67693cc65671d3e1476835d3a7e13092 (diff) |
gentoo resync : 30.06.2019
Diffstat (limited to 'media-video/smtube')
-rw-r--r-- | media-video/smtube/Manifest | 2 | ||||
-rw-r--r-- | media-video/smtube/smtube-19.6.0.ebuild | 65 |
2 files changed, 67 insertions, 0 deletions
diff --git a/media-video/smtube/Manifest b/media-video/smtube/Manifest index bbb19561af84..81a984f0a3be 100644 --- a/media-video/smtube/Manifest +++ b/media-video/smtube/Manifest @@ -1,3 +1,5 @@ DIST smtube-17.5.0.tar.bz2 748559 BLAKE2B 41c5be3933b74b079136788c99cf3e073eab5903596f2e39f9451493e17338d39454a8956841452f37e56c0e6051720a02a9765f3165f4e7e4aa1d93caa1a59f SHA512 bda1d166fe03eb85e5a9971b0d5422ea3e72ea91293c4dd14cdb447788635971a1d9977fd2dda60bfcda68183511b5c6ca6b39a229960fbd4c7c5f125882140b +DIST smtube-19.6.0.tar.bz2 748844 BLAKE2B 55e662fc85ec44f067cba037c28b26fbfe08439bafea294dfcd1c4187e8df9f1f066780dd80c765dc4e584ba5b3917d8982a46253039b6327a30ff9d842b9e0b SHA512 f61e432b8f99e34ddbd9415064eecf30c9a3a6731d646073253d63690cf531321a7a5038117db981d036d1abfdbd3150df21bc22c9ae75e32c63ade3a859ecef EBUILD smtube-17.5.0-r2.ebuild 1447 BLAKE2B 06f6b15ca00add442247f618b96c82560b7ecb65668ddea9547df95e818d28ad87069227b2d1be728c32bdaec99488e64962974c13ea323675c0580c62c70260 SHA512 679bceda52dc589a039d4520160b861dc03599d6dcf16bd5fef6c1e6e73753f1a36255525b4ce2c16bec356ee7ed0b08e2bbf26ef9855190bd1116b82052dfdf +EBUILD smtube-19.6.0.ebuild 1308 BLAKE2B cd64ffb10782dada1d0ab433eaa6acf6c0eb0728cc7c928a9e9274e36936393d7c895cfd15edab742aeff15244150ee3a33cdcabeed5d5c281282606c3db4678 SHA512 e0af27f8dd95d6ec4791beacb2c8cfef130330b80db220db794cb8e205cea01422312631a009b19211a645f2b14ca2148f30defd63069100222b1dc938447eda MISC metadata.xml 553 BLAKE2B 5818030e41958376eb0a4566f79a245d8bd1142dbcbf56aaeb21434e4194d2e8c7208bfd7b7e15b11f688f0e8ef47be2e1748740883a09cce1cda04836a70e24 SHA512 0e833e9f3075e066d059871c97bc951acb2d68152719388b9c1eb92776f50822585c88f662e8c5544ef15861f11bd76e469a34c593c98f3bc76ccf898eb202a6 diff --git a/media-video/smtube/smtube-19.6.0.ebuild b/media-video/smtube/smtube-19.6.0.ebuild new file mode 100644 index 000000000000..dcf67fb03df9 --- /dev/null +++ b/media-video/smtube/smtube-19.6.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 desktop l10n qmake-utils + +DESCRIPTION="YouTube Browser for SMPlayer" +HOMEPAGE="http://smplayer.sourceforge.net/smtube" +SRC_URI="mirror://sourceforge/smtube/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + dev-qt/linguist-tools:5 +" +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5[ssl] + dev-qt/qtscript:5 + dev-qt/qtwebkit:5 + dev-qt/qtwidgets:5 +" +RDEPEND="${DEPEND} + || ( + media-video/smplayer + media-video/mpv + media-video/mplayer + media-video/vlc + media-video/totem + ) +" + +gen_translation() { + "$(qt5_get_bindir)"/lrelease ${PN}_${1}.ts + eend $? || die "failed to generate $1 translation" +} + +src_compile() { + eqmake5 src/${PN}.pro + emake + + cd src/translations || die + l10n_for_each_locale_do gen_translation +} + +install_locale() { + insinto /usr/share/${PN}/translations + doins 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 +} |