blob: 1ace4afc441b6eb28319fcfec73be21ed9e85990 (
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-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezeslave/squeezeslave-1.1_p312.ebuild,v 1.2 2012/05/05 08:52:05 mgorny Exp $
EAPI="4"
inherit eutils toolchain-funcs
DESCRIPTION="A lightweight streaming audio player for squeezeboxserver"
HOMEPAGE="http://squeezeslave.googlecode.com"
SRC_URI="http://dev.gentoo.org/~radhermit/distfiles/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="aac +alsa display wma zones"
RDEPEND="media-libs/libmad
media-libs/flac
media-libs/libvorbis
media-libs/libogg
media-libs/portaudio[alsa?]
aac? ( virtual/ffmpeg )
wma? ( virtual/ffmpeg )
display? ( app-misc/lirc )"
DEPEND="${RDEPEND}
app-arch/xz-utils
virtual/pkgconfig"
src_prepare() {
for i in display aac wma zones ; do
! use $i && sed -i -e "/$i/Id" Makefile
done
epatch "${FILESDIR}"/${PN}-1.1_p309-ffmpeg.patch
tc-export CC AR RANLIB
}
src_install() {
dobin bin/${PN}
dodoc ChangeLog TODO
newconfd "${FILESDIR}"/${PN}.confd ${PN}
newinitd "${FILESDIR}"/${PN}.initd ${PN}
}
|