1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit elisp toolchain-funcs
8 DESCRIPTION="The Emacs Multimedia System"
9 HOMEPAGE="https://www.gnu.org/software/emms/
10 https://www.emacswiki.org/emacs/EMMS"
11 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
13 LICENSE="GPL-3+ FDL-1.1+"
15 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
17 RDEPEND="media-libs/taglib"
20 # EMMS can use almost anything for playing media files therefore the dependency
21 # possibilities are so broad that we refrain from setting anything explicitly
24 SITEFILE="50${PN}-gentoo.el"
27 emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
28 all emms-print-metadata
32 elisp-install ${PN} lisp/*.{el,elc}
33 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
35 dobin src/emms-print-metadata
36 doman emms-print-metadata.1
37 dodoc AUTHORS ChangeLog NEWS README THANKGNU