commit:     5cb26660d5e8b6ab7af846d7cdb0f11925f73e9c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 12 12:22:06 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Jul 12 12:35:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cb26660

app-emacs/emms: bump to 20.1

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

 app-emacs/emms/Manifest         |  1 +
 app-emacs/emms/emms-20.1.ebuild | 54 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/app-emacs/emms/Manifest b/app-emacs/emms/Manifest
index 8bd044fef8ad..eba612c84202 100644
--- a/app-emacs/emms/Manifest
+++ b/app-emacs/emms/Manifest
@@ -1 +1,2 @@
+DIST emms-20.1.tar.gz 271638 BLAKE2B 
bfeb270189679b1abdf9030a2fb1fd0774b14af3a678a8fd417e364cebd810bb6008eb8568271ac295aa8f61a03446c525138a1f3c7568c9d40a97288e77397b
 SHA512 
c8aa70194bbd1ba85564122d11d3af425c69585becda9d4ae694ac1e75b4f6886a24afb6cec00547d7abe69a8bc729cd4061d89bdce9f37129c6f7671f6b0607
 DIST emms-20.tar.gz 271008 BLAKE2B 
e90d9da9f1ffb7b984f095c3b8a2f076c913f44e415cc395362187c65abedd3e8b4cbbeecff5b231ea913716f6644c7909b318862262b9020bbb4933c2364e60
 SHA512 
f2ab8b8a6cf3d10f19c217bbd1dc6dd9e9230e73eeb7046479a920c72b6d4b6196c3d919419b9f5d2ed3dab834c491d71e810f3d0da09ac3f11c9fd8eed785c0

diff --git a/app-emacs/emms/emms-20.1.ebuild b/app-emacs/emms/emms-20.1.ebuild
new file mode 100644
index 000000000000..0c86092099fd
--- /dev/null
+++ b/app-emacs/emms/emms-20.1.ebuild
@@ -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
+}

Reply via email to