Commit 70120097 authored by James Knight's avatar James Knight Committed by Thomas Petazzoni
Browse files

yad: new package



[Thomas: remove dependency on libglib2, as it is not tested directly
by yad's configure script, and is anyway guaranteed to be available
since yad depends on gtk2 or gtk3, which both require libglib2.]

Signed-off-by: default avatarJames Knight <james.knight@rockwellcollins.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 1072b387
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -292,6 +292,7 @@ comment "X applications"
	source "package/xscreensaver/Config.in"
	source "package/xterm/Config.in"
	source "package/xvkbd/Config.in"
	source "package/yad/Config.in"

comment "X libraries and helper libraries"
	source "package/libsexy/Config.in"

package/yad/Config.in

0 → 100644
+13 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_YAD
	bool "yad"
	depends on BR2_PACKAGE_XORG7
	depends on BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3
	help
	  YAD (yet another dialog) is a tool for create graphical dialogs
	  from shell scripts.

	  http://sourceforge.net/projects/yad-dialog/

comment "yad needs libgtk2 or libgtk3"
	depends on BR2_PACKAGE_XORG7
	depends on !BR2_PACKAGE_LIBGTK2 && !BR2_PACKAGE_LIBGTK3

package/yad/yad.hash

0 → 100644
+2 −0
Original line number Diff line number Diff line
# Locally computed
sha256 c91d6a9eb36abdb502d2d8ada0ec29c266b94a6628f723adeca436bee0b6c55c yad-0.31.2.tar.xz

package/yad/yad.mk

0 → 100644
+24 −0
Original line number Diff line number Diff line
################################################################################
#
# yad
#
################################################################################

YAD_VERSION = 0.31.2
YAD_SOURCE = yad-$(YAD_VERSION).tar.xz
YAD_SITE = http://sourceforge.net/projects/yad-dialog/files
YAD_LICENSE = GPLv3
YAD_LICENSE_FILES = COPYING
YAD_DEPENDENCIES = host-intltool host-pkgconf

YAD_CONF_OPTS = --enable-html=no

ifeq ($(BR2_PACKAGE_LIBGTK3),y)
YAD_DEPENDENCIES += libgtk3
YAD_CONF_OPTS += --with-gtk=gtk3
else
YAD_DEPENDENCIES += libgtk2
YAD_CONF_OPTS += --with-gtk=gtk2
endif

$(eval $(autotools-package))