Add files via upload

This commit is contained in:
KronoZed 2017-02-27 15:48:49 +03:00 committed by GitHub
parent a185962d26
commit 5f429d9487
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,4 @@
AUX popcorntime-bin.desktop 34009 SHA256 998a3fae356aaf76fad38cca55e70d3c65912b969e84acad95294119dbeadcee SHA512 5abc53f681525a78f24bdd2a29f84506d8aa5ab49501b1b244dd071e6db67e1e69981ff21bc650e7e348a8122bb56407e20662f8a977552c94aee7aba6a5e8e8 WHIRLPOOL de94ce46292191a51910947c825cc948a0adb34c054ab28b03e32579ffaa350b95744f3b4f400c8d9533925191075455ef53f688039fff46181ed0b333f765a4
AUX popcorntime-bin.png 32148 SHA256 681ea80b699fd618ace224198836e4a4000b3c7e1676798759b9afa282ae495b SHA512 60c1dc1af7034dbea8d48b172963352811157fda3b46d2afaa28c110650c3302a260776c3d5de818dcfdbbb4bb76c0885abc4384b37b00ce7d8ea0f491f9b117 WHIRLPOOL 91a92ea458b8976e4b41f170bf087ae5a7c24e07032f0ffadc82420804084642f7157a9bb6d596ef57a4cdb90d71e89d7e813a77b768ff101551290f7b567b67
DIST Popcorn-Time-0.3.10-Linux-64.tar.xz 63421856 SHA256 b7f789c2e2f3b0f7e3408a437080404f8a2aa7ce4a41858cf891b02cda8c37a5 SHA512 0fe3c1be064231134eacfb0be74266361ba5d521f0cda2848cad5357fe03d6603284e80ed3bdacdf0a012b415949b9603ff3dcf95b03693e2f7704d500ee9516 WHIRLPOOL 7e23dfe69916471c6d8abd87d99acba085a6db8415f90515c988799eb702d5d33a0bf616666b7a93570c0444b4e0d496c328fce756b5809c646b5b3380c32908
EBUILD popcorntime-bin-0.3.10.ebuild 1398 SHA256 dc3b737fa9e74acaddc3bf85e13c70f31faa2fbb9fd5f110cbded2ec9914e674 SHA512 c39d48e1b1e8741925f7c6c5fbf12b73e98bf1172c8d8d749c2a400404fd90328b5319e8b965c1fcbeaf1c9b6743fcece35af943dbc1fc5a8fe456e1d819df37 WHIRLPOOL 5b07fe7fd01d15b03c44c36f7f54b866ef1deff7e3b065f6230739e0b7f0650c14a00a9e33b75ade49608d8ce8e4bfe0c52ba58873acc0a354ba7816229a2fc3

View File

@ -0,0 +1,53 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
inherit eutils fdo-mime multilib
DESCRIPTION="Watch Movies and TV Shows instantly"
HOMEPAGE="https://popcorntime.sh/"
SRC_URI="amd64? ( https://get.popcorntime.sh/build/Popcorn-Time-0.3.10-Linux-64.tar.xz )"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="splitdebug strip"
DEPEND=""
RDEPEND="dev-libs/nss
gnome-base/gconf
media-fonts/corefonts
media-libs/alsa-lib
x11-libs/gtk+:2"
S="${WORKDIR}"
src_install() {
exeinto /opt/${PN}
doexe Popcorn-Time
insinto /opt/${PN}
doins -r src node_modules icudtl.dat locales LICENSE.txt lib nw_100_percent.pak nw_200_percent.pak package.json resources.pak snapshot_blob.bin pnacl CHANGELOG.md chromedriver credits.html minidump_stackwalk nacl_helper nacl_helper_bootstrap nacl_irt_x86_64.nexe natives_blob.bin nwjc payload README.md
dosym /$(get_libdir)/libudev.so.1 /opt/${PN}/libudev.so.0
dosym /opt/${PN}/Popcorn-Time /usr/bin/${PN}
make_wrapper ${PN} ./Popcorn-Time /opt/${PN} /opt/bin
insinto /usr/share/applications
doins "${FILESDIR}"/${PN}.desktop
insinto /usr/share/pixmaps
doins "${FILESDIR}"/${PN}.png
}
pkg_postinst() {
fdo-mime_desktop_database_update
elog "${PN} ${PV} installed successfully in your system"
}
pkg_postrm() {
fdo-mime_desktop_database_update
}