mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
13
package/yad/Config.in
Normal file
13
package/yad/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_YAD
|
||||
bool "yad"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3_X11
|
||||
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 w/ X11 backend"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on !BR2_PACKAGE_LIBGTK2 && !BR2_PACKAGE_LIBGTK3_X11
|
||||
6
package/yad/yad.hash
Normal file
6
package/yad/yad.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# From http://sourceforge.net/projects/yad-dialog/files/
|
||||
md5 82d458a2e1695dd0709f71ad26109812 yad-0.40.0.tar.xz
|
||||
sha1 4376eb42f8e38972124dc81e534cbdc9088109fb yad-0.40.0.tar.xz
|
||||
|
||||
# Hash for license file
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
24
package/yad/yad.mk
Normal file
24
package/yad/yad.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# yad
|
||||
#
|
||||
################################################################################
|
||||
|
||||
YAD_VERSION = 0.40.0
|
||||
YAD_SOURCE = yad-$(YAD_VERSION).tar.xz
|
||||
YAD_SITE = http://sourceforge.net/projects/yad-dialog/files
|
||||
YAD_LICENSE = GPL-3.0
|
||||
YAD_LICENSE_FILES = COPYING
|
||||
YAD_DEPENDENCIES = host-intltool host-pkgconf $(TARGET_NLS_DEPENDENCIES)
|
||||
YAD_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
|
||||
YAD_CONF_OPTS = --enable-html=no
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
|
||||
YAD_DEPENDENCIES += libgtk3
|
||||
YAD_CONF_OPTS += --with-gtk=gtk3
|
||||
else
|
||||
YAD_DEPENDENCIES += libgtk2
|
||||
YAD_CONF_OPTS += --with-gtk=gtk2
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user