summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-11-14 16:05:00 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-14 16:05:00 +0100
commitda4ecc595a34980d8ce0582b40541813d35cde5d (patch)
treef5c551220b65bf8cbe4a310794a7655ba7689057 /media-sound
parentmedia-sound/gramofile: Port to EAPI 7 (diff)
downloadgentoo-da4ecc595a34980d8ce0582b40541813d35cde5d.tar.gz
gentoo-da4ecc595a34980d8ce0582b40541813d35cde5d.tar.bz2
gentoo-da4ecc595a34980d8ce0582b40541813d35cde5d.zip
media-sound/pavumeter: Port to EAPI 7
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/pavumeter/files/pavumeter-0.9.3-desktop-QA.patch16
-rw-r--r--media-sound/pavumeter/pavumeter-0.9.3-r1.ebuild26
2 files changed, 27 insertions, 15 deletions
diff --git a/media-sound/pavumeter/files/pavumeter-0.9.3-desktop-QA.patch b/media-sound/pavumeter/files/pavumeter-0.9.3-desktop-QA.patch
new file mode 100644
index 000000000000..54214ed1d273
--- /dev/null
+++ b/media-sound/pavumeter/files/pavumeter-0.9.3-desktop-QA.patch
@@ -0,0 +1,16 @@
+--- a/src/pavumeter.desktop
++++ b/src/pavumeter.desktop
+@@ -7,4 +7,4 @@
+ Icon=audio-input-microphone
+ StartupNotify=true
+ Type=Application
+-Categories=Application;AudioVideo;Audio;
++Categories=AudioVideo;Audio;
+--- a/src/pavumeter-record.desktop
++++ b/src/pavumeter-record.desktop
+@@ -7,4 +7,4 @@
+ Icon=audio-input-microphone
+ StartupNotify=true
+ Type=Application
+-Categories=Application;AudioVideo;Audio;
++Categories=AudioVideo;Audio;
diff --git a/media-sound/pavumeter/pavumeter-0.9.3-r1.ebuild b/media-sound/pavumeter/pavumeter-0.9.3-r1.ebuild
index 85efd70acf71..891fe6fc3489 100644
--- a/media-sound/pavumeter/pavumeter-0.9.3-r1.ebuild
+++ b/media-sound/pavumeter/pavumeter-0.9.3-r1.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit flag-o-matic
+EAPI=7
DESCRIPTION="PulseAudio Volume Meter, simple GTK volume meter for PulseAudio"
HOMEPAGE="http://0pointer.de/lennart/projects/pavumeter/"
@@ -11,22 +10,19 @@ SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~sparc x86"
-IUSE=""
-RDEPEND="dev-cpp/gtkmm:2.4
+RDEPEND="
+ dev-cpp/gtkmm:2.4
dev-libs/libsigc++:2
>=media-sound/pulseaudio-0.9.7[glib]
x11-themes/tango-icon-theme"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
-src_configure() {
- append-cxxflags -std=c++11 #568592
- econf \
- --disable-lynx
-}
+PATCHES=( "${FILESDIR}"/${P}-desktop-QA.patch )
-src_install() {
- default
- dohtml -r doc
+HTML_DOCS=( doc/{README.html,style.css} )
+
+src_configure() {
+ econf --disable-lynx
}