diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-12 15:00:11 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-12 15:00:11 +0000 |
commit | e4384cc591bf85ba94fc57a9bd50c5303b77618e (patch) | |
tree | 806ee47f628399e9d174a85b625e4a37c62cedfe /media-sound/alsaplayer | |
parent | security stabling (diff) | |
download | gentoo-2-e4384cc591bf85ba94fc57a9bd50c5303b77618e.tar.gz gentoo-2-e4384cc591bf85ba94fc57a9bd50c5303b77618e.tar.bz2 gentoo-2-e4384cc591bf85ba94fc57a9bd50c5303b77618e.zip |
applied a cleanup patch which was suggested by Diego Pettenò <dgp85@users.sourceforge.net>. Fixes #82744
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-sound/alsaplayer')
-rw-r--r-- | media-sound/alsaplayer/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/alsaplayer/alsaplayer-0.99.76-r1.ebuild | 82 | ||||
-rw-r--r-- | media-sound/alsaplayer/files/digest-alsaplayer-0.99.76-r1 | 1 |
3 files changed, 91 insertions, 1 deletions
diff --git a/media-sound/alsaplayer/ChangeLog b/media-sound/alsaplayer/ChangeLog index f0faf0d0976f..83c9c2bd7b66 100644 --- a/media-sound/alsaplayer/ChangeLog +++ b/media-sound/alsaplayer/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/alsaplayer # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/ChangeLog,v 1.30 2005/03/06 02:00:06 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/ChangeLog,v 1.31 2005/03/12 15:00:11 luckyduck Exp $ + +*alsaplayer-0.99.76-r1 (12 Mar 2005) + + 12 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> + +alsaplayer-0.99.76-r1.ebuild: + applied a cleanup patch which was suggested by Diego Pettenò + <dgp85@users.sourceforge.net>. Fixes #82744 06 Mar 2005; Joseph Jezak <josejx@gentoo.org> +files/alsaplayer-endian.patch, alsaplayer-0.99.76.ebuild: diff --git a/media-sound/alsaplayer/alsaplayer-0.99.76-r1.ebuild b/media-sound/alsaplayer/alsaplayer-0.99.76-r1.ebuild new file mode 100644 index 000000000000..d1d1a05b8b8a --- /dev/null +++ b/media-sound/alsaplayer/alsaplayer-0.99.76-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsaplayer/alsaplayer-0.99.76-r1.ebuild,v 1.1 2005/03/12 15:00:11 luckyduck Exp $ + +inherit eutils + +IUSE="nas nls esd opengl doc oss gtk oggvorbis alsa jack mikmod flac" + +DESCRIPTION="Media player primarily utilising ALSA" +HOMEPAGE="http://www.alsaplayer.org/" +SRC_URI="http://www.alsaplayer.org/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~mips" + +RDEPEND=">=dev-libs/glib-1.2.10 + esd? ( media-sound/esound ) + gtk? ( =x11-libs/gtk+-1* ) + nas? ( media-libs/nas ) + alsa? ( media-libs/alsa-lib ) + jack? ( >=media-sound/jack-audio-connection-kit-0.80.0 ) + flac? ( media-libs/flac ) + mikmod? ( >=media-libs/libmikmod-3.1.10 ) + opengl? ( virtual/opengl ) + vorbis? ( media-libs/libvorbis ) + ogg? ( media-libs/libogg ) + xosd? ( x11-libs/xosd )" + +DEPEND="${RDEPEND} + sys-apps/sed + doc? ( app-doc/doxygen ) + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd ${S} + if use ppc; then + epatch ${FILESDIR}/alsaplayer-endian.patch + fi +} + +src_compile() { + use xosd || + export ac_cv_lib_xosd_xosd_create="no" + + use doc || + export ac_cv_prog_HAVE_DOXYGEN="false" + + if ! use ogg && use vorbis; then + die "To enable vorbis you must enable also ogg." + fi + + if use ogg && use flac; then + myconf="${myconf} --enable-oggflac" + fi + + econf \ + $(use_enable oss) \ + $(use_enable nas) \ + $(use_enable opengl) \ + $(use_enable nls) \ + $(use_enable sparc) \ + $(use_enable vorbis oggvorbis) \ + $(use_enable esd) \ + $(use_enable gtk) \ + $(use_enable jack) \ + $(use_enable mikmod) \ + $(use_enable flac) \ + ${myconf} \ + --disable-sgi --disable-dependency-tracking || die "./configure failed" + + emake || die "make failed" +} + +src_install() { + make DESTDIR=${D} docdir=${D}/usr/share/doc/${PF} install \ + || die "make install failed" + + dodoc AUTHORS COPYING ChangeLog README TODO + dodoc docs/wishlist.txt +} diff --git a/media-sound/alsaplayer/files/digest-alsaplayer-0.99.76-r1 b/media-sound/alsaplayer/files/digest-alsaplayer-0.99.76-r1 new file mode 100644 index 000000000000..8996d7c6af64 --- /dev/null +++ b/media-sound/alsaplayer/files/digest-alsaplayer-0.99.76-r1 @@ -0,0 +1 @@ +MD5 a5566c15dbae1f5c86a08482eb405725 alsaplayer-0.99.76.tar.bz2 608591 |