summaryrefslogtreecommitdiff
path: root/app-emacs/volume
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emacs/volume
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emacs/volume')
-rw-r--r--app-emacs/volume/Manifest5
-rw-r--r--app-emacs/volume/files/50volume-gentoo.el2
-rw-r--r--app-emacs/volume/files/volume-1.0-mode-line.patch14
-rw-r--r--app-emacs/volume/metadata.xml12
-rw-r--r--app-emacs/volume/volume-1.0-r1.ebuild22
5 files changed, 55 insertions, 0 deletions
diff --git a/app-emacs/volume/Manifest b/app-emacs/volume/Manifest
new file mode 100644
index 000000000000..3fb3379f5c5d
--- /dev/null
+++ b/app-emacs/volume/Manifest
@@ -0,0 +1,5 @@
+AUX 50volume-gentoo.el 100 BLAKE2B 03917eb50fa454861498a47516054b0a58bbfff701cbc7665597380ec2f76a7f8600b4916e15d9cc5a841168da4db9b26b9e122cc65771437e444d1d14bdcfdd SHA512 82727310458923bdb06d840b3471c49f6498faaab53033333d1ba02ab2c03f709e17ea5373d264441401e0bb82770c9c451e61cd468fa04a04229471f620ca63
+AUX volume-1.0-mode-line.patch 552 BLAKE2B 48a7159d7389bd7d4a87280af1eceb4e32b1f3ea467176ecb0e1f787364930d91eb7cf56da124b6483f6db0a53ffb016c5987b4f73437701f815ddb448f103db SHA512 aec6fa297e242ce601704ca5709d9595ea0fb14fab2d0eeb3380d20d545a7131e5260dc1c2cc7e1d85c88789aa7f4d2f4701c121dec1401a3e4b7902b40c589d
+DIST volume-1.0.el.bz2 8044 BLAKE2B cdd914a25c137f28f9f26e88430ed6ce3be7b4788c9fcaa3e0246b7057233c78af80f33ce9b6fd778fac47c9de624707f169f6e2836b93aa2c30f8c25e88deef SHA512 32672ef525571bc022d6c0f5f5f5f9d16bb5f57176e63a3dbaa67f41cef5a8bfef06468093c439601b2b3439f6e77e8e7e6d6c9245b18a77ebb409c64eece510
+EBUILD volume-1.0-r1.ebuild 607 BLAKE2B 2306f3b3aea9147d64450ec40be60fb24897251f41b9031d8b58b90e746122ff3bec12b95ea7ae88bb1d79af027d99d2ed1638378603ad7bfa0a2b5210098842 SHA512 5c38f49a9a862262d91e5161485f8cc528fe6eae383704e349a8e7df4767b0235ce61f73beff2a549152675691a9be0c360e37d26806ba44f09559182575b88a
+MISC metadata.xml 361 BLAKE2B 65088775308be6f87f238dcb08c1317b78622df1f05f19ea70bf9fd19d29f9fe59ea3170d2705edb0d40030680a7ac6a3c45926457e3b2556ead54bca96e31ba SHA512 1f95cd26b08c5403a010ffe5836551fc556ad80f4ec4983dea1c52c526f574085f0d4c85e3ef6d78253464418b7aea0ad51a303555b70252914c4162ce504550
diff --git a/app-emacs/volume/files/50volume-gentoo.el b/app-emacs/volume/files/50volume-gentoo.el
new file mode 100644
index 000000000000..2ab5a2bb5e04
--- /dev/null
+++ b/app-emacs/volume/files/50volume-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'volume "volume" "Tweak your sound card volume." t)
diff --git a/app-emacs/volume/files/volume-1.0-mode-line.patch b/app-emacs/volume/files/volume-1.0-mode-line.patch
new file mode 100644
index 000000000000..2b3e4ccd33ef
--- /dev/null
+++ b/app-emacs/volume/files/volume-1.0-mode-line.patch
@@ -0,0 +1,14 @@
+Use `mode-line' instead of `modeline' for Emacs 24 compat.
+Patch taken from upstream repo.
+
+--- a/volume.el
++++ b/volume.el
+@@ -973,7 +973,7 @@
+ (select-window
+ (split-window-vertically
+ (if (and (fboundp 'face-attr-construct)
+- (plist-get (face-attr-construct 'modeline) :box))
++ (plist-get (face-attr-construct 'mode-line) :box))
+ -3 -2)))
+ (switch-to-buffer volume-buffer)))
+ ((not (eq (current-buffer) volume-buffer))
diff --git a/app-emacs/volume/metadata.xml b/app-emacs/volume/metadata.xml
new file mode 100644
index 000000000000..2382f740dc4e
--- /dev/null
+++ b/app-emacs/volume/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<stabilize-allarches/>
+<upstream>
+ <remote-id type="github">dbrock/volume-el</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/app-emacs/volume/volume-1.0-r1.ebuild b/app-emacs/volume/volume-1.0-r1.ebuild
new file mode 100644
index 000000000000..6837cd3caa22
--- /dev/null
+++ b/app-emacs/volume/volume-1.0-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Tweak your sound card volume from Emacs"
+HOMEPAGE="https://github.com/dbrock/volume-el"
+SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.el.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+
+# NOTE we might define the following which volume.el can work with by
+# default, but volume.el can really work with anything.
+
+# RDEPEND="|| ( media-sound/aumixer media-sound/alsa-utils )"
+
+ELISP_PATCHES="${P}-mode-line.patch"
+SITEFILE="50${PN}-gentoo.el"