summaryrefslogtreecommitdiff
path: root/net-p2p/tribler
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-p2p/tribler
reinit the tree, so we can have metadata
Diffstat (limited to 'net-p2p/tribler')
-rw-r--r--net-p2p/tribler/Manifest9
-rw-r--r--net-p2p/tribler/files/tribler-6.2.0-fix-desktop.patch12
-rw-r--r--net-p2p/tribler/files/tribler-log2homedir.patch12
-rw-r--r--net-p2p/tribler/metadata.xml18
-rw-r--r--net-p2p/tribler/tribler-6.3.3-r1.ebuild67
5 files changed, 118 insertions, 0 deletions
diff --git a/net-p2p/tribler/Manifest b/net-p2p/tribler/Manifest
new file mode 100644
index 000000000000..8bb070a78a9a
--- /dev/null
+++ b/net-p2p/tribler/Manifest
@@ -0,0 +1,9 @@
+AUX tribler-6.2.0-fix-desktop.patch 571 SHA256 827e8050ace201c5e33f037698fda5d385ce7188e44d49e4bc1210ef9f509352 SHA512 36d0c061dd31c1bd2a1d5ac7504ea2ceadc7ff202c4898f39071c836e305e182b28477087b9fff887f9ce3174aa9f050a64897f3bf10ebf3e42ab2fd433c7a5a WHIRLPOOL b0c5dc991ef21e503857c40a8c575921b0b887ab22e7b76982ebf797490c9c4fa13c2e01e0d650d4923d38c10a7de6442a8b0a4c254ed01e834798e2afd9cdcf
+AUX tribler-log2homedir.patch 495 SHA256 2eb5028822b3e50775804386d7ea233868f9a3b8b4c8e56b422f715c60f56f69 SHA512 d518cf8917c89ae6e9ae777230ff2c6914ef6c08390aac7ce599e25941a51bfad3a68f28123916948cfc64a34c3631ad4f82cac6448bc87006e4ee55a4b67137 WHIRLPOOL 1d5158c5b612d71df09c938b07bd74adf6f19b695eeef751939d5af3142b858a14b47b4bfb438c6716b3ed5cae16ec8557a3522fa2424b4f9c1d68293aeed4ff
+DIST tribler-swift_6.3.3_amd64.deb 3056230 SHA256 9453576d40312af1395821a49f72c3e87eea5d34ba6dd4d81bb3b60e88556f92 SHA512 590542a94981bcaf289955019b2c51d9e71bf915176a11f0dd8e8f68548137f8c503f9a08a0edee31116373e654cf4cc06b2a2d10d32ce4d12a24980ca6692aa WHIRLPOOL f320c075eca4b98593eafbfb4ea67935b169d6b04b953885941a74260138197233baf15c20b5b4277131082a9748eada1b416d18d75640f652724c2fffa45f8d
+DIST tribler-swift_6.3.3_i386.deb 3073730 SHA256 17d4b0e5c623a1bdde2c2fb3e5e201d32e5e022ed1f13cee7af5e11e96602982 SHA512 980481e694d1977b81ec5cd5e15f4adb971b87ea20b206c101fd80e045d9a48798d647d3a41d2ae23045805da55934ee77dfcb6f50f42ac1981a4c8ee39d20cb WHIRLPOOL 3917ced229360346482fcef62ec2cba57bb46f641c328d803f1ec8f73d2d6bad38ad84bf7c8d23bb521cd605425b68c90f870f9adf768a0bc6c645279dff682a
+DIST tribler_6.3.3_all.deb 1997346 SHA256 95f6cac8f5760229896bb66ee8e4d6b50939b7da4f1fb0c9a589a7617c456010 SHA512 afea5ef80c8dbc8da003997c8070116adf34334aceab91e258dfdddcfd7375238fc933866c655475ebdf347ac8ef4635716ec4ba1ad6bff6f638e804a4bbbf12 WHIRLPOOL 2b11404be050f81f6a8205edaa3c0c402a14148e5bf4e013ab7a95937f389a1a59b3ad44c1d237b1f431f5ceda5a26c48366bb4b78763ff52165ccf2de11d9d3
+EBUILD tribler-6.3.3-r1.ebuild 1758 SHA256 c3714291b960eefa82efb94264bd3c88fccaf374c09f2ed48cfa9dd5dd884539 SHA512 72a905d5459bb6b91a09b259499118fd0f4ac3d49e7e1a125e2ecdec776ad7e49eb32df235321d4ec200b4321429ee4d2a8ad5fb219df3eaf5f6904bf95e2ed1 WHIRLPOOL f793635ac03a0295e6f6ffaf69640a6e489acd06b3d16182683594110cfd78cece1503f529b0c69609db905429162d2cdfedce121703a9d70e6b60a49b410ca5
+MISC ChangeLog 2863 SHA256 9f71da338642a7f73b29d1982e476591cf7cfde0ed948fbfb9231af34640e991 SHA512 882bd43c4976e02141b4c3b61ad3629f4896ba6df78d22259e1ba3864c796d3f439bfde86390296ba5e248dff79b7e5f6be73f9cc88de72707d310cdef224eb8 WHIRLPOOL 477fd2b166ecfcdd685c07a4ed95a627327e9e25eb761cedcde2bdf7cd2801c2ff2daea5fe3c06fe0170de3da0229dd1099d0323ce031c47c8c892587d795a35
+MISC ChangeLog-2015 8406 SHA256 3ca88b54582881682089ccb1e22cbe950596fc18ac21aed5b25972eca82036d7 SHA512 0ca521b4c9c5696bf97bed2075bce68e5baeb9ba9c333546903360108bbe8b3b73a0382135a1d7730d74782ddb447da0e98dca1fd72e601414d844e6ad115912 WHIRLPOOL 61a2c3385414b79cc0d5040c04bd7936a7b12a8d422deff9fd8ef851f2578eb173ed8f32a4fc759ee107e11043e5ce4c2c53243dc4144de5a88d5335301adf3a
+MISC metadata.xml 550 SHA256 4c6f1c73ae58e3856f921b2ac09c77ab3e105b2fb7767ced4db9fbe0e1f78b79 SHA512 32d64b217a4397c60908cb5fd903886c4bffa504e47ec9000ea8b9a0e727a444295cf2cebea7d68814ca1caa14e52de8835d48524808c6a76e87a89f92f5d928 WHIRLPOOL 4c071ca7e7569259fc1a2e78abceb271db7088c32e18e01b4a629947a1c66a9fa25e8acc9f34b0a1db682db5e190f5eba6f8e75610edeb9931481b7cf6cf362f
diff --git a/net-p2p/tribler/files/tribler-6.2.0-fix-desktop.patch b/net-p2p/tribler/files/tribler-6.2.0-fix-desktop.patch
new file mode 100644
index 000000000000..23689bf2fb4d
--- /dev/null
+++ b/net-p2p/tribler/files/tribler-6.2.0-fix-desktop.patch
@@ -0,0 +1,12 @@
+diff -Naur usr.orig/share/applications/tribler.desktop usr/share/applications/tribler.desktop
+--- usr.orig/share/applications/tribler.desktop 2013-05-09 20:47:46.000000000 -0400
++++ usr/share/applications/tribler.desktop 2013-05-09 20:49:03.000000000 -0400
+@@ -5,5 +5,5 @@
+ Icon=tribler
+ Terminal=false
+ Type=Application
+-Categories=Application;Network;P2P
+-MimeType=x-scheme-handler/ppsp;x-scheme-handler/tswift;x-scheme-handler/magnet
+\ No newline at end of file
++Categories=Network;P2P;
++MimeType=x-scheme-handler/ppsp;x-scheme-handler/tswift;x-scheme-handler/magnet;
diff --git a/net-p2p/tribler/files/tribler-log2homedir.patch b/net-p2p/tribler/files/tribler-log2homedir.patch
new file mode 100644
index 000000000000..2f86c95ccf15
--- /dev/null
+++ b/net-p2p/tribler/files/tribler-log2homedir.patch
@@ -0,0 +1,12 @@
+diff -Naur usr.orig/bin/tribler usr/bin/tribler
+--- usr.orig/bin/tribler 2012-02-07 10:33:48.000000000 -0500
++++ usr/bin/tribler 2012-02-11 12:19:05.000000000 -0500
+@@ -6,5 +6,7 @@
+ export PYTHONPATH="$PYTHONPATH":$_TRIBLERPATH
+
+ echo "Starting Tribler..."
++STATEDIR="$HOME/.Tribler"
++[ ! -d $STATEDIR ] && mkdir -p $STATEDIR
+ cd $_TRIBLERPATH
+-exec python -O Tribler/Main/tribler.py "$@" > /tmp/$USER-tribler.log 2>&1
++exec python2 -O Tribler/Main/tribler.py "$@" > $STATEDIR/tribler.log 2>&1
diff --git a/net-p2p/tribler/metadata.xml b/net-p2p/tribler/metadata.xml
new file mode 100644
index 000000000000..295cd2132fa5
--- /dev/null
+++ b/net-p2p/tribler/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+ <longdescription>
+ Python based bittorrent client that does not require an external
+ website or indexing service to discover content.
+ </longdescription>
+ <use>
+ <flag name="vlc">Enable vlc support.</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">Tribler/tribler</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-p2p/tribler/tribler-6.3.3-r1.ebuild b/net-p2p/tribler/tribler-6.3.3-r1.ebuild
new file mode 100644
index 000000000000..930e4c6da40b
--- /dev/null
+++ b/net-p2p/tribler/tribler-6.3.3-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils unpacker
+
+DESCRIPTION="Bittorrent client that does not require a website to discover content"
+HOMEPAGE="http://www.tribler.org/"
+SRC_URI="
+ https://github.com/Tribler/tribler/releases/download/v${PV}/tribler_${PV}_all.deb
+ x86? ( https://github.com/Tribler/tribler/releases/download/v${PV}/tribler-swift_${PV}_i386.deb )
+ amd64? ( https://github.com/Tribler/tribler/releases/download/v${PV}/tribler-swift_${PV}_amd64.deb )"
+
+LICENSE="GPL-2 LGPL-2.1+ PSF-2.4 openssl wxWinLL-3.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="vlc"
+
+RDEPEND="
+ dev-lang/python:2.7[sqlite]
+ dev-python/apsw
+ dev-python/feedparser
+ dev-python/gmpy
+ dev-python/m2crypto
+ dev-python/netifaces
+ dev-python/pyasn1
+ dev-python/pycrypto
+ dev-python/twisted-core
+ dev-python/wxpython
+ dev-libs/openssl:0[-bindist]
+ net-libs/libtorrent-rasterbar[python]
+ vlc? (
+ media-video/vlc
+ media-video/ffmpeg:0
+ )"
+
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="/usr/lib/tribler/swift"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-log2homedir.patch"
+ epatch "${FILESDIR}/${PN}-6.2.0-fix-desktop.patch"
+}
+
+src_compile() { :; }
+
+src_install() {
+ #Remove the licenses scattered throughout
+ rm usr/share/doc/${PN}-swift/copyright # LGPL-2.1+
+ rm usr/share/doc/${PN}/copyright # LGPL-2.1+
+ rm usr/share/${PN}/Tribler/binary-LICENSE-postfix.txt # GPL-2 LGPL-2.1+ PSF-2.4 openssl wxWinLL-3.1
+
+ #Rename the doc dir properly
+ mv usr/share/doc/${PN}-swift usr/share/doc/${PN}
+ mv usr/share/doc/${PN} usr/share/doc/${P}
+
+ #Move the readme to the doc dir
+ mv usr/share/${PN}/Tribler/readme.txt usr/share/doc/${P}
+
+ #Copy the rest over
+ cp -pPR usr/ "${ED}"/
+}