summaryrefslogtreecommitdiff
blob: 5d59f890df1390fc0e9f9be431b014084113b5a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/soulseek-qt/soulseek-qt-20130212.ebuild,v 1.1 2013/02/26 13:10:34 zx2c4 Exp $

EAPI=4

DESCRIPTION="Official binary Qt SoulSeek client."
HOMEPAGE="http://www.soulseekqt.net/"
LICENSE="free-noncomm"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BINARY_NAME="SoulseekQt-${PV:0:4}-$((${PV:4:2}))-$((${PV:6:2}))"
BASE_URI="http://www.soulseekqt.net/SoulseekQT/Linux/${BINARY_NAME}"
IUSE=""
SRC_URI="
	x86? ( ${BASE_URI}.tgz )
	amd64? ( ${BASE_URI}-64bit.tgz )
	"
DEPEND=""
RDEPEND="
	x11-libs/qt-gui:4
	x11-libs/qt-core:4
	"
RESTRICT="mirror"
S="${WORKDIR}"

src_install() {
	exeinto /usr/bin
	use amd64 && BINARY_NAME="${BINARY_NAME}-64bit"
	newexe "${BINARY_NAME}" "${PN}"
}