2011-08-07 19:33:28 +08:00
|
|
|
pkgname=qsynth
|
2017-04-28 07:53:33 +08:00
|
|
|
pkgver=0.4.4
|
2011-08-07 19:33:28 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Qt GUI for fluidsynth"
|
2014-01-02 23:25:41 +08:00
|
|
|
arch=('x86_64')
|
2011-08-07 19:33:28 +08:00
|
|
|
url="http://qsynth.sourceforge.net/qsynth-index.html"
|
|
|
|
license=('GPL')
|
2015-09-08 11:29:59 +08:00
|
|
|
depends=('fluidsynth' 'qt5-base' 'qt5-x11extras')
|
|
|
|
makedepends=('qt5-tools')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('multimedia')
|
2016-09-30 23:33:12 +08:00
|
|
|
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
|
2017-04-28 07:53:33 +08:00
|
|
|
sha1sums=('00aa1c1519219d7808cefb795f7edf3f48bfd6df')
|
2016-09-30 23:33:12 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname-$pkgver
|
2016-11-17 07:01:04 +08:00
|
|
|
# fix to make .configure recognize Qt>=5.1
|
|
|
|
export CXXFLAGS="${CXXFLAGS} -std=c++11"
|
2016-09-30 23:33:12 +08:00
|
|
|
}
|
2011-08-07 19:33:28 +08:00
|
|
|
|
|
|
|
build() {
|
2016-09-30 23:33:12 +08:00
|
|
|
cd $pkgname-$pkgver
|
2011-08-07 19:33:28 +08:00
|
|
|
./configure --prefix=/usr
|
2014-01-02 23:25:41 +08:00
|
|
|
make
|
2011-08-07 19:33:28 +08:00
|
|
|
}
|
2014-01-02 23:25:41 +08:00
|
|
|
|
|
|
|
package() {
|
2016-09-30 23:33:12 +08:00
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR=$pkgdir install
|
2014-01-02 23:25:41 +08:00
|
|
|
}
|