gentoo-ebuilds/app-emacs/mpg123-el/mpg123-el-1.65.ebuild
Arthur Zamarin 96091fc627
app-emacs/mpg123-el: Stabilize 1.65 x86, #948555
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-01-22 19:34:42 +02:00

33 lines
878 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp flag-o-matic toolchain-funcs
DESCRIPTION="Emacs front-end to mpg123 audio player and OggVorbis audio player"
HOMEPAGE="https://www.gentei.org/~yuuji/software/mpg123el/"
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
LICENSE="mpg123-el"
SLOT="0"
KEYWORDS="~amd64 ppc x86"
RDEPEND="media-sound/mpg123
media-sound/alsa-utils"
PATCHES=( "${FILESDIR}/${PN}-1.61-stdlib.patch" )
SITEFILE="50${PN}-gentoo.el"
src_compile() {
append-flags -std=gnu17
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o tagput tagput.c || die
$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${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}"
}