summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-10 13:10:55 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-10 13:10:55 +0100
commit432537bf6f0dc512343385205da5c69ee2091aa4 (patch)
tree10709688e881f5c3fa375f3cb3b3f714fd379452 /media-sound/mhwaveedit
parentmedia-sound/mhwaveedit: Remove old (diff)
downloadgentoo-432537bf6f0dc512343385205da5c69ee2091aa4.tar.gz
gentoo-432537bf6f0dc512343385205da5c69ee2091aa4.tar.bz2
gentoo-432537bf6f0dc512343385205da5c69ee2091aa4.zip
media-sound/mhwaveedit: Port to EAPI 7
* Fix missing include Closes: https://bugs.gentoo.org/490574 Closes: https://bugs.gentoo.org/699914 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/mhwaveedit')
-rw-r--r--media-sound/mhwaveedit/files/mhwaveedit-1.4.23-missing-include.patch10
-rw-r--r--media-sound/mhwaveedit/mhwaveedit-1.4.23.ebuild35
2 files changed, 28 insertions, 17 deletions
diff --git a/media-sound/mhwaveedit/files/mhwaveedit-1.4.23-missing-include.patch b/media-sound/mhwaveedit/files/mhwaveedit-1.4.23-missing-include.patch
new file mode 100644
index 000000000000..6da9db146330
--- /dev/null
+++ b/media-sound/mhwaveedit/files/mhwaveedit-1.4.23-missing-include.patch
@@ -0,0 +1,10 @@
+--- a/src/sound-pulse.c
++++ b/src/sound-pulse.c
+@@ -21,6 +21,7 @@
+
+ #include <poll.h>
+ #include <pulse/pulseaudio.h>
++#include "int_box.h"
+
+ #ifndef PA_CHECK_VERSION
+ #define PA_CHECK_VERSION(a,b,c) (0)
diff --git a/media-sound/mhwaveedit/mhwaveedit-1.4.23.ebuild b/media-sound/mhwaveedit/mhwaveedit-1.4.23.ebuild
index 4ed52f0b3b53..c6117c93bd72 100644
--- a/media-sound/mhwaveedit/mhwaveedit-1.4.23.ebuild
+++ b/media-sound/mhwaveedit/mhwaveedit-1.4.23.ebuild
@@ -1,35 +1,37 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
DESCRIPTION="GTK+ Sound file editor (wav, and a few others.)"
-HOMEPAGE="https://gna.org/projects/mhwaveedit"
-SRC_URI="http://download.gna.org/${PN}/${P}.tar.bz2"
+HOMEPAGE="https://github.com/magnush/mhwaveedit/"
+SRC_URI="https://github.com/magnush/mhwaveedit/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="alsa jack ladspa libsamplerate nls oss pulseaudio sdl sndfile sox"
-RDEPEND="x11-libs/gtk+:2
+RDEPEND="
+ x11-libs/gtk+:2
x11-libs/pango
- sndfile? ( >=media-libs/libsndfile-1.0.10 )
- sdl? ( >=media-libs/libsdl-1.2.3 )
- alsa? ( media-libs/alsa-lib )
- jack? ( >=media-sound/jack-audio-connection-kit-0.98 )
- libsamplerate? ( media-libs/libsamplerate )
+ sndfile? ( media-libs/libsndfile:= )
+ sdl? ( media-libs/libsdl:= )
+ alsa? ( media-libs/alsa-lib:= )
+ jack? ( virtual/jack )
+ libsamplerate? ( media-libs/libsamplerate:= )
ladspa? ( media-libs/ladspa-sdk )
- pulseaudio? ( >=media-sound/pulseaudio-0.9.10 )
- sox? ( media-sound/sox )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ pulseaudio? ( media-sound/pulseaudio )
+ sox? ( media-sound/sox:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
-DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
+PATCHES=( "${FILESDIR}"/${PN}-1.4.23-missing-include.patch )
src_configure() {
econf \
--without-arts \
+ --without-esound \
--without-portaudio \
$(use_enable nls) \
$(use_with sndfile libsndfile) \
@@ -38,6 +40,5 @@ src_configure() {
$(use_with alsa alsalib) \
$(use_with oss) \
$(use_with jack) \
- $(use_with pulseaudio pulse) \
- --without-esound
+ $(use_with pulseaudio pulse)
}