diff options
Diffstat (limited to 'media-sound/squeezeslave/squeezeslave-1.1_p365-r1.ebuild')
-rw-r--r-- | media-sound/squeezeslave/squeezeslave-1.1_p365-r1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/media-sound/squeezeslave/squeezeslave-1.1_p365-r1.ebuild b/media-sound/squeezeslave/squeezeslave-1.1_p365-r1.ebuild new file mode 100644 index 000000000000..ed461d0aba67 --- /dev/null +++ b/media-sound/squeezeslave/squeezeslave-1.1_p365-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils toolchain-funcs + +DESCRIPTION="A lightweight streaming audio player for Logitech Media Server" +HOMEPAGE="https://squeezeslave.googlecode.com" +SRC_URI="https://dev.gentoo.org/~radhermit/dist/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="aac +alsa display tremor wma zones" + +RDEPEND="media-libs/libmad + media-libs/flac + tremor? ( media-libs/tremor ) + !tremor? ( 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() { + epatch "${FILESDIR}"/${PN}-1.1_p350-tremor-headers.patch +} + +src_compile() { + tc-export CC AR RANLIB + + local myconf + for i in aac display tremor wma zones ; do + use $i && myconf+=" $i=1" + done + + emake ${myconf} +} + +src_install() { + dobin bin/${PN} + dodoc ChangeLog TODO + + newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN} + newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} +} |