| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg321/mpg321-0.3.0.ebuild,v 1.2 2012/01/03 20:58:19 ssuominen Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
inherit autotools eutils
|
| 7 |
|
| 8 |
DESCRIPTION="A realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3"
|
| 9 |
HOMEPAGE="http://mpg321.sourceforge.net/"
|
| 10 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
| 11 |
|
| 12 |
LICENSE="GPL-2"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
| 15 |
IUSE="ipv6"
|
| 16 |
|
| 17 |
RDEPEND=">=media-libs/libao-1
|
| 18 |
media-libs/libid3tag
|
| 19 |
media-libs/libmad
|
| 20 |
sys-libs/zlib"
|
| 21 |
DEPEND="${RDEPEND}"
|
| 22 |
|
| 23 |
S=${WORKDIR}/${P}-orig
|
| 24 |
|
| 25 |
DOCS="AUTHORS BUGS HACKING README* THANKS TODO" # NEWS and ChangeLog are dead
|
| 26 |
|
| 27 |
src_prepare() {
|
| 28 |
epatch "${FILESDIR}"/${PN}-0.2.12-check-for-lround.patch
|
| 29 |
eautoreconf
|
| 30 |
}
|
| 31 |
|
| 32 |
src_configure() {
|
| 33 |
econf \
|
| 34 |
--disable-mpg123-symlink \
|
| 35 |
$(use_enable ipv6)
|
| 36 |
}
|