diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/mpfc/mpfc-1.3.8.1-r2.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/mpfc/mpfc-1.3.8.1-r2.ebuild')
-rw-r--r-- | media-sound/mpfc/mpfc-1.3.8.1-r2.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/media-sound/mpfc/mpfc-1.3.8.1-r2.ebuild b/media-sound/mpfc/mpfc-1.3.8.1-r2.ebuild new file mode 100644 index 000000000000..45a4bd4c4cbb --- /dev/null +++ b/media-sound/mpfc/mpfc-1.3.8.1-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils + +DESCRIPTION="Music Player For Console" +HOMEPAGE="http://mpfc.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="alsa cdda flac gpm mad nls oss static-libs vorbis wav" + +RDEPEND="alsa? ( >=media-libs/alsa-lib-0.9.0 ) + flac? ( media-libs/flac ) + gpm? ( >=sys-libs/gpm-1.19.3 ) + mad? ( media-libs/libmad ) + vorbis? ( media-libs/libvorbis ) + sys-libs/ncurses:0=[unicode] + dev-libs/icu:=" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-fix-underlinking.patch" + "${FILESDIR}/${P}-qa-implicit-declarations.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable alsa) \ + $(use_enable cdda audiocd) \ + $(use_enable flac) \ + $(use_enable gpm) \ + $(use_enable mad mp3) \ + $(use_enable nls) \ + $(use_enable oss) \ + $(use_enable static-libs static) \ + $(use_enable vorbis ogg) \ + $(use_enable wav) +} + +src_install() { + default + + insinto /etc + doins mpfcrc + + prune_libtool_files --all +} |