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

# source: BLFS 7.5 updated to 0.2.1
TARBALL=qwinff_$PKGVER.tar.bz2
MD5SUM=4237a66cd2ceef658a30f17010d31490
SRC_URL=http://downloads.sourceforge.net/qwinff/$TARBALL
BUNDLE=

SLACKREQ='qt4-common ffmpeg'
SLACKDESC="qwinff: qwinff $PKGVER (Video converter)  
qwinff:  
qwinff: QWinFF is a GUI for FFmpeg, a powerful command-line media converter. 
qwinff: FFmpeg can read audio and video files in various formats and convert 
qwinff: them into other formats. QWinFF provides an intuitive graphical 
qwinff: interface and a rich set of presets to help you use ffmpeg easily 
qwinff: without having to type a single command. Advanced users can also 
qwinff: adjust conversion parameters like bitrate and sample rate in detail.  
qwinff: 
qwinff: 
qwinff: http://qwinff.github.io/
"
SLACKSUG='sox'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	export PATH="$PATH:/opt/qt4/bin"
	export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/qt4/lib64"
	export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/opt/qt4/lib64/pkgconfig"
	export CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/opt/qt4/include"
	export QT4_PATH="/opt/qt4/bin"
	export QT4_LD_LIBRARY_PATH="/opt/qt4/lib64"
	export QT4_PKG_CONFIG_PATH="/opt/qt4/lib64/pkgconfig"
	export QT4_CPLUS_INCLUDE_PATH="/opt/qt4/include" 

	cd /tmp/qwinff*
	make $MAKEFLAGS && make install &&
	pkg_build_slackdesc
}


