mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-25 08:28:12 +02:00
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41919 Signed-off-by: Sam James <sam@gentoo.org>
38 lines
848 B
Bash
38 lines
848 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
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"
|
|
|
|
DEPEND="
|
|
dev-libs/libxml2:=
|
|
>=media-libs/libshout-2.2
|
|
!taglib? ( media-libs/libvorbis )
|
|
taglib? ( media-libs/taglib:= )"
|
|
RDEPEND="
|
|
${DEPEND}
|
|
net-misc/icecast"
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
src_configure() {
|
|
econf \
|
|
--enable-examplesdir='$(docdir)/examples' \
|
|
$(use_with taglib taglib "${ESYSROOT}"/usr)
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
|
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
|
|
|
rm -f "${ED}"/usr/share/doc/${PF}/COPYING || die
|
|
}
|