blob: 8bb0efb79002b9f004ecfd1a3a0b684c72e5571e (
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
37
38
39
40
41
42
43
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/kstreamripper/kstreamripper-0.3.4.ebuild,v 1.10 2009/05/29 14:54:40 ssuominen Exp $
ARTS_REQUIRED=never
inherit eutils kde
DESCRIPTION="KStreamripper - a nice KDE3 frontend to media-sound/streamripper"
HOMEPAGE="http://kstreamripper.tuxipuxi.org/"
# Portage isn't capable to get along with this url.
# SRC_URI="http://www.tuxipuxi.org/?download=${P}.tar.bz2"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ~ppc ppc64 sparc x86"
IUSE=""
RDEPEND=">=media-sound/streamripper-1.32-r2"
DEPEND="${RDEPEND}
>=dev-util/scons-0.96.1"
need-kde 3.2
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-desktop-entry.patch
}
src_compile() {
local myconf="kdeincludes=$(kde-config --prefix)/include prefix=/usr"
use amd64 && myconf="${myconf} libsuffix=64"
unset CFLAGS # freaking scons is passing CFLAGS into g++
scons configure ${myconf} || die "scons configure failed."
scons || die "scons failed."
}
src_install() {
DESTDIR="${D}" scons install || die "scons install failed"
dodoc AUTHORS ChangeLog NEWS README TODO
newicon src/hi32-app-${PN}.png ${PN}.png
domenu src/${PN}.desktop
}
|