summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosu López Fernández <zamorate@zamorate.net>2006-07-05 23:40:42 +0000
committerJosu López Fernández <zamorate@zamorate.net>2006-07-05 23:40:42 +0000
commita6c0c57ab71f02e8ae323fa3c72870206c25b72e (patch)
tree10b2f3c7e3e40e658c020dc20c617aa38914fdb8 /net-p2p
parentnet-misc/vidalia: Fix typo: $(DEPEND) -> ${DEPEND} (diff)
downloadsunrise-a6c0c57ab71f02e8ae323fa3c72870206c25b72e.tar.gz
sunrise-a6c0c57ab71f02e8ae323fa3c72870206c25b72e.tar.bz2
sunrise-a6c0c57ab71f02e8ae323fa3c72870206c25b72e.zip
net-p2p/nicotine+: New ebuild for bug #139377
svn path=/sunrise/; revision=488
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/nicotine+/ChangeLog7
-rw-r--r--net-p2p/nicotine+/Manifest28
-rw-r--r--net-p2p/nicotine+/files/digest-nicotine+-1.2.23
-rw-r--r--net-p2p/nicotine+/files/nicotine+-fPIC.patch9
-rw-r--r--net-p2p/nicotine+/files/nicotine+.desktop9
-rw-r--r--net-p2p/nicotine+/files/nicotine-n.pngbin0 -> 6723 bytes
-rw-r--r--net-p2p/nicotine+/metadata.xml5
-rw-r--r--net-p2p/nicotine+/nicotine+-1.2.2.ebuild52
8 files changed, 113 insertions, 0 deletions
diff --git a/net-p2p/nicotine+/ChangeLog b/net-p2p/nicotine+/ChangeLog
new file mode 100644
index 000000000..750ebc096
--- /dev/null
+++ b/net-p2p/nicotine+/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for net-p2p/nicotine+
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 05 Jul 2006; Josu López Fernández <zamorate@zamorate.net> ChangeLog:
+ New ebuild for bug #139377
+
diff --git a/net-p2p/nicotine+/Manifest b/net-p2p/nicotine+/Manifest
new file mode 100644
index 000000000..66b43038b
--- /dev/null
+++ b/net-p2p/nicotine+/Manifest
@@ -0,0 +1,28 @@
+AUX nicotine+-fPIC.patch 467 RMD160 bd1b35aa174d4417c7d587244d2da7ae65611842 SHA1 3fda92f11cfc3376b0e531a487323d3770ee4835 SHA256 47afe00b053e07637312f503699469bd32f6d43754e95b5870294cd57d1036e5
+MD5 2e8c881e3dc054e74faaa2c30ea26ab5 files/nicotine+-fPIC.patch 467
+RMD160 bd1b35aa174d4417c7d587244d2da7ae65611842 files/nicotine+-fPIC.patch 467
+SHA256 47afe00b053e07637312f503699469bd32f6d43754e95b5870294cd57d1036e5 files/nicotine+-fPIC.patch 467
+AUX nicotine+.desktop 176 RMD160 5b5527b75cb96c2b4146cc19f9e74a4a3a56bfa6 SHA1 32749cf7b7dfc7e66c3d24a27be290c7ffd9ffb8 SHA256 66dd954eacc52a6bbe1ea6a7ef2fbbc6a973b9127d76891759b3625315f85491
+MD5 c480abc8a1ded5a696e66c9447c88e6b files/nicotine+.desktop 176
+RMD160 5b5527b75cb96c2b4146cc19f9e74a4a3a56bfa6 files/nicotine+.desktop 176
+SHA256 66dd954eacc52a6bbe1ea6a7ef2fbbc6a973b9127d76891759b3625315f85491 files/nicotine+.desktop 176
+AUX nicotine-n.png 6723 RMD160 b31a29f12b0652ba25070ffdb0f12e2f82bad2d0 SHA1 d88f8f2549cc8b38dc6390cefe675b26236d6622 SHA256 18f5380b571622b3fa1368ffeb44ad98635a4087284dfc2cb62f75aa7c5a9420
+MD5 78b6c9a0f315f06a45fb52448ea77c26 files/nicotine-n.png 6723
+RMD160 b31a29f12b0652ba25070ffdb0f12e2f82bad2d0 files/nicotine-n.png 6723
+SHA256 18f5380b571622b3fa1368ffeb44ad98635a4087284dfc2cb62f75aa7c5a9420 files/nicotine-n.png 6723
+DIST nicotine+-1.2.2.tar.bz2 353922 RMD160 df2c7ccdd574db80cd7aabbc775e8af1c41fdf81 SHA1 971339a63a163f1b0865a1c92392e69b89d444b6 SHA256 b39dc51fa60a5c3ae9b7d6147c6446e0d9e6ef2507c5f1382604e48cd7595192
+EBUILD nicotine+-1.2.2.ebuild 1045 RMD160 734497032e68dc33b10926edceca7bb3068827f1 SHA1 0e54b64520d2199893c049bb1d1c50ecd78bb972 SHA256 f6fd0837ba0ec8229395f37050964a2a19a1d5f940bf9b8d4744585e9353efb6
+MD5 c47626df353f7266afa8e7d721c3bbd3 nicotine+-1.2.2.ebuild 1045
+RMD160 734497032e68dc33b10926edceca7bb3068827f1 nicotine+-1.2.2.ebuild 1045
+SHA256 f6fd0837ba0ec8229395f37050964a2a19a1d5f940bf9b8d4744585e9353efb6 nicotine+-1.2.2.ebuild 1045
+MISC ChangeLog 221 RMD160 7442737ff9102f463545d6b3248e7bd4095efa17 SHA1 218a09cc8f466f7478229854aa4fe8dc8c323071 SHA256 ad4fb64b1f85040f5fc7dd054b538e271adb3e8ea79412030d7161855001580c
+MD5 8f1fef478dd972ff3fede6d3c632ed07 ChangeLog 221
+RMD160 7442737ff9102f463545d6b3248e7bd4095efa17 ChangeLog 221
+SHA256 ad4fb64b1f85040f5fc7dd054b538e271adb3e8ea79412030d7161855001580c ChangeLog 221
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 d79642c6793db25d31ae1f81fa5dfc7d files/digest-nicotine+-1.2.2 250
+RMD160 ec1162b985360f5cb24d7688e75936d86fe8e188 files/digest-nicotine+-1.2.2 250
+SHA256 fbdcaedc056fc645adba92a35e150ee04646485b001417a6641a2b0531431491 files/digest-nicotine+-1.2.2 250
diff --git a/net-p2p/nicotine+/files/digest-nicotine+-1.2.2 b/net-p2p/nicotine+/files/digest-nicotine+-1.2.2
new file mode 100644
index 000000000..52bb99cea
--- /dev/null
+++ b/net-p2p/nicotine+/files/digest-nicotine+-1.2.2
@@ -0,0 +1,3 @@
+MD5 8d4f3f21d9f6a48ee41dbf588bf09d6d nicotine+-1.2.2.tar.bz2 353922
+RMD160 df2c7ccdd574db80cd7aabbc775e8af1c41fdf81 nicotine+-1.2.2.tar.bz2 353922
+SHA256 b39dc51fa60a5c3ae9b7d6147c6446e0d9e6ef2507c5f1382604e48cd7595192 nicotine+-1.2.2.tar.bz2 353922
diff --git a/net-p2p/nicotine+/files/nicotine+-fPIC.patch b/net-p2p/nicotine+/files/nicotine+-fPIC.patch
new file mode 100644
index 000000000..ea11a554d
--- /dev/null
+++ b/net-p2p/nicotine+/files/nicotine+-fPIC.patch
@@ -0,0 +1,9 @@
+--- trayicon/Makefile.in.orig 2006-07-06 00:28:59.000000000 +0200
++++ trayicon/Makefile.in 2006-07-06 00:29:09.000000000 +0200
+@@ -1,5 +1,5 @@
+ # Set the C flags to include the GTK+ and Python libraries
+-CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I@@PREFIX@@/include/python@@PY_VER@@/ -I.
++CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I@@PREFIX@@/include/python@@PY_VER@@/ -I. -fPIC
+ LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0`
+
+ all: trayicon.so
diff --git a/net-p2p/nicotine+/files/nicotine+.desktop b/net-p2p/nicotine+/files/nicotine+.desktop
new file mode 100644
index 000000000..3c7265c9f
--- /dev/null
+++ b/net-p2p/nicotine+/files/nicotine+.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Nicotine
+Comment=Nicotine SoulSeek Client
+Exec=nicotine
+Icon=nicotine-n.png
+Terminal=false
+Categories=Application;Network;
+Type=Application
diff --git a/net-p2p/nicotine+/files/nicotine-n.png b/net-p2p/nicotine+/files/nicotine-n.png
new file mode 100644
index 000000000..16817c3c5
--- /dev/null
+++ b/net-p2p/nicotine+/files/nicotine-n.png
Binary files differ
diff --git a/net-p2p/nicotine+/metadata.xml b/net-p2p/nicotine+/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/net-p2p/nicotine+/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/net-p2p/nicotine+/nicotine+-1.2.2.ebuild b/net-p2p/nicotine+/nicotine+-1.2.2.ebuild
new file mode 100644
index 000000000..d368a6dd8
--- /dev/null
+++ b/net-p2p/nicotine+/nicotine+-1.2.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit distutils eutils toolchain-funcs
+
+DESCRIPTION="A fork of nicotine, a Soulseek client in Python"
+HOMEPAGE="http://www.nicotine-plus.org"
+
+SRC_URI="http://thegraveyard.org/daelstorm/nicotine/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc"
+IUSE="vorbis geoip"
+
+RDEPEND="virtual/python
+ >=dev-python/pygtk-2
+ vorbis? ( >=dev-python/pyvorbis-1.4-r1
+ >=dev-python/pyogg-1 )
+ geoip? ( >=dev-python/geoip-python-0.2.0
+ >=dev-libs/geoip-1.2.1 )
+ !net-p2p/nicotine"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch ${FILESDIR}/${PN}-fPIC.patch
+}
+
+src_compile() {
+
+ distutils_src_compile
+
+ cd "${S}"/trayicon/
+ ./autogen.py
+ emake CC=$(tc-getCC) || die "emake failed"
+}
+
+src_install() {
+
+ distutils_src_install
+
+ cd "${S}"/trayicon/
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ doicon ${FILESDIR}/nicotine-n.png
+ domenu ${FILESDIR}/${PN}.desktop
+}