blob: f87220781e1ab43a5d355296c48479e9542f0fd6 (
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
32
33
34
35
36
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
DESCRIPTION="Official binary Qt SoulSeek client"
HOMEPAGE="http://www.soulseekqt.net/"
BINARY_NAME="SoulseekQt-${PV:0:4}-$((${PV:4:2}))-$((${PV:6:2}))"
BASE_URI="http://www.soulseekqt.net/SoulseekQT/Linux/${BINARY_NAME}"
SRC_URI="
x86? ( ${BASE_URI}.tgz )
amd64? ( ${BASE_URI}-64bit.tgz )
"
LICENSE="free-noncomm"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="
dev-qt/qtgui:4
dev-qt/qtcore:4"
S="${WORKDIR}"
RESTRICT="mirror"
QA_PREBUILT="opt/bin/.*"
src_install() {
use amd64 && BINARY_NAME="${BINARY_NAME}-64bit"
into /opt
newbin "${BINARY_NAME}" "${PN}"
}
|