commit:     14566299104608340d467faa4c8daab4b718f1c3
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 15 21:34:33 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Jul 15 21:34:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14566299

app-emacs/emms: bump to 23

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

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

diff --git a/app-emacs/emms/Manifest b/app-emacs/emms/Manifest
index 4a5e96d27808..0b9fc37c3893 100644
--- a/app-emacs/emms/Manifest
+++ b/app-emacs/emms/Manifest
@@ -1,2 +1,3 @@
 DIST emms-21.tar.gz 273567 BLAKE2B 
a972a5ec1cb795b299c1c54ad5b39cb0f8f5a8d1eff78b5efe75d145c21070e88441a6392610a75e7bbfbb956225360d364209ec8b07a143f87f68deb9de8a5d
 SHA512 
07607134b1b4a11ef1b441cebe2090291300e6c3ca923dfacf4ecb3159923dccc8b744fedcd2c944657aa2a1554ebd50f07548b3a0e13580c5e4c1db541874d5
 DIST emms-22.tar.gz 275592 BLAKE2B 
1d2f6b33ff5eb4eb47328f91c5e63a78a94fdc5a18c85850940cc25fd9099d507db6a2c091334d0b0816b3123a183ac8d4932642ad27481113186415dd22cd6b
 SHA512 
70ea8ed5801e2036137abdb6cb49c80b51e5678c75bf6fd5949c35e3c48fae9d50b593b737f44f70bf58723149faf9e74dc24811dd9c248504e701c217c9b79d
+DIST emms-23.tar.gz 310915 BLAKE2B 
27f86e429f2173850041edfa8cdbfe3ae9c2c361c73808319e07cf0bf5ba5f5224410405513e82548f1d3b2c94bfa6eb53d6344bb44eaea0337a838b5b1725bc
 SHA512 
54e55fa7e08acc9e070e37e219b250637fa7c0a3761e0fee9061f1ac41fbb586f71387fc112bcf849765f93a09e3006c24d9afaa2ef6a7647d9cc90035b37fe3

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