added rofi package (#115)
This commit is contained in:
parent
5091d4b557
commit
2c3c10b988
15
x11-packages/rofi/build.sh
Normal file
15
x11-packages/rofi/build.sh
Normal 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"
|
||||
}
|
18
x11-packages/rofi/configure.patch
Normal file
18
x11-packages/rofi/configure.patch
Normal 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`
|
Loading…
Reference in New Issue
Block a user