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.
59 lines
1.0 KiB
59 lines
1.0 KiB
2 years ago
|
# Copyright 1999-2022 Gentoo Authors
|
||
10 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
2 years ago
|
EAPI=8
|
||
|
|
||
|
inherit autotools
|
||
10 years ago
|
|
||
|
DESCRIPTION="Icecast OGG streaming client, supports on the fly re-encoding"
|
||
3 years ago
|
HOMEPAGE="https://icecast.org/ices/"
|
||
10 years ago
|
SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
5 years ago
|
KEYWORDS="~alpha amd64 ~arm ppc64 sparc x86"
|
||
10 years ago
|
|
||
3 years ago
|
RDEPEND="
|
||
|
acct-group/ices
|
||
|
acct-user/ices
|
||
|
dev-libs/libxml2
|
||
2 years ago
|
media-libs/alsa-lib
|
||
|
media-libs/libogg
|
||
|
media-libs/libshout
|
||
|
media-libs/libvorbis"
|
||
3 years ago
|
DEPEND="${RDEPEND}"
|
||
|
BDEPEND="virtual/pkgconfig"
|
||
10 years ago
|
|
||
2 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}"/${P}-libogg-test.patch
|
||
|
"${FILESDIR}"/${P}-gettimeofday.patch
|
||
|
)
|
||
|
|
||
|
src_prepare() {
|
||
|
default
|
||
|
|
||
|
eautoreconf #740794,870973
|
||
|
}
|
||
|
|
||
10 years ago
|
src_configure() {
|
||
2 years ago
|
econf --sysconfdir="${EPREFIX}"/etc/ices2
|
||
10 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
2 years ago
|
|
||
10 years ago
|
insinto /etc/ices2
|
||
|
doins conf/*.xml
|
||
2 years ago
|
|
||
3 years ago
|
docinto html
|
||
|
dodoc doc/*.{html,css}
|
||
2 years ago
|
|
||
10 years ago
|
newinitd "${FILESDIR}"/ices.initd-r1 ices
|
||
2 years ago
|
|
||
10 years ago
|
keepdir /var/log/ices
|
||
|
fperms 660 /var/log/ices
|
||
|
fowners ices:ices /var/log/ices
|
||
2 years ago
|
|
||
|
rm -r "${ED}"/usr/share/ices || die
|
||
10 years ago
|
}
|