diff options
Diffstat (limited to 'media-video/orion/orion-1.3.5.ebuild')
-rw-r--r-- | media-video/orion/orion-1.3.5.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
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 +} |