app-emacs/emms: bump to 20.1

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2024-07-12 14:22:06 +02:00
parent 6b675c03cc
commit 5cb26660d5
2 changed files with 55 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST emms-20.1.tar.gz 271638 BLAKE2B bfeb270189679b1abdf9030a2fb1fd0774b14af3a678a8fd417e364cebd810bb6008eb8568271ac295aa8f61a03446c525138a1f3c7568c9d40a97288e77397b SHA512 c8aa70194bbd1ba85564122d11d3af425c69585becda9d4ae694ac1e75b4f6886a24afb6cec00547d7abe69a8bc729cd4061d89bdce9f37129c6f7671f6b0607
DIST emms-20.tar.gz 271008 BLAKE2B e90d9da9f1ffb7b984f095c3b8a2f076c913f44e415cc395362187c65abedd3e8b4cbbeecff5b231ea913716f6644c7909b318862262b9020bbb4933c2364e60 SHA512 f2ab8b8a6cf3d10f19c217bbd1dc6dd9e9230e73eeb7046479a920c72b6d4b6196c3d919419b9f5d2ed3dab834c491d71e810f3d0da09ac3f11c9fd8eed785c0

View File

@@ -0,0 +1,54 @@
# 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
"
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.
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
}