app-emacs/emms: bump to 24

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2025-10-17 11:37:48 +02:00
parent 30c4962bf7
commit 7a60f10dde
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 49 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST emms-23.tar.gz 310915 BLAKE2B 27f86e429f2173850041edfa8cdbfe3ae9c2c361c73808319e07cf0bf5ba5f5224410405513e82548f1d3b2c94bfa6eb53d6344bb44eaea0337a838b5b1725bc SHA512 54e55fa7e08acc9e070e37e219b250637fa7c0a3761e0fee9061f1ac41fbb586f71387fc112bcf849765f93a09e3006c24d9afaa2ef6a7647d9cc90035b37fe3
DIST emms-24.tar.gz 311248 BLAKE2B eacaadabcd36e3195ba8d5536bfb4340f5e9c864d7b333b79ac67bf26362598d3c519554246f2b9249859141c5d0e2ac884318b0452a625c9d5d62af044eed2a SHA512 3e04bb947f4783cb6cfc3245036033f90e5c7a391876735b7756d641d0d4502016dc81c26d9c7a40fc6392630b8518ab7d7e8fec0a4e9634fbcfb7db5415d676

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
}