Browse Source

Add files via upload

master
KronoZed 2 years ago
parent
commit
5f429d9487

+ 4
- 0
media-tv/popcorntime-bin/Manifest View File

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

+ 53
- 0
media-tv/popcorntime-bin/popcorntime-bin-0.3.10.ebuild View File

@@ -0,0 +1,53 @@
1
+# Copyright 1999-2016 Gentoo Foundation
2
+# Distributed under the terms of the GNU General Public License v2
3
+# $Header: $
4
+
5
+EAPI=6
6
+
7
+inherit eutils fdo-mime multilib
8
+
9
+DESCRIPTION="Watch Movies and TV Shows instantly"
10
+HOMEPAGE="https://popcorntime.sh/"
11
+SRC_URI="amd64? ( https://get.popcorntime.sh/build/Popcorn-Time-0.3.10-Linux-64.tar.xz )"
12
+
13
+LICENSE="GPL-3"
14
+SLOT="0"
15
+KEYWORDS="~amd64 ~x86"
16
+IUSE=""
17
+RESTRICT="splitdebug strip"
18
+
19
+DEPEND=""
20
+RDEPEND="dev-libs/nss
21
+	gnome-base/gconf
22
+	media-fonts/corefonts
23
+	media-libs/alsa-lib
24
+	x11-libs/gtk+:2"
25
+
26
+S="${WORKDIR}"
27
+
28
+src_install() {
29
+	exeinto /opt/${PN}
30
+	doexe Popcorn-Time
31
+
32
+	insinto /opt/${PN}
33
+	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 
34
+    
35
+    dosym /$(get_libdir)/libudev.so.1 /opt/${PN}/libudev.so.0
36
+	dosym /opt/${PN}/Popcorn-Time /usr/bin/${PN}
37
+	make_wrapper ${PN} ./Popcorn-Time /opt/${PN} /opt/bin
38
+
39
+	insinto /usr/share/applications
40
+	doins "${FILESDIR}"/${PN}.desktop
41
+
42
+	insinto /usr/share/pixmaps
43
+	doins "${FILESDIR}"/${PN}.png
44
+}
45
+
46
+pkg_postinst() {
47
+	fdo-mime_desktop_database_update
48
+	elog "${PN} ${PV} installed successfully in your system"
49
+}
50
+
51
+pkg_postrm() {
52
+	fdo-mime_desktop_database_update
53
+}

Loading…
Cancel
Save