From 20b5ba37b612af0499b995fbf2a77bbeeeee30d2 Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Wed, 2 Nov 2016 20:00:06 +0100 Subject: media-video/orion: initial commit Package-Manager: portage-2.3.2 --- media-video/orion/Manifest | 1 + media-video/orion/metadata.xml | 11 ++++++++++ media-video/orion/orion-1.3.5.ebuild | 41 ++++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 media-video/orion/Manifest create mode 100644 media-video/orion/metadata.xml create mode 100644 media-video/orion/orion-1.3.5.ebuild (limited to 'media-video') diff --git a/media-video/orion/Manifest b/media-video/orion/Manifest new file mode 100644 index 000000000000..91e7817ead0f --- /dev/null +++ b/media-video/orion/Manifest @@ -0,0 +1 @@ +DIST orion-1.3.5.tar.gz 3213988 SHA256 0094b3202a7cfe0bc5139fd30e0cd371fce76abad3eb019d355dce67b715c8c6 SHA512 afd5540b2a61181c3db051fd39dd42f8a96799d19aab814f5846c5270f13bb0cb8305cd69e09e69cf215aeafb66682cc6d70379e791d6bffc551a38a8c751d0d WHIRLPOOL 8267cf6e261f33161cdadc527bd1ae23f830f903a010a1d58c59cde685a31827e554e992dd26b8ed5c712dcd6548c8500264a3c72c70506962b02dc76bd93593 diff --git a/media-video/orion/metadata.xml b/media-video/orion/metadata.xml new file mode 100644 index 000000000000..7a9b2dc4ca5c --- /dev/null +++ b/media-video/orion/metadata.xml @@ -0,0 +1,11 @@ + + + + + voyageur@gentoo.org + Bernard Cafarelli + + + Use the media-video/mpv player (upstream default) instead of the dev-qt/qtmultimedia one + + diff --git a/media-video/orion/orion-1.3.5.ebuild b/media-video/orion/orion-1.3.5.ebuild new file mode 100644 index 000000000000..adfcc9f5fba1 --- /dev/null +++ b/media-video/orion/orion-1.3.5.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit qmake-utils + +DESCRIPTION="Cross-platform Twitch client" +HOMEPAGE="https://alamminsalo.github.io/orion/" +SRC_URI="https://github.com/alamminsalo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+mpv" + +DEPEND="dev-qt/qtquickcontrols:5 + dev-qt/qtsvg:5 + dev-qt/qtwebengine:5 + mpv? ( media-video/mpv[libmpv] ) + !mpv? ( dev-qt/qtmultimedia:5 )" +RDEPEND="${DEPEND}" + +src_configure() { + # TODO: also supports qtav, not yet in portage + local PLAYER + if use mpv; then + PLAYER=mpv + else + PLAYER=multimedia + fi + eqmake5 ${PN}.pro CONFIG+=${PLAYER} +} + +src_install() { + dobin ${PN} + domenu distfiles/*.desktop + + insinto /usr/share/icons/hicolor/scalable/apps + doins distfiles/${PN}.svg +} -- cgit v1.2.3-65-gdbad