summaryrefslogtreecommitdiff
path: root/media-tv/popcorntime
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/popcorntime')
-rw-r--r--media-tv/popcorntime/Manifest2
-rw-r--r--media-tv/popcorntime/files/popcorntime.desktop8
-rw-r--r--media-tv/popcorntime/files/popcorntime.pngbin0 -> 81183 bytes
-rw-r--r--media-tv/popcorntime/metadata.xml8
-rw-r--r--media-tv/popcorntime/popcorntime-0.3.5.ebuild49
5 files changed, 67 insertions, 0 deletions
diff --git a/media-tv/popcorntime/Manifest b/media-tv/popcorntime/Manifest
new file mode 100644
index 00000000..bbd03c58
--- /dev/null
+++ b/media-tv/popcorntime/Manifest
@@ -0,0 +1,2 @@
+DIST Popcorn-Time-0.3.5-Linux32.tar.xz 34865552 SHA256 559bb4b14bcf583f6c3c33abfe302c792f8607b0d829fcbd8037059ff9fba7ff SHA512 68158c40520fbd696192fa1a8d81607eb29c82f2e2940f0fa42c76bb0d304b22fec8b395096d826f15f222b33c245eebd01d5c69d8baedcc2353c12cf949cf37 WHIRLPOOL d15edf469f5fd4c22a4a534736d3d4d870ef17cdcc17b60026c6c5cff18e7f5e8dfa8a00f836b15bda3c2f58cea6448f2ad645f29ab51df44648c55dbbafdbe3
+DIST Popcorn-Time-0.3.5-Linux64.tar.xz 36075284 SHA256 b6c9237bacd434c206177312efa4eb6ac3c432d824a49d5b82538400b92fdb3c SHA512 88d4b97bd22c756c8240eb4dae30930db038d50510ade53729760e3d32dbcd1e6ee3c760e22570bea4307a3be38e12a34fc31009f9aeec276e57506a7b73d7c2 WHIRLPOOL 7faf0658f710e46215647e4d28fe74a2199a6354a2e94fb4abb89da815f5386c9d440ea78c4e3bff728391e1a74832e28638d7f9d54e9e9f2c00328ad8bdd41c
diff --git a/media-tv/popcorntime/files/popcorntime.desktop b/media-tv/popcorntime/files/popcorntime.desktop
new file mode 100644
index 00000000..770d7018
--- /dev/null
+++ b/media-tv/popcorntime/files/popcorntime.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Popcorn Time
+Comment=Watch torrent movies instantly
+Exec=popcorntime-bin %U
+Icon=popcorntime-bin
+Terminal=false
+Type=Application
+Categories=Player;AudioVideo;Video;Network;
diff --git a/media-tv/popcorntime/files/popcorntime.png b/media-tv/popcorntime/files/popcorntime.png
new file mode 100644
index 00000000..3ea50108
--- /dev/null
+++ b/media-tv/popcorntime/files/popcorntime.png
Binary files differ
diff --git a/media-tv/popcorntime/metadata.xml b/media-tv/popcorntime/metadata.xml
new file mode 100644
index 00000000..c3909dc0
--- /dev/null
+++ b/media-tv/popcorntime/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>
+ <email>kolokithas.b@gmail.com</email>
+ <name>Bill Kolokithas</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-tv/popcorntime/popcorntime-0.3.5.ebuild b/media-tv/popcorntime/popcorntime-0.3.5.ebuild
new file mode 100644
index 00000000..5bc8a745
--- /dev/null
+++ b/media-tv/popcorntime/popcorntime-0.3.5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils fdo-mime multilib
+
+DESCRIPTION="Watch torrent movies instantly"
+HOMEPAGE="http://popcorn.cdnjd.com/"
+SRC_URI="x86? ( http://cdn.popcorntime.io/build/Popcorn-Time-${PV}-Linux32.tar.xz )
+ amd64? ( http://cdn.popcorntime.io/build/Popcorn-Time-${PV}-Linux64.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 libffmpegsumo.so nw.pak
+
+ dosym /usr/$(get_libdir)/libudev.so.1 /opt/${PN}/libudev.so.0
+ make_wrapper ${PN} ./Popcorn-Time /opt/${PN} /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
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}