summaryrefslogtreecommitdiff
path: root/net-p2p/lbry/lbry-0.50.2.ebuild
blob: 1a4446ebe44aa56cc46fc77da3612ed315f27200 (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
38
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
	media-libs/alsa-lib
	net-print/cups
	x11-libs/libnotify
	x11-libs/libXtst
	x11-libs/libXScrnSaver
"

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
	fperms 0755 /opt/LBRY/resources/static/daemon/lbrynet || die
}