You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1002 B
41 lines
1002 B
2 years ago
|
# Copyright 1999-2022 Gentoo Authors
|
||
7 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
2 years ago
|
EAPI=8
|
||
7 years ago
|
|
||
|
inherit elisp toolchain-funcs
|
||
|
|
||
|
DESCRIPTION="The Emacs Multimedia System"
|
||
|
HOMEPAGE="https://www.gnu.org/software/emms/
|
||
|
https://www.emacswiki.org/emacs/EMMS"
|
||
2 years ago
|
SRC_URI="https://git.savannah.gnu.org/cgit/emms.git/snapshot/${P}.tar.gz"
|
||
7 years ago
|
|
||
|
LICENSE="GPL-3+ FDL-1.1+"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||
|
|
||
5 years ago
|
RDEPEND="media-libs/taglib"
|
||
2 years ago
|
BDEPEND="${RDEPEND}"
|
||
7 years ago
|
|
||
|
# 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() {
|
||
2 years ago
|
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" all emms-print-metadata
|
||
7 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
2 years ago
|
elisp-install ${PN} *.el *.elc
|
||
7 years ago
|
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||
2 years ago
|
|
||
|
exeinto /usr/bin
|
||
|
doexe src/emms-print-metadata
|
||
|
|
||
7 years ago
|
doinfo doc/emms.info*
|
||
|
doman emms-print-metadata.1
|
||
2 years ago
|
dodoc AUTHORS NEWS README THANKGNU
|
||
7 years ago
|
}
|