aboutsummaryrefslogtreecommitdiff
blob: 2b4e1cb5f3b5b170a579be5fe35dc401ea3c42ce (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
44
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2
inherit eutils flag-o-matic multilib

MY_P=${PN/-/_}-${PV}

DESCRIPTION=""
HOMEPAGE="http://raop-play.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-libs/openssl
	media-libs/libid3tag
	media-libs/libsamplerate
	x11-libs/fltk"
DEPEND="${RDEPEND}
	dev-libs/glib:2"

S=${WORKDIR}/${MY_P}

src_prepare() {
	epatch "${FILESDIR}"/${P}-gcc44.patch
	sed -i \
		-e 's:$(CXX) -o:$(CXX) $(LDFLAGS) $(CXXFLAGS) -o:' \
		aexcl/Makefile.in || die
}

src_configure() {
	append-cxxflags "-I/usr/include/fltk-1.1"
	append-ldflags "-L/usr/$(get_libdir)/fltk-1.1"
	econf
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc CHANGELOG README
}