# Copyright 2014 deterenkelt
# Distributed under the terms of the GNU General Public License v3
# $Header: $

EAPI="5"
inherit eutils

SLOT="0"
DESCRIPTION="A tool for creating graphical dialogs from shell scripts. Fork of zenity."
HOMEPAGE="http://sourceforge.net/projects/yad-dialog/"
SRC_URI="https://sourceforge.net/projects/yad-dialog/files/yad-0.36.3.tar.xz"
LICENSE="GPL-3"
KEYWORDS="amd64 x86"
IUSE=""

RDEPEND="x11-libs/gtk+:2
	dev-libs/glib:2
	net-libs/webkit-gtk:2"
DEPEND="${RDEPEND}
		|| ( dev-util/pkgconfig dev-util/pkgconf )
		sys-devel/gettext
		dev-util/intltool
		app-arch/xz-utils"

src_prepare() {
	epatch_user
}

src_configure() {
	econf \
		--disable-deprecated
}