[arch-commits] Commit in paulstretch/repos (2 files)
David Runge
dvzrv at archlinux.org
Sun Jul 29 14:32:11 UTC 2018
Date: Sunday, July 29, 2018 @ 14:32:11
Author: dvzrv
Revision: 364516
archrelease: copy trunk to community-x86_64
Added:
paulstretch/repos/community-x86_64/
paulstretch/repos/community-x86_64/PKGBUILD
(from rev 364515, paulstretch/trunk/PKGBUILD)
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Copied: paulstretch/repos/community-x86_64/PKGBUILD (from rev 364515, paulstretch/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-07-29 14:32:11 UTC (rev 364516)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+_pkgver=2.2-2
+pkgname=paulstretch
+pkgver=${_pkgver//-/.}
+pkgrel=1
+pkgdesc="An experimental program for extreme stretching audio"
+arch=('x86_64')
+url="http://hypermammut.sourceforge.net/paulstretch/"
+license=('GPL2')
+groups=('pro-audio')
+depends=('audiofile' 'fftw' 'fltk' 'libvorbis' 'libmad' 'mxml' 'portaudio')
+source=("https://sourceforge.net/projects/hypermammut/files/${pkgname}/${_pkgver//-*/}/${pkgname}-${_pkgver}.tar.bz2")
+sha512sums=('cb076edc8ffcaae651220345b7205b8317cc8eed175c2a88992e8e27e2173b42272da4267dbd5054a2fc01eec7c104e816369eee86b39d746bf9eab3d7f55bc6')
+
+prepare() {
+ mv -v "$pkgname-${_pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ fluid -c GUI.fl
+ fluid -c FreeEditUI.fl
+
+ g++ -ggdb GUI.cxx FreeEditUI.cxx *.cpp Input/*.cpp Output/*.cpp \
+ `fltk-config --cflags` \
+ `fltk-config --ldflags` \
+ -laudiofile \
+ -lfftw3f \
+ -lvorbisenc \
+ -lvorbis \
+ -logg \
+ -lz \
+ -lvorbisenc \
+ -lvorbisfile \
+ -lportaudio \
+ -lpthread \
+ -lmad \
+ -lmxml \
+ `pkg-config --cflags --libs jack samplerate` \
+ -DHAVE_JACK \
+ -DENABLE_RESAMPLING \
+ -o ${pkgname}
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -vDm 755 ${pkgname} -t "${pkgdir}/usr/bin/"
+ install -vDm 644 readme.txt -t "${pkgdir}/usr/share/doc/${pkgname}/"
+
+}
More information about the arch-commits
mailing list