added rofi package (#115)

This commit is contained in:
Tristan Ross 2019-07-10 06:54:14 -07:00 committed by Yaksh Bariya
parent 5091d4b557
commit 2c3c10b988
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,15 @@
TERMUX_PKG_HOMEPAGE=https://github.com/DaveDavenport/rofi
TERMUX_PKG_DESCRIPTION="A window switcher, application launcher and dmenu replacement"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Tristan Ross <spaceboyross@yandex.com>"
TERMUX_PKG_VERSION=1.5.4
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL="https://github.com/DaveDavenport/rofi/releases/download/$TERMUX_PKG_VERSION/rofi-$TERMUX_PKG_VERSION.tar.xz"
TERMUX_PKG_SHA256=91a502cc29f964b529cd6228dbe655e82ab4e69c9852d23a24d9c1efb1af54db
TERMUX_PKG_DEPENDS="libandroid-glob, libandroid-shmem, startup-notification, libxkbcommon, xcb-util-wm, xcb-util-xrm, librsvg, libcairo-x"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-check"
termux_step_pre_configure() {
export LIBS="-landroid-glob -landroid-shmem"
}

View File

@ -0,0 +1,18 @@
diff -uNr rofi-1.5.4/configure rofi-1.5.4.mod/configure
--- rofi-1.5.4/configure 2019-07-01 15:29:12.000000000 +0300
+++ rofi-1.5.4.mod/configure 2019-07-10 16:50:01.284402244 +0300
@@ -7436,10 +7436,10 @@
fi
if test x"$no_glib" = x ; then
- GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
- GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
- GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
- GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
+ GLIB_GENMARSHAL=glib-genmarshal
+ GOBJECT_QUERY=gobject-query
+ GLIB_MKENUMS=glib-mkenums
+ GLIB_COMPILE_RESOURCES=glib-compile-resources
GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`