commit:     7a60f10dde8b685f95db95e877756867a8e3f451
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 17 09:37:48 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Oct 17 10:55:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a60f10d

app-emacs/emms: bump to 24

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/emms/Manifest       |  1 +
 app-emacs/emms/emms-24.ebuild | 48 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/app-emacs/emms/Manifest b/app-emacs/emms/Manifest
index dee82b44958a..1c94de5f674b 100644
--- a/app-emacs/emms/Manifest
+++ b/app-emacs/emms/Manifest
@@ -1 +1,2 @@
 DIST emms-23.tar.gz 310915 BLAKE2B 
27f86e429f2173850041edfa8cdbfe3ae9c2c361c73808319e07cf0bf5ba5f5224410405513e82548f1d3b2c94bfa6eb53d6344bb44eaea0337a838b5b1725bc
 SHA512 
54e55fa7e08acc9e070e37e219b250637fa7c0a3761e0fee9061f1ac41fbb586f71387fc112bcf849765f93a09e3006c24d9afaa2ef6a7647d9cc90035b37fe3
+DIST emms-24.tar.gz 311248 BLAKE2B 
eacaadabcd36e3195ba8d5536bfb4340f5e9c864d7b333b79ac67bf26362598d3c519554246f2b9249859141c5d0e2ac884318b0452a625c9d5d62af044eed2a
 SHA512 
3e04bb947f4783cb6cfc3245036033f90e5c7a391876735b7756d641d0d4502016dc81c26d9c7a40fc6392630b8518ab7d7e8fec0a4e9634fbcfb7db5415d676

diff --git a/app-emacs/emms/emms-24.ebuild b/app-emacs/emms/emms-24.ebuild
new file mode 100644
index 000000000000..5eaa3f1a2cf5
--- /dev/null
+++ b/app-emacs/emms/emms-24.ebuild
@@ -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
+}

Reply via email to