diff options
Diffstat (limited to 'media-video/popcorntime-bin')
-rw-r--r-- | media-video/popcorntime-bin/Manifest | 4 | ||||
-rw-r--r-- | media-video/popcorntime-bin/metadata.xml | 12 | ||||
-rw-r--r-- | media-video/popcorntime-bin/popcorntime-bin-0.4.6.ebuild | 57 |
3 files changed, 73 insertions, 0 deletions
diff --git a/media-video/popcorntime-bin/Manifest b/media-video/popcorntime-bin/Manifest new file mode 100644 index 000000000000..e94c6bd36401 --- /dev/null +++ b/media-video/popcorntime-bin/Manifest @@ -0,0 +1,4 @@ +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 +EBUILD popcorntime-bin-0.4.6.ebuild 1416 BLAKE2B 780cdb9f0ebc5612506702c26a3e7011353a8425abe2801cc3857e2d0290332de114d86d4cff5d684dd407e292a7bfcd52147c3a34ac0cafe629ea922dc11ab7 SHA512 ba53ef364d33981aa6e374ba588dcbeaeb905344ff07c709bea5928a503602066aace52a1af2a41b82c826641cbda4d3e79ab0a39a04ff783300128c93b6320d +MISC metadata.xml 436 BLAKE2B da1f7867d1f3a3b6a04a0975899b592976adb0299e2c370fa613d025993aeed81f719d1bde50565f3e8da15cfdd4ed6cd7f1bf4abb77c3d9371fdcfe7f4e9d13 SHA512 fec3c45b96ed58c61fb5454edc2351384b67bb52e156542bd0d71ce51f36b5943c1bee083a05c5c99917630da6ca5ffe0b87cfacde3a07d521a3c2032e42985e 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..be67597435bd --- /dev/null +++ b/media-video/popcorntime-bin/popcorntime-bin-0.4.6.ebuild @@ -0,0 +1,57 @@ +# 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() { + # remove arm/arm64 files, not needed anyway, avoids QA complaint + rm opt/Popcorn-Time/node_modules/bufferutil/prebuilds/linux-arm{,64}/* || die + rm opt/Popcorn-Time/node_modules/utf-8-validate/prebuilds/linux-arm{,64}/* || die + + mv "${S}"/* "${ED}" || die + dosym ../Popcorn-Time/Popcorn-Time /opt/bin/popcorntime +} |