From 98c7fa9070b6b423d52dfb59567ec7ef0d5f234d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 23 Apr 2023 06:06:50 +0100 Subject: gentoo auto-resync : 23:04:2023 - 06:06:49 --- app-emacs/emms/emms-15.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 app-emacs/emms/emms-15.ebuild (limited to 'app-emacs/emms/emms-15.ebuild') diff --git a/app-emacs/emms/emms-15.ebuild b/app-emacs/emms/emms-15.ebuild new file mode 100644 index 000000000000..036de9427036 --- /dev/null +++ b/app-emacs/emms/emms-15.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 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" +SRC_URI="https://git.savannah.gnu.org/cgit/emms.git/snapshot/${P}.tar.gz" + +LICENSE="GPL-3+ FDL-1.1+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +RDEPEND="media-libs/taglib" +BDEPEND="${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. + +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 + dodoc AUTHORS NEWS README THANKGNU +} -- cgit v1.2.3