app-emacs/emms: bump to 22

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-04-01 17:43:11 +02:00
parent 80e9521655
commit bd3643e7a7
2 changed files with 49 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST emms-21.tar.gz 273567 BLAKE2B a972a5ec1cb795b299c1c54ad5b39cb0f8f5a8d1eff78b5efe75d145c21070e88441a6392610a75e7bbfbb956225360d364209ec8b07a143f87f68deb9de8a5d SHA512 07607134b1b4a11ef1b441cebe2090291300e6c3ca923dfacf4ecb3159923dccc8b744fedcd2c944657aa2a1554ebd50f07548b3a0e13580c5e4c1db541874d5
DIST emms-22.tar.gz 275592 BLAKE2B 1d2f6b33ff5eb4eb47328f91c5e63a78a94fdc5a18c85850940cc25fd9099d507db6a2c091334d0b0816b3123a183ac8d4932642ad27481113186415dd22cd6b SHA512 70ea8ed5801e2036137abdb6cb49c80b51e5678c75bf6fd5949c35e3c48fae9d50b593b737f44f70bf58723149faf9e74dc24811dd9c248504e701c217c9b79d

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp toolchain-funcs
DESCRIPTION="The Emacs Multimedia System"
HOMEPAGE="https://www.gnu.org/software/emms/
https://www.emacswiki.org/emacs/EMMS"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emms.git"
else
SRC_URI="https://git.savannah.gnu.org/cgit/emms.git/snapshot/${P}.tar.gz"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
fi
LICENSE="GPL-3+ FDL-1.1+"
SLOT="0"
RDEPEND="media-libs/taglib:="
DEPEND="${RDEPEND}"
# EMMS can use almost anything for playing media files therefore the dependency
# possibilities are so broad that we refrain from setting anything explicitly
# in DEPEND/RDEPEND.
DOCS=( AUTHORS NEWS README )
SITEFILE="50${PN}-gentoo.el"
src_compile() {
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" all emms-print-metadata
}
src_install() {
elisp-install "${PN}" *.el *.elc
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
exeinto /usr/bin
doexe src/emms-print-metadata
doinfo doc/emms.info*
doman emms-print-metadata.1
einstalldocs
}