diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2016-11-02 20:00:06 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2016-11-02 20:00:06 +0100 |
commit | 20b5ba37b612af0499b995fbf2a77bbeeeee30d2 (patch) | |
tree | f0ee7fd237aa4d2874d340ab7951d3a5822cb1a7 /media-video | |
parent | media-libs/gd: remove old, bug #587662 (diff) | |
download | gentoo-20b5ba37b612af0499b995fbf2a77bbeeeee30d2.tar.gz gentoo-20b5ba37b612af0499b995fbf2a77bbeeeee30d2.tar.bz2 gentoo-20b5ba37b612af0499b995fbf2a77bbeeeee30d2.zip |
media-video/orion: initial commit
Package-Manager: portage-2.3.2
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/orion/Manifest | 1 | ||||
-rw-r--r-- | media-video/orion/metadata.xml | 11 | ||||
-rw-r--r-- | media-video/orion/orion-1.3.5.ebuild | 41 |
3 files changed, 53 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> + </maintainer> + <use> + <flag name="mpv">Use the <pkg>media-video/mpv</pkg> player (upstream default) instead of the <pkg>dev-qt/qtmultimedia</pkg> one</flag> + </use> +</pkgmetadata> 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 +} |