diff options
-rw-r--r-- | media-video/popcorntime-bin/Manifest | 2 | ||||
-rw-r--r-- | media-video/popcorntime-bin/metadata.xml | 12 | ||||
-rw-r--r-- | media-video/popcorntime-bin/popcorntime-bin-0.4.6.ebuild | 53 |
3 files changed, 67 insertions, 0 deletions
diff --git a/media-video/popcorntime-bin/Manifest b/media-video/popcorntime-bin/Manifest new file mode 100644 index 000000000000..10e67e0c2281 --- /dev/null +++ b/media-video/popcorntime-bin/Manifest @@ -0,0 +1,2 @@ +DIST Popcorn-Time-0.4.6-amd64.deb 101425596 BLAKE2B 267cdad781702773b7241d8abd683062cbebe495802d0845e16028cd679344f6916ed9f15f4d14c00a73bae0ca92c377d02e5785bf098a407297ec7ae8b365bf SHA512 38feca591658794ccb0b91ea753c99a776195f2e746e1c5108114fccc88fa2290dd6955cd3d962f35f9653cbb2c48502bcd8c4ac2172cc5b83aa777fd3db6fb3 +DIST Popcorn-Time-0.4.6-i386.deb 104385136 BLAKE2B 736808eb90e52d5703264cdb7e4c3a7e6458ceb608f122484c91ff51cb38ff21ae7f615a00aeab6b1688bab36fbf7acf2bb546b58be679d518715f4c1fc0513b SHA512 9b9321d2e3b1cbb37f290f7221b0611632bdacd7b3fac12a2e9400022d19e5b4f6fff87b969b62638f9a478e7bd0b04c6bd1e13699e812647af944d042443f2b diff --git a/media-video/popcorntime-bin/metadata.xml b/media-video/popcorntime-bin/metadata.xml new file mode 100644 index 000000000000..070ec4672d4b --- /dev/null +++ b/media-video/popcorntime-bin/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <remote-id type="github">popcorn-official/popcorn-desktop</remote-id> + <bugs-to>https://github.com/popcorn-official/popcorn-desktop/issues</bugs-to> + </upstream> + <maintainer type="person"> + <email>andrewammerlaan@gentoo.org</email> + <name>Andrew Ammerlaan</name> + </maintainer> +</pkgmetadata> diff --git a/media-video/popcorntime-bin/popcorntime-bin-0.4.6.ebuild b/media-video/popcorntime-bin/popcorntime-bin-0.4.6.ebuild new file mode 100644 index 000000000000..a2ae70050632 --- /dev/null +++ b/media-video/popcorntime-bin/popcorntime-bin-0.4.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit unpacker xdg + +DESCRIPTION="BitTorrent client that includes an integrated media player" +HOMEPAGE="https://github.com/popcorn-official/popcorn-desktop" +SRC_URI=" + amd64? ( https://github.com/popcorn-official/popcorn-desktop/releases/download/v0.4.6/Popcorn-Time-${PV}-amd64.deb ) + x86? ( https://github.com/popcorn-official/popcorn-desktop/releases/download/v0.4.6/Popcorn-Time-${PV}-i386.deb ) +" + +KEYWORDS="-* ~amd64 ~x86" +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=" + app-accessibility/at-spi2-core:2 + dev-libs/atk + dev-libs/expat + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + net-print/cups + sys-apps/dbus + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXScrnSaver + x11-libs/libXtst + x11-libs/pango +" + +QA_PREBUILT="/opt/Popcorn-Time/*" + +S="${WORKDIR}" + +src_install() { + mv "${S}"/* "${ED}" || die + dosym ../Popcorn-Time/Popcorn-Time /opt/bin/popcorntime +} |