# Tanım: Uzaktan erişim protokolu
# URL: http://www.freerdp.com/
# Paketçi: milisarge
# Gerekler: xorg-libx11 xorg-libxrender xorg-libxcursor xorg-libxext ffmpeg pulseaudio cups openh264 
# Grup: ağ

isim=freerdp
surum=2.0.0
devir=2
kaynak=(https://github.com/FreeRDP/FreeRDP/archive/2.0.0-rc4.tar.gz::$isim-$surum-rc4.tar.gz)

derle() {
	cd $SRC/FreeRDP-$surum-rc4

	cmake \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_INSTALL_LIBDIR=lib \
	-DWITH_PULSE=ON \
	-DWITH_CUPS=ON \
	-DWITH_CHANNELS=ON \
	-DWITH_CLIENT_CHANNELS=ON \
	-DWITH_SERVER_CHANNELS=ON \
	-DWITH_WAYLAND=ON \
	.
	make
	make DESTDIR=$PKG install
}
