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