summaryrefslogtreecommitdiff
blob: c52c5560abf41fbb244509a2db47a9fb90ba679e (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
45
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"

DESCRIPTION="fre:ac Component Development Kit"
HOMEPAGE="https://www.freac.org/"
SRC_URI="https://freac.org/preview/${P}.tar.gz"

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

RDEPEND="
	dev-libs/expat
	dev-libs/libcdio
	dev-libs/libcdio-paranoia
	dev-libs/uriparser
	media-libs/alsa-lib
	media-libs/flac
	media-libs/libvorbis
	media-libs/libxspf
	media-libs/opus
	media-libs/speex
	sys-devel/gcc:*[cxx]
	sys-libs/zlib
	x11-libs/smooth
	"
DEPEND="${RDEPEND}"

src_compile() {
	local config=(
		systemlibexpat
		systemliburiparser
		systemlibxspf
		systemzlib
	)

	emake prefix=/usr config="${config[*]}"
}

src_install() {
	emake DESTDIR="${D}" prefix=/usr install
}