summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-03-05 02:49:12 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-03-05 02:49:12 +0000
commitef256af54047b536db57c9d7652737cd784b5701 (patch)
tree55723f18c98e427e6f0253e95a332132928ab6ba /media-sound/bossogg
parentEbuild improvements. closes #42396. (diff)
downloadgentoo-2-ef256af54047b536db57c9d7652737cd784b5701.tar.gz
gentoo-2-ef256af54047b536db57c9d7652737cd784b5701.tar.bz2
gentoo-2-ef256af54047b536db57c9d7652737cd784b5701.zip
Bossogg Music Server sound server. Ebuild submitted by Ted Kulp <wishy@comcast.net> in bug #29387.
Diffstat (limited to 'media-sound/bossogg')
-rw-r--r--media-sound/bossogg/ChangeLog11
-rw-r--r--media-sound/bossogg/Manifest3
-rw-r--r--media-sound/bossogg/bossogg-0.13.5.ebuild58
-rw-r--r--media-sound/bossogg/files/bossogg.initd21
-rw-r--r--media-sound/bossogg/files/digest-bossogg-0.13.51
-rw-r--r--media-sound/bossogg/metadata.xml5
6 files changed, 99 insertions, 0 deletions
diff --git a/media-sound/bossogg/ChangeLog b/media-sound/bossogg/ChangeLog
new file mode 100644
index 000000000000..842b19aed28e
--- /dev/null
+++ b/media-sound/bossogg/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-sound/bossogg
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/bossogg/ChangeLog,v 1.1 2004/03/05 02:49:12 eradicator Exp $
+
+*bossogg-0.13.5 (04 Mar 2004)
+
+ 04 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ bossogg-0.13.5.ebuild, files/bossogg.initd:
+ Bossogg Music Server sound server. Ebuild submitted by Ted Kulp
+ <wishy@comcast.net> in bug #29387.
+
diff --git a/media-sound/bossogg/Manifest b/media-sound/bossogg/Manifest
new file mode 100644
index 000000000000..0e18fc9708b7
--- /dev/null
+++ b/media-sound/bossogg/Manifest
@@ -0,0 +1,3 @@
+MD5 5f1f6ba2e032e122f424f707df1a35d7 bossogg-0.13.5.ebuild 1074
+MD5 5744dec050eb39224fe02fcdd1e74bed files/digest-bossogg-0.13.5 66
+MD5 8a9d691f2fa54f64626613d8e88804f4 files/bossogg.initd 554
diff --git a/media-sound/bossogg/bossogg-0.13.5.ebuild b/media-sound/bossogg/bossogg-0.13.5.ebuild
new file mode 100644
index 000000000000..589d06ed1fa8
--- /dev/null
+++ b/media-sound/bossogg/bossogg-0.13.5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/bossogg/bossogg-0.13.5.ebuild,v 1.1 2004/03/05 02:49:12 eradicator Exp $
+
+IUSE="oggvorbis mad"
+
+DESCRIPTION="Bossogg Music Server"
+HOMEPAGE="http://bossogg.wishy.org"
+SRC_URI="mirror://sourceforge/bossogg/${P}.tar.gz"
+RESTRICT="nomirror"
+
+KEYWORDS="~x86 ~ppc"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND=">=media-libs/libao-0.8.3
+ oggvorbis? ( media-libs/libvorbis )
+ mad? ( media-sound/mad media-libs/id3lib )"
+
+RDEPEND="${DEPEND}
+ dev-python/pysqlite"
+
+src_compile() {
+ local myconf
+ myconf=""
+
+ use oggvorbis \
+ || myconf="${myconf} --disable-ogg --disable-oggtest \
+ --disable-vorbistest"
+ use mad || myconf="${myconf} --disable-mp3"
+
+ econf ${myconf} || die "could not configure"
+
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ # borks make DESTDIR=${D} install || die
+ einstall || die
+ dodoc README TODO INSTALL COPYING
+
+ exeinto /etc/init.d; newexe ${FILESDIR}/bossogg.initd bossogg
+}
+
+pkg_postinst() {
+ enewgroup bossogg
+ enewuser bossogg -1 /bin/bash /var/bossogg bossogg -G audio
+
+ if ! [ -d /var/bossogg ]; then
+ mkdir /var/bossogg
+ chown bossogg:bossogg /var/bossogg
+ fi
+
+ einfo "After running the /etc/init.d/bossogg service for the first"
+ einfo "time, /var/bossogg/.bossogg/bossogg.conf will be created."
+ einfo "Please edit this file and restart the service to setup."
+ einfo "the server."
+}
diff --git a/media-sound/bossogg/files/bossogg.initd b/media-sound/bossogg/files/bossogg.initd
new file mode 100644
index 000000000000..480fb4083de6
--- /dev/null
+++ b/media-sound/bossogg/files/bossogg.initd
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/media-sound/bossogg/files/bossogg.initd,v 1.1 2004/03/05 02:49:12 eradicator Exp $
+
+depend() {
+ after alsasound
+}
+
+start() {
+ ebegin "Starting Boss Ogg"
+ HOME="/var/bossogg" start-stop-daemon --chuid bossogg --quiet --start --exec /usr/bin/bossogg -- --pidfile /var/bossogg/bossogg.pid -d
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Boss Ogg"
+ start-stop-daemon --quiet --stop --pidfile /var/bossogg/bossogg.pid
+ rm -f /var/bossogg/bossogg.pid
+ eend $?
+}
diff --git a/media-sound/bossogg/files/digest-bossogg-0.13.5 b/media-sound/bossogg/files/digest-bossogg-0.13.5
new file mode 100644
index 000000000000..50e39bfebfdc
--- /dev/null
+++ b/media-sound/bossogg/files/digest-bossogg-0.13.5
@@ -0,0 +1 @@
+MD5 8ce79ef7c1aef04b2bcf9d7907967462 bossogg-0.13.5.tar.gz 333613
diff --git a/media-sound/bossogg/metadata.xml b/media-sound/bossogg/metadata.xml
new file mode 100644
index 000000000000..e1774e3d9ad7
--- /dev/null
+++ b/media-sound/bossogg/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+</pkgmetadata>