Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/bongo/
Date: Tue, 03 Sep 2019 11:45:41
Message-Id: 1567511111.b2c9347ae63104ff018edb6b166d48f1bf545aa4.ulm@gentoo
1 commit: b2c9347ae63104ff018edb6b166d48f1bf545aa4
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 3 11:43:16 2019 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 3 11:45:11 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2c9347a
7
8 app-emacs/bongo: Bump to version 1.1.
9
10 Package-Manager: Portage-2.3.75, Repoman-2.3.17
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 app-emacs/bongo/Manifest | 1 +
14 app-emacs/bongo/bongo-1.1.ebuild | 52 ++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 53 insertions(+)
16
17 diff --git a/app-emacs/bongo/Manifest b/app-emacs/bongo/Manifest
18 index 81da00ff808..4dffab39e1e 100644
19 --- a/app-emacs/bongo/Manifest
20 +++ b/app-emacs/bongo/Manifest
21 @@ -1,2 +1,3 @@
22 +DIST bongo-1.1.tar.gz 123552 BLAKE2B 06ee27b9ea77b3227038cd18767d8398e416f43a8cdd0a3ed08831200f2edf42eb1c4ab45d363e289b5a471a4ccd60ccb4efc00d62b225eb589dee96c255d7d5 SHA512 c2a4c4241da3ca432b481f56758958a56f749a25eed345d0f30fe560319fd646712b84751212582c2f4ba410cb8858881150b77166fe919725cc50e3917c98e8
23 DIST bongo-20110621.tar.xz 97652 BLAKE2B a3fd04f24b122af580e75ed68ad42dcd99045ab9cc7ea9fd273c9b256dc732fd6a0328f15489a50b427c85dad4de1ea2254afc257a9e3f2896baeefc1cff1c56 SHA512 31c2a477cfb5ff36fbc64da29c725db0b0242ea09f80883fb21feb3b23f5c14c688379c4c4e53b26ffef3aca5d2813d5b2a38b91266da088c73516f7ea1d712b
24 DIST bongo-mplayer-20070204.tar.bz2 3563 BLAKE2B 684c702da46fedd365f780b165619b20e5da643db7b457cc527017971e18a2b0e843896d28216527adbda1e6e7432ff081a7368b697256ac79f2032b30d97123 SHA512 e503ed7980f011a6fc3fa75d0bb9b1cec1ed49d4fb07da92aad65e3c5096b42cf9eb203a8edbb93f2e7924254e4926e9f3fcf473de877fea130557aefad73ebd
25
26 diff --git a/app-emacs/bongo/bongo-1.1.ebuild b/app-emacs/bongo/bongo-1.1.ebuild
27 new file mode 100644
28 index 00000000000..a260dc90ae6
29 --- /dev/null
30 +++ b/app-emacs/bongo/bongo-1.1.ebuild
31 @@ -0,0 +1,52 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit elisp
38 +
39 +DESCRIPTION="Buffer-oriented media player for Emacs"
40 +HOMEPAGE="https://www.emacswiki.org/emacs/Bongo"
41 +SRC_URI="https://github.com/dbrock/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
42 + mplayer? ( mirror://gentoo/${PN}-mplayer-20070204.tar.bz2 )"
43 +
44 +LICENSE="GPL-2+ FDL-1.2+"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="mplayer"
48 +
49 +# NOTE: Bongo can use almost anything for playing media files, therefore
50 +# the dependency possibilities are so broad that we refrain from including
51 +# any media players explicitly in DEPEND/RDEPEND.
52 +
53 +RDEPEND="app-emacs/volume"
54 +BDEPEND="${RDEPEND}
55 + sys-apps/texinfo"
56 +
57 +SITEFILE="50${PN}-gentoo.el"
58 +ELISP_TEXINFO="${PN}.texi"
59 +DOCS="NEWS README TODO tree-from-tags.rb"
60 +
61 +src_unpack() {
62 + elisp_src_unpack
63 + if use mplayer; then
64 + mv ${PN}/bongo-mplayer.el "${S}"/ || die
65 + fi
66 +}
67 +
68 +src_compile() {
69 + # volume.el calls amixer in global scope, causing a sandbox violation
70 + # in /dev/snd/. Work around it by disabling the mixer programs.
71 + cat <<-EOF >nomixer.txt || die
72 + (setq volume-amixer-program "/bin/false")
73 + (setq volume-aumix-program "/bin/false")
74 + EOF
75 + BYTECOMPFLAGS+=" -l nomixer.txt"
76 + elisp_src_compile
77 +}
78 +
79 +src_install() {
80 + elisp_src_install
81 + insinto "${SITEETC}/${PN}"
82 + doins images/*.pbm images/*.png
83 +}