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.
38 lines
854 B
38 lines
854 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
DESCRIPTION="A command line source client for Icecast media streaming servers"
|
|
HOMEPAGE="https://www.icecast.org/ezstream/"
|
|
SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~x86"
|
|
IUSE="taglib"
|
|
|
|
COMMON_DEPEND="dev-libs/libxml2
|
|
>=media-libs/libshout-2.2
|
|
!taglib? ( media-libs/libvorbis )
|
|
taglib? ( media-libs/taglib )"
|
|
RDEPEND="${COMMON_DEPEND}
|
|
net-misc/icecast"
|
|
DEPEND="${COMMON_DEPEND}
|
|
virtual/pkgconfig"
|
|
|
|
src_configure() {
|
|
econf \
|
|
--enable-examplesdir='$(docdir)/examples' \
|
|
$(use_with taglib taglib "/usr")
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
|
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
|
|
|
rm -f "${D%/}"/usr/share/doc/${PF}/COPYING
|
|
}
|