summaryrefslogtreecommitdiff
path: root/repo/rofi/rofi.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/rofi/rofi.xibuild
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/rofi/rofi.xibuild')
-rw-r--r--repo/rofi/rofi.xibuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/repo/rofi/rofi.xibuild b/repo/rofi/rofi.xibuild
new file mode 100644
index 0000000..e377909
--- /dev/null
+++ b/repo/rofi/rofi.xibuild
@@ -0,0 +1,40 @@
+#!/bin/sh
+
+NAME="rofi"
+DESC="Window switcher, application launcher and dmenu replacement"
+
+MAKEDEPS="meson ninja "
+DEPS="gdk-pixbuf cairo glib libxcb libxkbcommon libxkbfile musl xcb-util xcb-util-cursor xcb-util-wm pango startup-notification"
+
+PKG_VER=1.7.3
+SOURCE="https://github.com/davatorium/rofi/releases/download/$PKG_VER/rofi-$PKG_VER.tar.gz"
+
+libnkutils=d08fa898d71da4c11653284968ec14384dd70b6a
+libgwater=555fa6df92434c1c3c7548b5a583b1d8ec3fabb3
+ADDITIONAL="
+scrollbar-test.patch
+rofi-sensible-terminal-use-sh.patch
+https://github.com/sardemff7/libgwater/archive/$libgwater.tar.gz
+https://github.com/sardemff7/libnkutils/archive/$libnkutils.tar.gz
+"
+
+prepare () {
+ apply_patches
+ tar xf $libgwater.tar.gz
+ tar xf $libnkutils.tar.gz
+ rm -rf subprojects/libnkutils subprojects/libgwater
+ mv libnkutils-$libnkutils subprojects/libnkutils
+ mv libgwater-$libgwater subprojects/libgwater
+}
+
+build () {
+ mkdir build &&
+ cd build &&
+ meson --prefix=/usr .. &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+ rm -rf $PKG_DEST/usr/share/rofi/themes/iggy.jpg
+}