commit: d2cf2f14b3da779623f4328938bbc12c15a78d52 Author: Artem Trokhymchuk <trokhymchukartem <AT> gmail <DOT> com> AuthorDate: Mon Nov 9 16:57:26 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Mon Nov 9 16:57:26 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d2cf2f14
net-p2p/lbry: new package Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Artem Trokhymchuk <trokhymchukartem <AT> gmail.com> net-p2p/lbry/Manifest | 1 + net-p2p/lbry/lbry-0.48.2.ebuild | 48 +++++++++++++++++++++++++++++++++++++++++ net-p2p/lbry/metadata.xml | 8 +++++++ 3 files changed, 57 insertions(+) diff --git a/net-p2p/lbry/Manifest b/net-p2p/lbry/Manifest new file mode 100644 index 00000000..6a1f764c --- /dev/null +++ b/net-p2p/lbry/Manifest @@ -0,0 +1 @@ +DIST LBRY_0.48.2.deb 157526062 BLAKE2B fe030ab4df3c41313caafb5ce63f42e2a44d9789cd5359c54ae50ec58fc3bc39600ba36972087f2a2feb5a97be2b048efbcf0f704134d66e5aaefc1bfe406f9c SHA512 be282f6f53de2db4fe1256e8a9e1d7dce10978925cf3bebccfa086783183349aaf9e6acee5680df6bb041efbfd1bf3881585b94ad0f09e7c4782f1e08a1f548b diff --git a/net-p2p/lbry/lbry-0.48.2.ebuild b/net-p2p/lbry/lbry-0.48.2.ebuild new file mode 100644 index 00000000..461d67f4 --- /dev/null +++ b/net-p2p/lbry/lbry-0.48.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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/v0.48.2/LBRY_0.48.2.deb" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + x11-libs/libXtst + dev-libs/nss + x11-libs/libnotify + dev-libs/libappindicator + gnome-base/gconf +" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + rm "${S}"/control.tar.gz + unpack "${S}"/data.tar.xz + rm data.tar.xz + rm debian-binary +} + +src_install() { + mv * "${D}" || die + ls -al "${D}" + rm -rd "${D}/usr/share/doc/lbry" + fperms 0755 /opt/LBRY/lbry || die +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} diff --git a/net-p2p/lbry/metadata.xml b/net-p2p/lbry/metadata.xml new file mode 100644 index 00000000..1d4df09d --- /dev/null +++ b/net-p2p/lbry/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>trokhymchukar...@gmail.com</email> + <name>Trokhymchuk Artem</name> +</maintainer> +</pkgmetadata>