/[gentoo-x86]/net-p2p/nicotine+/nicotine+-1.2.16-r1.ebuild
Gentoo

Contents of /net-p2p/nicotine+/nicotine+-1.2.16-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Mar 26 23:58:39 2015 UTC (4 years, 7 months ago) by idella4
Branch: MAIN
CVS Tags: HEAD
revbump; conversion -> distutils-r1, endorsed by maintainer in bug #543002

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-p2p/nicotine+/nicotine+-1.2.16.ebuild,v 1.8 2015/02/18 19:08:02 rhill Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 )
8 DISTUTILS_SINGLE_IMPL=1
9
10 inherit distutils-r1
11
12 DESCRIPTION="A fork of nicotine, a Soulseek client in Python"
13 HOMEPAGE="http://nicotine-plus.sourceforge.net"
14 SRC_URI="mirror://sourceforge/nicotine-plus/${P}.tar.bz2"
15
16 LICENSE="GPL-3 LGPL-3"
17 SLOT="0"
18 KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
19 IUSE=""
20
21 RDEPEND=">=dev-python/pygtk-2.12[${PYTHON_USEDEP}]
22 gnome-base/librsvg"
23
24 DEPEND="${RDEPEND}"
25
26 pkg_setup() {
27 python-single-r1_pkg_setup
28 }
29
30 src_prepare() {
31 distutils-r1_src_prepare
32 sed -i -e 's:\(Icon=\).*:\1nicotine-plus-32px:' \
33 "${S}"/files/nicotine.desktop
34 }
35
36 src_install() {
37 distutils-r1_src_install
38 python_fix_shebang "${D}"
39 dosym nicotine.py /usr/bin/nicotine
40 }
41
42 pkg_postinst() {
43 echo
44 elog "You may want to install these packages to add additional features"
45 elog "to Nicotine+:"
46 elog
47 elog "dev-python/geoip-python Country lookup and flag display"
48 elog "media-libs/mutagen Media metadata extraction"
49 elog "net-libs/miniupnpc UPnP portmapping"
50 echo
51 }

  ViewVC Help
Powered by ViewVC 1.1.20