summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2020-02-02 20:12:07 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2020-02-02 20:21:42 +0100
commit386e0b27d32e1112dca2ce08d7a300f6cd5f4f4d (patch)
treed59ed3e54f9f9c3afce6a3985885a2397c7663cd /media-video/orion/orion-1.6.7.ebuild
parentmedia-gfx/hugin: drop redundant longdescription from metadata (diff)
downloadgentoo-386e0b27d32e1112dca2ce08d7a300f6cd5f4f4d.tar.gz
gentoo-386e0b27d32e1112dca2ce08d7a300f6cd5f4f4d.tar.bz2
gentoo-386e0b27d32e1112dca2ce08d7a300f6cd5f4f4d.zip
media-video/orion: 1.6.7 bump
Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'media-video/orion/orion-1.6.7.ebuild')
-rw-r--r--media-video/orion/orion-1.6.7.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/media-video/orion/orion-1.6.7.ebuild b/media-video/orion/orion-1.6.7.ebuild
new file mode 100644
index 00000000000..406bf1c592e
--- /dev/null
+++ b/media-video/orion/orion-1.6.7.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit desktop qmake-utils xdg
+
+DESCRIPTION="Cross-platform Twitch client"
+HOMEPAGE="https://alamminsalo.github.io/orion/"
+SRC_URI="https://github.com/alamminsalo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+mpv qtav qtmedia"
+
+DEPEND=">=dev-qt/qtquickcontrols-5.8:5
+ >=dev-qt/qtquickcontrols2-5.8:5
+ >=dev-qt/qtsvg-5.8:5
+ >=dev-qt/qtwebengine-5.8:5
+ mpv? ( media-video/mpv[libmpv] )
+ qtav? ( media-libs/qtav )
+ qtmedia? ( >=dev-qt/qtmultimedia-5.8:5 )"
+RDEPEND="${DEPEND}
+ !mpv? ( media-plugins/gst-plugins-hls )"
+
+REQUIRED_USE="^^ ( mpv qtav qtmedia )"
+
+src_configure() {
+ local PLAYER
+ if use mpv; then
+ PLAYER=mpv
+ elif use qtav; then
+ PLAYER=qtav
+ 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
+}