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

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
}