pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

yad: Import yad-0.40.0 as wip/yad



Module Name:	pkgsrc-wip
Committed By:	Roberto Neri <robn%gmx.com@localhost>
Pushed By:	robn
Date:		Fri Mar 23 18:10:13 2018 +0000
Changeset:	33869ab489ff001949e2848a574a9451bbed6b9d

Modified Files:
	Makefile
Added Files:
	yad/DESCR
	yad/Makefile
	yad/PLIST
	yad/distinfo
	yad/options.mk

Log Message:
yad: Import yad-0.40.0 as wip/yad

YAD is a tool for creating graphical dialogs from shell scripts

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=33869ab489ff001949e2848a574a9451bbed6b9d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile       |  1 +
 yad/DESCR      |  3 +++
 yad/Makefile   | 22 ++++++++++++++++++++++
 yad/PLIST      | 20 ++++++++++++++++++++
 yad/distinfo   |  6 ++++++
 yad/options.mk | 21 +++++++++++++++++++++
 6 files changed, 73 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 4bd64b50a1..120b3cea61 100644
--- a/Makefile
+++ b/Makefile
@@ -4695,6 +4695,7 @@ SUBDIR+=	xwelltris
 SUBDIR+=	xwindiff
 SUBDIR+=	xxhash
 SUBDIR+=	yabar
+SUBDIR+=	yad
 SUBDIR+=	yafray
 SUBDIR+=	yaggo
 SUBDIR+=	yakuake
diff --git a/yad/DESCR b/yad/DESCR
new file mode 100644
index 0000000000..e31c8f4595
--- /dev/null
+++ b/yad/DESCR
@@ -0,0 +1,3 @@
+YAD (Yet Another Dialog) allows you to display GTK+ dialog boxes from command
+line or shell scripts. It is similar to Zenity but with more dialog types and
+options
diff --git a/yad/Makefile b/yad/Makefile
new file mode 100644
index 0000000000..27fc21be4b
--- /dev/null
+++ b/yad/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME=	yad-0.40.0
+CATEGORIES=	x11
+MASTER_SITES=	https://downloads.sourceforge.net/yad-dialog/
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	robn%gmx.com@localhost
+HOMEPAGE=	https://downloads.sourceforge.net/yad-dialog/
+COMMENT=	YAD is a tool for creating graphical dialogs from shell scripts
+LICENSE=	gnu-gpl-v3
+
+GNU_CONFIGURE=	yes
+USE_TOOLS+=	autoconf automake gmake intltool pkg-config
+
+CONFIGURE_ARGS+=	--enable-icon-browser
+
+.include "options.mk"
+
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/yad/PLIST b/yad/PLIST
new file mode 100644
index 0000000000..1b5d04062e
--- /dev/null
+++ b/yad/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD$
+bin/yad
+bin/yad-icon-browser
+man/man1/yad.1
+share/aclocal/yad.m4
+share/applications/yad-icon-browser.desktop
+share/icons/hicolor/128x128/apps/yad.png
+share/icons/hicolor/16x16/apps/yad.png
+share/icons/hicolor/24x24/apps/yad.png
+share/icons/hicolor/32x32/apps/yad.png
+share/icons/hicolor/48x48/apps/yad.png
+share/icons/hicolor/96x96/apps/yad.png
+share/locale/de/LC_MESSAGES/yad.mo
+share/locale/fr/LC_MESSAGES/yad.mo
+share/locale/it/LC_MESSAGES/yad.mo
+share/locale/pt_BR/LC_MESSAGES/yad.mo
+share/locale/ru/LC_MESSAGES/yad.mo
+share/locale/sk/LC_MESSAGES/yad.mo
+share/locale/uk/LC_MESSAGES/yad.mo
+share/locale/zh_TW/LC_MESSAGES/yad.mo
diff --git a/yad/distinfo b/yad/distinfo
new file mode 100644
index 0000000000..dc3c1d0b02
--- /dev/null
+++ b/yad/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (yad-0.40.0.tar.xz) = 4376eb42f8e38972124dc81e534cbdc9088109fb
+RMD160 (yad-0.40.0.tar.xz) = 00edbbe7d6d10a236a9b4994e38069d0ee5789a1
+SHA512 (yad-0.40.0.tar.xz) = 103193b316b74cafe8ef3da982df66e3dae17a206bc1c6852eb321507bba93fc7b54c25e959d2dbbdddc267c72b639a8cd9f1f22c03c9bccce283b4c29b8af44
+Size (yad-0.40.0.tar.xz) = 263332 bytes
diff --git a/yad/options.mk b/yad/options.mk
new file mode 100644
index 0000000000..57cfe48f56
--- /dev/null
+++ b/yad/options.mk
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR=		PKG_OPTIONS.yad
+
+PKG_OPTIONS_REQUIRED_GROUPS=	gtk
+PKG_OPTIONS_GROUP.gtk=		gtk2 gtk3
+
+PKG_SUGGESTED_OPTIONS=		gtk2
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgtk2)
+.include "../../www/webkit24-gtk/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mgtk3)
+CONFIGURE_ARGS+=	--with-gtk=gtk3
+.include "../../www/webkit24-gtk3/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.endif


Home | Main Index | Thread Index | Old Index