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

EAPI=6

inherit cmake-utils git-r3

DESCRIPTION="multi room audio player"
HOMEPAGE="http://muroa.org"
EGIT_REPO_URI="https://github.com/martinrunge/muroa.git"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE=""

RDEPEND="dev-libs/boost
	dev-libs/jsoncpp
	dev-libs/libxdiff
	dev-libs/log4cplus
	media-libs/alsa-lib
	media-libs/libsamplerate
	virtual/ffmpeg
	net-dns/avahi"
DEPEND="${RDEPEND}"

PATCHES=(
	"${FILESDIR}"/${P}-includes.patch
	"${FILESDIR}"/${P}-namespace.patch
	"${FILESDIR}"/${P}-samplerate-const-float.patch
)

src_prepare() {
	default

	rm -r 3rdparty/libxdiff-0.23 || die
	sed -e "/DESTINATION/s:lib:$(get_libdir):" \
		-i lib{mcommons,mstream,muroadaemon,sock++}/CMakeLists.txt || die
}