* [gentoo-commits] repo/gentoo:master commit in: media-video/smtube/
@ 2015-11-27 8:55 99% Daniel Campbell
0 siblings, 0 replies; 1+ results
From: Daniel Campbell @ 2015-11-27 8:55 UTC (permalink / raw
To: gentoo-commits
commit: b00190062009b1815683fa8e7242f1b3ee53c11c
Author: Daniel Campbell <zlg <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 27 08:54:24 2015 +0000
Commit: Daniel Campbell <zlg <AT> gentoo <DOT> org>
CommitDate: Fri Nov 27 08:54:24 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0019006
media-video/smtube: New ebuild
Gentoo-Bug: 407199
Package-Manager: portage-2.2.26
media-video/smtube/Manifest | 1 +
media-video/smtube/metadata.xml | 18 ++++++++++
media-video/smtube/smtube-15.11.0.ebuild | 56 ++++++++++++++++++++++++++++++++
3 files changed, 75 insertions(+)
diff --git a/media-video/smtube/Manifest b/media-video/smtube/Manifest
new file mode 100644
index 0000000..94109e8
--- /dev/null
+++ b/media-video/smtube/Manifest
@@ -0,0 +1 @@
+DIST smtube-15.11.0.tar.bz2 670236 SHA256 dedef3dc634624e8252c5806e2cb09b1c2b8a363c29bea2b6dfa79610868f38e SHA512 b66026b69c36f2ade0797ab50c7df458b9508509574563079ca22af63bc842b317f9b8853220860527f100aa97f1c35a39b00ee588957e1939cffd54b244e9b2 WHIRLPOOL 17409b7ac1058ad9ba5919db5fd7e161e8e677eda7bf794ad101791c7131e611515da9340ccf367d2b55cade58918fbdacd6b807eb32240145ab851bc7157e6d
diff --git a/media-video/smtube/metadata.xml b/media-video/smtube/metadata.xml
new file mode 100644
index 0000000..f01a649
--- /dev/null
+++ b/media-video/smtube/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>dlcampbell@gmx.com</email>
+ <name>Daniel Campbell</name>
+ </maintainer>
+ <longdescription lang="en">
+ SMTube is a Qt-based frontend to Youtube and other video services
+ that allows you to play videos directly in a variety of media players.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">smtube</remote-id>
+ </upstream>
+ <use>
+ <flag name="qt5">Build using Qt 5 instead of Qt 4</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-video/smtube/smtube-15.11.0.ebuild b/media-video/smtube/smtube-15.11.0.ebuild
new file mode 100644
index 0000000..2a78a1e
--- /dev/null
+++ b/media-video/smtube/smtube-15.11.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PLOCALES="el en es eu gl hu ja lt pl pt ru_RU zh_CN"
+PLOCALE_BACKUP="en"
+
+inherit l10n qt4-r2
+
+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 )
+ !qt5? ( dev-qt/qtcore:4 dev-qt/qtgui:4 dev-qt/qtwebkit:4 )"
+RDEPEND="${DEPEND}
+ || ( media-video/smplayer[streaming] media-video/mpv media-video/mplayer media-video/vlc media-video/totem media-video/gnome-mplayer )"
+
+src_prepare() {
+ eqmake4 src/${PN}.pro
+}
+
+gen_translation() {
+ lrelease ${PN}_${1}.ts
+ eend $? || die "failed to generate $1 translation"
+}
+
+src_compile() {
+ 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
+}
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-11-27 8:55 99% [gentoo-commits] repo/gentoo:master commit in: media-video/smtube/ Daniel Campbell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox