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

# source: BLFS 7.5 updated to 0.2.1
TARBALL=qwinff-20180205.tar.bz2
MD5SUM=2c14bbdfefb047de33ffa75e0dd08ec4
SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
BUNDLE=

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

### 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 CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/opt/qt5/include"
	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" 

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


