diff options
author | Christopher Arndt | 2020-07-24 23:23:31 +0200 |
---|---|---|
committer | Christopher Arndt | 2020-07-24 23:23:31 +0200 |
commit | f4841b45048b4ed504ade9805a3d6ecf84083d05 (patch) | |
tree | 45366d2d3331c0fb3f8af0d38c66600be1719ca2 | |
download | aur-mhwaveedit-git.tar.gz |
Add new VCS package 'mhwaveedit-git'
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
-rw-r--r-- | .SRCINFO | 34 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 44 |
3 files changed, 84 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..56ef0cd22986 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,34 @@ +pkgbase = mhwaveedit-git + pkgdesc = A simple and fast GTK2 audio editor (git version) + pkgver = 1.4.24.r149.8a24f6a + pkgrel = 1 + url = https://github.com/magnush/mhwaveedit + arch = x86_64 + groups = pro-audio + license = GPL2 + makedepends = alsa-lib + makedepends = git + makedepends = ladspa + makedepends = libpulse + makedepends = libsamplerate + makedepends = libsndfile + makedepends = jack + depends = gtk2 + depends = hicolor-icon-theme + depends = sdl + provides = mhwaveedit + provides = mhwaveedit=1.4.24 + conflicts = mhwaveedit + source = mhwaveedit::git+https://salsa.debian.org/multimedia-team/mhwaveedit.git/ + md5sums = SKIP + +pkgname = mhwaveedit-git + depends = gtk2 + depends = hicolor-icon-theme + depends = sdl + depends = libasound.so + depends = libjack.so + depends = libpulse.so + depends = libsamplerate.so + depends = libsndfile.so + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..3126cc88c291 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +mhwaveedit/ +pkg/ +src/ +mhwaveedit-git-*.pkg.tar.xz +mhwaveedit-git-*.pkg.tar.zst +mhwaveedit-*.src.tar.gz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d5c62bd002a0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de> + +_pkgname=mhwaveedit +pkgname="${_pkgname}-git" +pkgver=1.4.24.r149.8a24f6a +pkgrel=1 +pkgdesc="A simple and fast GTK2 audio editor (git version)" +arch=('x86_64') +url="https://github.com/magnush/mhwaveedit" +license=('GPL2') +depends=('gtk2' 'hicolor-icon-theme' 'sdl') +makedepends=('alsa-lib' 'git' 'ladspa' 'libpulse' 'libsamplerate' 'libsndfile' + 'jack') +groups=('pro-audio') +provides=("${_pkgname}" "${_pkgname}=${pkgver//.r*/}") +conflicts=("${_pkgname}") +source=("${_pkgname}::git+https://salsa.debian.org/multimedia-team/${_pkgname}.git/") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_pkgname}" + + local ver=$(grep ^MHW_VERSION configure | cut -d = -f 2) + echo "$ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +build() { + cd "${srcdir}/${_pkgname}" + + ./configure \ + --prefix=/usr \ + --with-double-samples \ + --without-arts \ + --without-esound \ + --without-oss + make +} + +package() { + depends+=('libasound.so' 'libjack.so' 'libpulse.so' 'libsamplerate.so' 'libsndfile.so') + cd "${srcdir}/${_pkgname}" + + make DESTDIR="${pkgdir}/" install +} |