You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1004 B
39 lines
1004 B
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-emacs/mpg123-el/mpg123-el-1.59.ebuild,v 1.1 2014/02/20 18:25:35 ulm Exp $
|
|
|
|
EAPI=5
|
|
|
|
inherit elisp toolchain-funcs
|
|
|
|
DESCRIPTION="Emacs front-end to mpg123 audio player and OggVorbis audio player"
|
|
HOMEPAGE="http://www.gentei.org/~yuuji/software/mpg123el/"
|
|
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
|
|
|
LICENSE="mpg123-el"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~ppc ~x86"
|
|
IUSE="vorbis"
|
|
|
|
RDEPEND="media-sound/mpg123
|
|
media-sound/alsa-utils
|
|
vorbis? ( media-sound/vorbis-tools )"
|
|
|
|
SITEFILE="50${PN}-gentoo.el"
|
|
|
|
src_prepare() {
|
|
sed -i -e "s/\(mainloop:\)/\1 ;/" tagput.c || die
|
|
}
|
|
|
|
src_compile() {
|
|
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o tagput tagput.c || die
|
|
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o id3put id3put.c || die
|
|
elisp-compile *.el
|
|
}
|
|
|
|
src_install() {
|
|
dobin tagput id3put
|
|
elisp-install ${PN} *.el *.elc
|
|
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
|
}
|