From da4ecc595a34980d8ce0582b40541813d35cde5d Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 14 Nov 2020 16:05:00 +0100 Subject: media-sound/pavumeter: Port to EAPI 7 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: David Seifert --- .../files/pavumeter-0.9.3-desktop-QA.patch | 16 +++++++++++++ media-sound/pavumeter/pavumeter-0.9.3-r1.ebuild | 26 +++++++++------------- 2 files changed, 27 insertions(+), 15 deletions(-) create mode 100644 media-sound/pavumeter/files/pavumeter-0.9.3-desktop-QA.patch (limited to 'media-sound') 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 } -- cgit v1.2.3-65-gdbad