summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-09-02 16:59:23 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-09-02 16:59:23 +0000
commit8e28483decbf048056c451aa68f0f381633cfe38 (patch)
tree3f4bd7d900b611a72d707614cfb5ee9e43d0b7de /media-sound/bossogg
parentFix installation of files in /etc/init.d and /etc/conf.d, install documentati... (diff)
downloadhistorical-8e28483decbf048056c451aa68f0f381633cfe38.tar.gz
historical-8e28483decbf048056c451aa68f0f381633cfe38.tar.bz2
historical-8e28483decbf048056c451aa68f0f381633cfe38.zip
Cleanup of ebuild: use $( ) for use_enable, use eautoreconf to recreate autotools scripts, oggvorbis useflag is not vorbis, use [[ ]] for tests, bossogg user does not need a /bin/bash shell, fixed the dependency over sqlite and autoconf, use newinitd, don't install license and installation documentation. Added patch to compile on gcc4.
Package-Manager: portage-2.0.51.22
Diffstat (limited to 'media-sound/bossogg')
-rw-r--r--media-sound/bossogg/ChangeLog12
-rw-r--r--media-sound/bossogg/Manifest23
-rw-r--r--media-sound/bossogg/bossogg-0.13.6-r3.ebuild73
-rw-r--r--media-sound/bossogg/files/bossogg-0.13.6-gcc4.patch22
-rw-r--r--media-sound/bossogg/files/digest-bossogg-0.13.6-r31
5 files changed, 120 insertions, 11 deletions
diff --git a/media-sound/bossogg/ChangeLog b/media-sound/bossogg/ChangeLog
index d61c78dea853..28bf4bb87dbb 100644
--- a/media-sound/bossogg/ChangeLog
+++ b/media-sound/bossogg/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for media-sound/bossogg
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/bossogg/ChangeLog,v 1.14 2005/04/19 08:21:44 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/bossogg/ChangeLog,v 1.15 2005/09/02 16:59:23 flameeyes Exp $
+
+*bossogg-0.13.6-r3 (02 Sep 2005)
+
+ 02 Sep 2005; Diego Pettenò <flameeyes@gentoo.org>
+ +files/bossogg-0.13.6-gcc4.patch, +bossogg-0.13.6-r3.ebuild:
+ Cleanup of ebuild: use $( ) for use_enable, use eautoreconf to recreate
+ autotools scripts, oggvorbis useflag is not vorbis, use [[ ]] for tests,
+ bossogg user does not need a /bin/bash shell, fixed the dependency over
+ sqlite and autoconf, use newinitd, don't install license and installation
+ documentation. Added patch to compile on gcc4.
19 Apr 2005; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
Remove retired developer from metadata.xml.
diff --git a/media-sound/bossogg/Manifest b/media-sound/bossogg/Manifest
index c115ef041d74..778f5c22ea43 100644
--- a/media-sound/bossogg/Manifest
+++ b/media-sound/bossogg/Manifest
@@ -1,20 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+MD5 e48964d4141ecf442f2b95c94c0978fc ChangeLog 2393
+MD5 13480783902b99f5af06b9b5bca94811 bossogg-0.13.6-r3.ebuild 1690
+MD5 e9aabba20de2a31672373313f7ad09f2 bossogg-0.13.6-r2.ebuild 1759
MD5 ddee09ef6123f0b6949b3a669510a6dc bossogg-0.13.6.ebuild 1726
-MD5 e077d2bdff383e29b3de92dbbe97a3c6 ChangeLog 1891
-MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 04ccc279fd35eb44bd42a209b3eea969 bossogg-0.13.5.ebuild 1478
-MD5 e9aabba20de2a31672373313f7ad09f2 bossogg-0.13.6-r2.ebuild 1759
-MD5 3089685b6a78e3a1a57cd7315f1245b4 files/bossogg.initd 609
-MD5 ba402f47f5f8d4052e2c61b26b6ba547 files/digest-bossogg-0.13.6-r2 66
+MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 5744dec050eb39224fe02fcdd1e74bed files/digest-bossogg-0.13.5 66
-MD5 ba402f47f5f8d4052e2c61b26b6ba547 files/digest-bossogg-0.13.6 66
+MD5 986dd155135ce535ebc1b77485b6bd40 files/bossogg-0.13.6-gcc4.patch 1099
+MD5 ba402f47f5f8d4052e2c61b26b6ba547 files/digest-bossogg-0.13.6-r3 66
MD5 1258e23a47f430724dd4a6b18798641c files/bossogg-0.13.6-Makefile.patch 1673
+MD5 3089685b6a78e3a1a57cd7315f1245b4 files/bossogg.initd 609
+MD5 ba402f47f5f8d4052e2c61b26b6ba547 files/digest-bossogg-0.13.6 66
+MD5 ba402f47f5f8d4052e2c61b26b6ba547 files/digest-bossogg-0.13.6-r2 66
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFCZL+mKf2g/qXtneoRAtrxAJ9rdsvQZWBHXWkswXa1uqW8hs46+ACgi4FW
-l4iJBcmIoItNxXqRqylwwxM=
-=xbBf
+iD8DBQFDGIUNj5H05b2HAEkRAnw/AJ0RMTxFco9kMUUk1G4nLSQw04jIEQCeKKcL
+j5rxksVbsoLBGraHP5Y8kUc=
+=r87q
-----END PGP SIGNATURE-----
diff --git a/media-sound/bossogg/bossogg-0.13.6-r3.ebuild b/media-sound/bossogg/bossogg-0.13.6-r3.ebuild
new file mode 100644
index 000000000000..7bd5bbc257e9
--- /dev/null
+++ b/media-sound/bossogg/bossogg-0.13.6-r3.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/bossogg/bossogg-0.13.6-r3.ebuild,v 1.1 2005/09/02 16:59:23 flameeyes Exp $
+
+inherit eutils autotools
+
+IUSE="vorbis mad flac"
+
+DESCRIPTION="Bossogg Music Server"
+HOMEPAGE="http://bossogg.wishy.org"
+SRC_URI="mirror://sourceforge/bossogg/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~sparc ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND=">=media-libs/libao-0.8.3
+ media-libs/libshout
+ flac? ( media-libs/flac )
+ vorbis? ( media-libs/libvorbis )
+ mad? ( media-libs/libmad
+ media-libs/id3lib )
+ =dev-db/sqlite-2*"
+
+RDEPEND="${DEPEND}
+ dev-python/pysqlite"
+
+DEPEND="${DEPEND}
+ >=sys-devel/autoconf-2.5
+ =sys-devel/automake-1.7*"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-Makefile.patch
+ epatch ${FILESDIR}/${P}-gcc4.patch
+ touch NEWS AUTHORS
+
+ eautoreconf
+}
+
+src_compile() {
+ econf --enable-shout \
+ $(use_enable vorbis) \
+ $(use_enable flac) \
+ $(use_enable mad mp3) \
+ $(use_enable mad id3) || die "could not configure"
+
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc README TODO API
+
+ newinitd ${FILESDIR}/bossogg.initd bossogg
+}
+
+pkg_postinst() {
+ enewgroup bossogg
+ enewuser bossogg -1 -1 /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-0.13.6-gcc4.patch b/media-sound/bossogg/files/bossogg-0.13.6-gcc4.patch
new file mode 100644
index 000000000000..7daa1c53f677
--- /dev/null
+++ b/media-sound/bossogg/files/bossogg-0.13.6-gcc4.patch
@@ -0,0 +1,22 @@
+Index: bossogg-0.13.6/boss3/bossao/flac.c
+===================================================================
+--- bossogg-0.13.6.orig/boss3/bossao/flac.c
++++ bossogg-0.13.6/boss3/bossao/flac.c
+@@ -93,7 +93,7 @@ static void error_callback (const FLAC__
+ void *prepare_flac (song_s *song, char *filename)
+ {
+ //song->songlib->flac = malloc (sizeof (FLAC__FileDecoder));
+- (FLAC__FileDecoder *)song->songlib->flac = FLAC__file_decoder_new ();
++ song->songlib->flac = FLAC__file_decoder_new ();
+ FLAC__FileDecoder *decoder = (FLAC__FileDecoder *)song->songlib->flac;
+
+ /* callbacks here? */
+@@ -108,7 +108,7 @@ void *prepare_flac (song_s *song, char *
+ FLAC__SeekableStreamDecoderState state = FLAC__file_decoder_init (decoder);
+ //printf ("inited\n");
+ if (state != FLAC__FILE_DECODER_OK) {
+- printf ("Problem initizlizing FLAC file decoder: ", state);
++ printf ("Problem initizlizing FLAC file decoder: %d", state);
+ if (state == FLAC__FILE_DECODER_ALREADY_INITIALIZED)
+ printf ("already inited\n");
+ if (state == FLAC__FILE_DECODER_SEEKABLE_STREAM_DECODER_ERROR)
diff --git a/media-sound/bossogg/files/digest-bossogg-0.13.6-r3 b/media-sound/bossogg/files/digest-bossogg-0.13.6-r3
new file mode 100644
index 000000000000..20eba3e830e5
--- /dev/null
+++ b/media-sound/bossogg/files/digest-bossogg-0.13.6-r3
@@ -0,0 +1 @@
+MD5 cdb4708339bb2487549cf225a29ce889 bossogg-0.13.6.tar.gz 338025