It seems this won't build any more.
I was eventually able to build and successfully run by using the same ./configure as the PKGBUILD and then this make command:
make CFLAGS="-Wno-incompatible-pointer-types -Wno-deprecated-declarations"
This is, starting from the tar.bz2 package linked a while ago.
None of the git packages nor the fork compile (they actually seem to fail even at the ./configure statge)
Essentially this PKGBUILD worked for me (I am on Manjaro but I don't think that's too relevant):
pkgname=mhwaveedit
pkgver=1.4.24
pkgrel=2
pkgdesc="mhWaveEdit is a graphical program for editing, playing and recording sound files."
arch=('x86_64' 'aarch64' 'armv7h')
url="https://github.com/magnush/mhwaveedit/"
license=('GPL')
makedepends=('autoconf')
depends=('gtk2' 'libsndfile' 'libsamplerate')
source=("https://github.com/magnush/mhwaveedit/archive/v1.4.24.tar.gz")
sha256sums=('a4115b3d18f3f038b08b2bf4ff599703b7ba69bc7ac510d5f7279b3f47ea57dd')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --without-oss --without-portaudio --without-oss --with-double-samples --without-check-casts
make CFLAGS="-Wno-incompatible-pointer-types -Wno-deprecated-declarations"
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}
Very fast in compare with audacity, but may crash sometimes.
I uninstalled mhwaveedit, as I saw in lorenzosu's link (thanks for providing) that the latest version is from 2013-08-11...
I installed mhwaveedit-git instead, which had it's latest update about a year ago.
Hi,
I was able to install from the latest original 1.4.23 release (.tar.bz2) source grabbed from the latest snapshot of gna.org from archive.org [1].
I also managed by slightly modifying your PKGBUILD to point to that file etc. and managed to create the package succesfully and install.
PS: I'm on manjaro, not sure if that is relevant.
[1] https://web.archive.org/web/20170225142259/http://download.gna.org/mhwaveedit/ (see the file mhwaveedit-1.4.23.tar.bz2)
Yes, I am having trouble building mhwaveedit, too.
This seems to be not Arch Linux related, but a bug in their configure script and should be reported on the project page. Since mhwaveedit seems mostly unmaintained
these days, I'm not sure whether that helps, though.
I'm currently not having the time fixing this.
On a fresh install of Arch Linux I am having trouble installing mhwaveedit:
==> Making package: mhwaveedit r476.e7caba3-1 (Fri Jun 16 06:06:54 PDT 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating mhwaveedit git repo...
Fetching origin
==> Validating source files with sha256sums...
mhwaveedit ... Skipped
==> Extracting sources...
-> Creating working copy of mhwaveedit git repo...
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
m4/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
m4/gtk.m4:7: run info Automake 'Extending aclocal'
m4/gtk.m4:7: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
autoreconf: configure.in: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:12: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.in:12: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
Makefile.am: error: required file './README' not found
src/Makefile.am:18: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: automake failed with exit status: 1
==> ERROR: A failure occurred in build().
Aborting...
Any clues would be appreciated!