Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 176820

Summary: media-sound/soma-2.4.ebuild (New Package)
Product: Gentoo Linux Reporter: ZoD <zod>
Component: Current packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
URL: http://www.somasuite.org
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 176821    
Attachments: soma-2.4.ebuild (New Ebuild)
soma-2.4.ebuild (audited package)
soma-2.4-pid.patch (Put correct PID into pidfile)

Description ZoD 2007-05-02 14:51:23 UTC
Hi,

Somad is a broadcasts' manager, remote-controlled. It's based on two xml files, which deal with entire radio's program, including spots. Somad executes correct program, randomizing playlists, re-broadcasting previously played streaming or simply making silence.
Soma's suite has a manager which is intentionally concepted for spots, able to execute samples spaced by spots, according to time slots and daily replays. 

I suggest media-sound/soma
Comment 1 ZoD 2007-05-02 14:53:28 UTC
Created attachment 117956 [details]
soma-2.4.ebuild (New Ebuild)
Comment 2 ZoD 2007-05-07 08:27:13 UTC
Comment on attachment 117956 [details]
soma-2.4.ebuild (New Ebuild)

><HTML><HEAD/><BODY><PRE># Copyright 1999-2007 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
>inherit flag-o-matic eutils toolchain-funcs
>
>IUSE="ffmpeg"
>
>DESCRIPTION="Somad, SomaClient, SomaCheck, libSoma"
>HOMEPAGE="http://www.somasuite.org"
>SRC_URI="http://www.somasuite.org/src/${P}.tar.gz"
>
>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="amd64 x86"
>
>DEPEND="dev-libs/openssl
>&gt;=sys-libs/ncurses-5.0
>&gt;=sys-libs/readline-5.0
>dev-libs/libxml2"
>
>
>pkg_setup() {
>#	if use php; then
>#		myconf="${myconf} --enable-phpsoma"
>#	fi
>#	if use python; then
>#		myconf="${myconf} --enable-pysoma"
>#	fi
>	if use ffmpeg;then
>		myconf="${myconf} --enable-ffmpeg"
>	fi
>}
>src_compile() {
>	econf \
>		${myconf} \
>		|| die "econf failed"
>	emake || die "emake failed"
>}
>
>src_install () {
>	make DESTDIR="${D}" install || die "make install failed"
>	dodoc AUTHORS ChangeLog README README.module
>}
>
>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 " *** *** ***"
>}
></PRE></BODY></HTML>
Comment 3 ZoD 2007-05-07 08:31:58 UTC
Comment on attachment 117956 [details]
soma-2.4.ebuild (New Ebuild)

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

IUSE="ffmpeg"

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"

DEPEND="dev-libs/openssl
    >=sys-libs/ncurses-5.0
    >=sys-libs/readline-5.0
    dev-libs/libxml2
    ffmpeg? ( media-video/ffmpeg )"

RDEPEND=${DEPEND}

src_unpack() {
    unpack ${A}
    cd "${S}"

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

src_compile() {
    econf \
        $(use_enable ffmpeg) \
        || die "econf failed"
    emake || die "emake failed"
}

src_install () {
    emake DESTDIR="${D}" install || die "emake install failed"
    dodoc AUTHORS ChangeLog README README.module
}

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 " *** *** ***"
}
Comment 4 ZoD 2007-05-07 08:36:09 UTC
Created attachment 118408 [details]
soma-2.4.ebuild (audited package)
Comment 5 ZoD 2007-05-07 08:37:38 UTC
Created attachment 118409 [details, diff]
soma-2.4-pid.patch (Put correct PID into pidfile)
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2011-04-30 15:56:33 UTC
# Justin Lecher <jlec@gentoo.org> (30 Apr 2011)
# Unable to find sources
# upstream inactive since 2007
# Removal in 30 days.
media-sound/soma
media-sound/somax