From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4B8C2138336 for ; Thu, 27 Jun 2019 23:37:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32304E0843; Thu, 27 Jun 2019 23:37:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8B9AE0843 for ; Thu, 27 Jun 2019 23:37:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3A49A346BC0 for ; Thu, 27 Jun 2019 23:37:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C4DE0629 for ; Thu, 27 Jun 2019 23:37:36 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1561678645.1cd5ebd01c2e989120ef786f7c24e4193d64169a.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/smtube/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/smtube/Manifest media-video/smtube/smtube-19.6.0.ebuild X-VCS-Directories: media-video/smtube/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 1cd5ebd01c2e989120ef786f7c24e4193d64169a X-VCS-Branch: master Date: Thu, 27 Jun 2019 23:37:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 36be5859-2c70-4ab3-b286-187d274623d6 X-Archives-Hash: bd91bdc555feda15aa35344b6ddcddeb commit: 1cd5ebd01c2e989120ef786f7c24e4193d64169a Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Jun 27 23:36:05 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Jun 27 23:37:25 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cd5ebd0 media-video/smtube: 19.6.0 version bump Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner gentoo.org> media-video/smtube/Manifest | 1 + media-video/smtube/smtube-19.6.0.ebuild | 65 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/media-video/smtube/Manifest b/media-video/smtube/Manifest index 9619101f3c4..9b264659d6a 100644 --- a/media-video/smtube/Manifest +++ b/media-video/smtube/Manifest @@ -1 +1,2 @@ DIST smtube-17.5.0.tar.bz2 748559 BLAKE2B 41c5be3933b74b079136788c99cf3e073eab5903596f2e39f9451493e17338d39454a8956841452f37e56c0e6051720a02a9765f3165f4e7e4aa1d93caa1a59f SHA512 bda1d166fe03eb85e5a9971b0d5422ea3e72ea91293c4dd14cdb447788635971a1d9977fd2dda60bfcda68183511b5c6ca6b39a229960fbd4c7c5f125882140b +DIST smtube-19.6.0.tar.bz2 748844 BLAKE2B 55e662fc85ec44f067cba037c28b26fbfe08439bafea294dfcd1c4187e8df9f1f066780dd80c765dc4e584ba5b3917d8982a46253039b6327a30ff9d842b9e0b SHA512 f61e432b8f99e34ddbd9415064eecf30c9a3a6731d646073253d63690cf531321a7a5038117db981d036d1abfdbd3150df21bc22c9ae75e32c63ade3a859ecef 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 00000000000..dcf67fb03df --- /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 +}