summaryrefslogtreecommitdiff
blob: d8d2a4ee55570daf36f325c71b153ff049a85d77 (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit eutils

DESCRIPTION="Audio and video broadcast manager"
HOMEPAGE="http://www.somasuite.org/"
SRC_URI="http://www.somasuite.org/src/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ffmpeg"

DEPEND="
	dev-libs/openssl
	>=sys-libs/ncurses-5.0
	>=sys-libs/readline-5.0
	dev-libs/libxml2
	ffmpeg? ( virtual/ffmpeg )"
RDEPEND=${DEPEND}

src_prepare() {
	epatch "${FILESDIR}"/${P}-pid.patch
}

src_configure() {
	econf \
		$(use_enable ffmpeg)
}

pkg_postinst() {
	einfo " *** *** ***"
	einfo "If you can afford to donate us some money let us know, we also need"
	einfo "new and old working hardware."
	einfo " "
	einfo "you can send a mail to"
	einfo " "
	einfo " mail: soma@inventati.org"
	einfo "  or: bakunin@autistici.org"
	einfo " *** *** ***"
}