aboutsummaryrefslogtreecommitdiff
blob: b6e8d765468860e70ccf6d8676c0c46729282415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit xdg

DESCRIPTION="A browser for the LBRY network, a digital marketplace controlled by its users."
HOMEPAGE="https://lbry.com/"
SRC_URI="https://github.com/lbryio/lbry-desktop/releases/download/v${PV}/LBRY_${PV}.deb -> ${P}.deb"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
QA_PREBUILT="*"

RDEPEND="
	dev-libs/libappindicator
	dev-libs/nss
	gnome-base/gconf
	x11-libs/libnotify
	x11-libs/libXtst
"

S="${WORKDIR}"

src_unpack() {
	unpack ${A}
	unpack "${S}"/data.tar.xz
	rm "${S}"/{control,data,debian}* || die
}

src_install() {
	doins -r *
	rm -rd "${ED}"/usr/share/doc || die
	fperms 0755 /opt/LBRY/lbry || die
}