linamh/media-video/emby-theater/emby-theater-3.0.16.ebuild

40 lines
892 B
Bash
Raw Normal View History

2021-08-20 15:58:48 +02:00
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit xdg unpacker
MY_PV="${PV}-1"
DESCRIPTION="An Electron app for Emby"
HOMEPAGE="https://github.com/MediaBrowser/emby-theater-electron/"
2022-08-23 12:41:36 +02:00
#SRC_URI="https://github.com/MediaBrowser/${PN}-electron/releases/download/${PV}/${PN}_${PV}_amd64.deb"
SRC_URI="https://github.com/MediaBrowser/${PN}-electron/releases/download/${PV}/${PN}-deb_${PV}_amd64.deb"
2021-08-20 15:58:48 +02:00
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-libs/libcec
dev-qt/qtquickcontrols2
dev-qt/qtwebchannel
dev-qt/qtwebengine
dev-qt/qtx11extras
media-video/mpv[libmpv]
"
QA_PREBUILT=".*"
S="${WORKDIR}"
src_install() {
2022-08-23 12:41:36 +02:00
doins -r opt
2021-08-20 15:58:48 +02:00
doins -r usr
2022-08-23 12:41:36 +02:00
fperms +x /opt/emby-theater/electron/emby-theater
fperms +x /opt/emby-theater/bin/mpv
2021-08-20 15:58:48 +02:00
fperms +x /usr/bin/emby-theater
rm -r "${ED}"/usr/share/doc/ || die
}