new package: 2bwm
This commit is contained in:
parent
50411f24a9
commit
fe629d5cff
17
x11-packages/2bwm/LICENSE.2bwm
Normal file
17
x11-packages/2bwm/LICENSE.2bwm
Normal file
@ -0,0 +1,17 @@
|
||||
/* 2bwm, a fast floating WM with the particularity of having 2 borders written
|
||||
* over the XCB library and derived from mcwm written by Michael Cardell.
|
||||
* Heavily modified version of http://www.hack.org/mc/hacks/mcwm/
|
||||
* Copyright (c) 2010, 2011, 2012 Michael Cardell Widerkrantz, mc at the domain hack.org.
|
||||
* Copyright (c) 2014, 2015 Patrick Louis, patrick at the domain iotek dot org.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
|
19
x11-packages/2bwm/LICENSE.hidden
Normal file
19
x11-packages/2bwm/LICENSE.hidden
Normal file
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* hidden - A small program to listen all windows with _NET_WM_STATE set to
|
||||
* Iconic.
|
||||
*
|
||||
* Copyright (c) 2012 Michael Cardell Widerkrantz, mc at the domain
|
||||
* hack.org.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
11
x11-packages/2bwm/Makefile.patch
Normal file
11
x11-packages/2bwm/Makefile.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -11,7 +11,7 @@
|
||||
DIST=2bwm-$(VERSION)
|
||||
SRC=2bwm.c list.h hidden.c config.h
|
||||
DISTFILES=Makefile README.md TODO 2bwm.man $(SRC)
|
||||
-CFLAGS+=-Os -s -I${X11_INCLUDE} \
|
||||
+CFLAGS+=-I${X11_INCLUDE} \
|
||||
-DTWOBWM_PATH=\"${TWOBWM_PATH}\"
|
||||
|
||||
LDFLAGS+=-L${PREFIX}/${LIB_SUFFIX} -lxcb -lxcb-randr -lxcb-keysyms \
|
18
x11-packages/2bwm/build.sh
Normal file
18
x11-packages/2bwm/build.sh
Normal file
@ -0,0 +1,18 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/venam/2bwm
|
||||
TERMUX_PKG_DESCRIPTION="A fast floating WM"
|
||||
TERMUX_PKG_LICENSE="ISC"
|
||||
TERMUX_PKG_LICENSE_FILE="LICENSE.2bwm, LICENSE.hidden"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.3
|
||||
TERMUX_PKG_SRCURL=https://github.com/venam/2bwm/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=a4889ea4b01b1a3d4a508daa034b9d86676913cbbca1f977858df692a6e2af95
|
||||
TERMUX_PKG_DEPENDS="libxcb, xcb-util-keysyms, xcb-util-wm, xcb-util-xrm"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_EXTRA_MAKE_ARGS="
|
||||
PREFIX=$TERMUX_PREFIX
|
||||
X11_INCLUDE=$TERMUX_PREFIX/include
|
||||
"
|
||||
|
||||
termux_step_post_get_source() {
|
||||
cp $TERMUX_PKG_BUILDER_DIR/LICENSE.{2bwm,hidden} ./
|
||||
}
|
Loading…
Reference in New Issue
Block a user