diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-08-21 09:47:18 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-08-21 09:47:18 +0000 |
commit | b59436ea7ee2bd5c8b27faecdd50bb5d44a8619b (patch) | |
tree | 024bda9b53605cf765394a54703aa6a5299acbcd | |
parent | Fix Copyright header. (diff) | |
download | gentoo-2-b59436ea7ee2bd5c8b27faecdd50bb5d44a8619b.tar.gz gentoo-2-b59436ea7ee2bd5c8b27faecdd50bb5d44a8619b.tar.bz2 gentoo-2-b59436ea7ee2bd5c8b27faecdd50bb5d44a8619b.zip |
always initializes pkg.m4 variables to avoid problems such that bug #188179
(Portage version: 2.1.3.6)
4 files changed, 88 insertions, 1 deletions
diff --git a/media-sound/mhwaveedit/ChangeLog b/media-sound/mhwaveedit/ChangeLog index b19e52f63445..65a7c6e059e8 100644 --- a/media-sound/mhwaveedit/ChangeLog +++ b/media-sound/mhwaveedit/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/mhwaveedit # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mhwaveedit/ChangeLog,v 1.23 2007/07/30 13:58:04 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mhwaveedit/ChangeLog,v 1.24 2007/08/21 09:47:18 aballier Exp $ + +*mhwaveedit-1.4.12-r1 (21 Aug 2007) + + 21 Aug 2007; Alexis Ballier <aballier@gentoo.org> + +files/mhwaveedit-1.4.12-pkgconfig_init.patch, + +mhwaveedit-1.4.12-r1.ebuild: + always initializes pkg.m4 variables to avoid problems such that bug #188179 30 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org> mhwaveedit-1.4.12.ebuild: diff --git a/media-sound/mhwaveedit/files/digest-mhwaveedit-1.4.12-r1 b/media-sound/mhwaveedit/files/digest-mhwaveedit-1.4.12-r1 new file mode 100644 index 000000000000..636e8ffd299a --- /dev/null +++ b/media-sound/mhwaveedit/files/digest-mhwaveedit-1.4.12-r1 @@ -0,0 +1,6 @@ +MD5 04a134abc30e13a4a3f7f026b7f16fbb mhwaveedit-1.4.12-m4-1.tar.bz2 2878 +RMD160 bc34bad75c70096e4c86a5366bfb90447efb667f mhwaveedit-1.4.12-m4-1.tar.bz2 2878 +SHA256 4bf61eeb5c79154fcdc3c2d18eb429e8f876924977a6cc2c9d377ea17d6848e0 mhwaveedit-1.4.12-m4-1.tar.bz2 2878 +MD5 5eff65371b6b9f84bfc1cfd60514c45a mhwaveedit-1.4.12.tar.bz2 476230 +RMD160 96709d5bfd5242627299bcd78ca62c1d84aab16c mhwaveedit-1.4.12.tar.bz2 476230 +SHA256 434b30eea303f482b8fea79a56aaaaba35e6fddc8ad2c2d8dc1295a57287144b mhwaveedit-1.4.12.tar.bz2 476230 diff --git a/media-sound/mhwaveedit/files/mhwaveedit-1.4.12-pkgconfig_init.patch b/media-sound/mhwaveedit/files/mhwaveedit-1.4.12-pkgconfig_init.patch new file mode 100644 index 000000000000..dd717656e18d --- /dev/null +++ b/media-sound/mhwaveedit/files/mhwaveedit-1.4.12-pkgconfig_init.patch @@ -0,0 +1,13 @@ +Index: mhwaveedit-1.4.12/configure.in +=================================================================== +--- mhwaveedit-1.4.12.orig/configure.in ++++ mhwaveedit-1.4.12/configure.in +@@ -14,6 +14,8 @@ AM_INIT_AUTOMAKE(mhWaveEdit,$MHW_VERSION + dnl Check for libintl + AM_GNU_GETTEXT([external]) + ++PKG_PROG_PKG_CONFIG ++ + + dnl Setup AM_CFLAGS + diff --git a/media-sound/mhwaveedit/mhwaveedit-1.4.12-r1.ebuild b/media-sound/mhwaveedit/mhwaveedit-1.4.12-r1.ebuild new file mode 100644 index 000000000000..d84a1432ae4f --- /dev/null +++ b/media-sound/mhwaveedit/mhwaveedit-1.4.12-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mhwaveedit/mhwaveedit-1.4.12-r1.ebuild,v 1.1 2007/08/21 09:47:18 aballier Exp $ + +inherit eutils autotools + +IUSE="alsa arts esd jack ladspa libsamplerate nls oss portaudio sdl sndfile sox" + +DESCRIPTION="GTK2 Sound file editor (wav, and a few others.)" +HOMEPAGE="https://gna.org/projects/mhwaveedit/" +SRC_URI="http://download.gna.org/mhwaveedit/${P}.tar.bz2 + mirror://gentoo/${P}-m4-1.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND=">=x11-libs/gtk+-2 + sndfile? ( >=media-libs/libsndfile-1.0.10 ) + sdl? ( >=media-libs/libsdl-1.2.3 ) + alsa? ( media-libs/alsa-lib ) + portaudio? ( >=media-libs/portaudio-18 ) + jack? ( >=media-sound/jack-audio-connection-kit-0.98.0 ) + esd? ( >=media-sound/esound-0.2.0 ) + libsamplerate? ( media-libs/libsamplerate ) + ladspa? ( media-libs/ladspa-sdk ) + sox? ( media-sound/sox ) + arts? ( >=kde-base/arts-3.4.1 )" + +src_unpack(){ + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-pkgconfig_init.patch" + cp "${WORKDIR}"/m4/* m4/ + AT_M4DIR="m4" eautoreconf +} + +src_compile() { + econf \ + $(use_enable nls) \ + $(use_with sndfile libsndfile) \ + $(use_with libsamplerate) \ + $(use_with portaudio) \ + $(use_with sdl) \ + $(use_with alsa alsalib) \ + $(use_with oss) \ + $(use_with jack) \ + $(use_with esd esound) \ + $(use_with arts) || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS BUGS ChangeLog HACKING NEWS README TODO + + newicon src/icon.xpm ${PN}.xpm + make_desktop_entry mhwaveedit mhWaveEdit ${PN}.xpm AudioVideo + +} |