diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-video/orion/orion-1.3.5.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-video/orion/orion-1.3.5.ebuild')
-rw-r--r-- | media-video/orion/orion-1.3.5.ebuild | 40 |
1 files changed, 40 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..59d5d8702da3 --- /dev/null +++ b/media-video/orion/orion-1.3.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |