# Tanım: Kolay ekran çekim uygulaması
# URL: http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html
# Paketçi: milisarge
# Gerekler: xorg-libxrandr v4l-utils qt5 ffmpeg lame lsof pulseaudio xdg-utils gstreamer1
# Grup: medya

isim=vokoscreen
_surum=2.9.4-beta
devir=1
surum=${_surum/-/.}

kaynak=(https://github.com/vkohaupt/${isim}NG/archive/${_surum}.tar.gz::$isim-$surum.tar.gz
install.pri)
	
derle() {

	cd "${SRC}"/${isim}NG-${_surum}
	cp ../install.pri src/
	echo 'include(install.pri)' >> src/vokoscreen.pro
	
	mkdir -p "${SRC}"/build
	cd "${SRC}"/build
	qmake-qt5 ../${isim}NG-${_surum}/src \
		QMAKE_CFLAGS="${CFLAGS}" \
		QMAKE_CXXFLAGS="${CXXFLAGS}" \
		CONFIG+=release \
		CONFIG+=c++14
	make
	make INSTALL_ROOT="${PKG}" install
}