### this file is sourced not run
PKGVER=0.5.4
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=qsynth-$PKGVER.tar.gz
MD5SUM=bf82058d2ddaff989f9d1dfc58016bab
SRC_URL=http://downloads.sourceforge.net/qsynth/$TARBALL
#SRC_URL=http://www.rncbc.org/archive/$TARBALL

BUNDLE=

SLACKREQ='fluidsynth qt5-common' # 
SLACKDESC="qsynth: qsynth $PKGVER (Qt GUI for fluidsynth)
qsynth: 
qsynth: Qsynth is a fluidsynth GUI front-end application.
qsynth: 
qsynth: http://qsynth.sourceforge.net/qsynth-index.html
qsynth: 
qsynth: 
qsynth: 
qsynth: 
qsynth: 
qsynth: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	# qt5	
	export PATH="$PATH:/opt/qt5/bin"
	export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/qt5/$LIBDIR"
	export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/opt/qt5/$LIBDIR/pkgconfig"
	export QT5_PATH="/opt/qt5/bin"
	export QT5_LD_LIBRARY_PATH="/opt/qt5/$LIBDIR"
	export QT5_PKG_CONFIG_PATH="/opt/qt5/$LIBDIR/pkgconfig"
	export QT5_CPLUS_INCLUDE_PATH="/opt/qt5/include"

	CONFFLAGS="$CONFFLAGS --enable-fluid-channel-info --enable-fluid-midi-router"
	pkg_build_autoconf &&
	pkg_build_slackdesc
}
