You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/daudio/daudio-0.3-r1.ebuild

45 lines
946 B

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="Distributed audio on the local network"
HOMEPAGE="http://daudio.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
#-sparc: 0.3: static audio on local daemon. No audio when client connects to amd64 daemon
KEYWORDS="amd64 ~ppc -sparc x86"
IUSE=""
DEPEND=">=media-libs/libmad-0.15.0b-r1"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${P}-makefile.patch"
"${FILESDIR}/${P}-qa-implicit-declarations.patch"
)
src_prepare() {
# fix #570582 by restoring pre-GCC5 inline semantics
append-cflags -std=gnu89
tc-export CC
default
}
src_compile() {
emake -C client
emake -C server
emake -C streamer
}
src_install() {
dobin client/daudioc server/daudiod streamer/dstreamer
newinitd "${FILESDIR}"/daudio.rc daudio
dodoc doc/*
}