summaryrefslogtreecommitdiff
path: root/x11/rofi
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2016-06-12 20:31:10 +0000
committerkamil <kamil@pkgsrc.org>2016-06-12 20:31:10 +0000
commit17f79b1a6d8a64186043cba15d9ed05f865a2cba (patch)
tree7abffc7e340992133134d176273215ce93c48985 /x11/rofi
parent13ebecce3707f71aef4b7fd3f435b8a259e5a727 (diff)
downloadpkgsrc-17f79b1a6d8a64186043cba15d9ed05f865a2cba.tar.gz
Import rofi-1.0.1 as x11/rofi
A popup window switcher roughly based on superswitcher. This version started off as a clone of simpleswitcher, the version from Sean Pringle. All credit for this great tool should go to him. Rofi developed extra features, like a run-dialog, ssh-launcher and can act as a drop-in dmenu replacement, making it a very versatile tool. Using Rofi is a lot like dmenu, but extended for an improved work flow. Originally packaged in pkgsrc-wip by myself.
Diffstat (limited to 'x11/rofi')
-rw-r--r--x11/rofi/DESCR7
-rw-r--r--x11/rofi/Makefile27
-rw-r--r--x11/rofi/PLIST5
-rw-r--r--x11/rofi/distinfo6
-rw-r--r--x11/rofi/options.mk12
5 files changed, 57 insertions, 0 deletions
diff --git a/x11/rofi/DESCR b/x11/rofi/DESCR
new file mode 100644
index 00000000000..4c6bec2e489
--- /dev/null
+++ b/x11/rofi/DESCR
@@ -0,0 +1,7 @@
+A popup window switcher roughly based on superswitcher. This version started
+off as a clone of simpleswitcher, the version from Sean Pringle. All credit for
+this great tool should go to him. Rofi developed extra features, like a
+run-dialog, ssh-launcher and can act as a drop-in dmenu replacement, making it
+a very versatile tool.
+
+Using Rofi is a lot like dmenu, but extended for an improved work flow.
diff --git a/x11/rofi/Makefile b/x11/rofi/Makefile
new file mode 100644
index 00000000000..80c0d13bf0c
--- /dev/null
+++ b/x11/rofi/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2016/06/12 20:31:10 kamil Exp $
+
+DISTNAME= rofi-1.0.1
+CATEGORIES= x11
+# We need to specify this long path to get submodules fetched
+MASTER_SITES= ${MASTER_SITE_GITHUB:=DaveDavenport/${PKGBASE}/releases/download/${PKGVERSION_NOREV}/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://davedavenport.github.io/rofi/
+COMMENT= Window switcher, run dialog and dmenu replacement
+LICENSE= x11
+
+USE_TOOLS+= pkg-config bash
+
+GNU_CONFIGURE= yes
+
+REPLACE_BASH+= script/rofi-sensible-terminal
+
+.include "../../wip/rofi/options.mk"
+
+.include "../../x11/startup-notification/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../x11/libxkbcommon/buildlink3.mk"
+.include "../../x11/xcb-util/buildlink3.mk"
+.include "../../x11/xcb-util-wm/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/rofi/PLIST b/x11/rofi/PLIST
new file mode 100644
index 00000000000..0e4acba0424
--- /dev/null
+++ b/x11/rofi/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2016/06/12 20:31:10 kamil Exp $
+bin/rofi
+bin/rofi-sensible-terminal
+man/man1/rofi-sensible-terminal.1
+man/man1/rofi.1
diff --git a/x11/rofi/distinfo b/x11/rofi/distinfo
new file mode 100644
index 00000000000..c95b8fdfe25
--- /dev/null
+++ b/x11/rofi/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/06/12 20:31:10 kamil Exp $
+
+SHA1 (rofi-1.0.1.tar.gz) = e393b8cb605397e5f295307dbb9d4025a508e84e
+RMD160 (rofi-1.0.1.tar.gz) = 8b16b6ea3fb72614bfb7147aa63460fe98696384
+SHA512 (rofi-1.0.1.tar.gz) = 48c8df2455f7de9ffb93af8d76ada89e6a5d2bbd6552bfac0c4f13c624061384371095e19208f6b554a1164ac83232cc735b3c39f94079635804b300e563eb1c
+Size (rofi-1.0.1.tar.gz) = 241236 bytes
diff --git a/x11/rofi/options.mk b/x11/rofi/options.mk
new file mode 100644
index 00000000000..b72c7a567a9
--- /dev/null
+++ b/x11/rofi/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2016/06/12 20:31:10 kamil Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.rofi
+
+PKG_SUPPORTED_OPTIONS= i3
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mi3)
+.include "../../wm/i3/buildlink3.mk"
+.endif