summaryrefslogtreecommitdiff
path: root/repo/apps
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-07 12:01:06 +0100
committerdavidovski <david@davidovski.xyz>2022-04-07 12:01:06 +0100
commit65f2daa1e41f38db5e29a73af9c02d6c390b1d24 (patch)
tree61eaf6f75c3c689563b548aaa0c58771b573c1bb /repo/apps
parent263f6e08dd1b5e79a54b6928a1d2559261950e72 (diff)
added neovim and its dependencies
Diffstat (limited to 'repo/apps')
-rw-r--r--repo/apps/neovim.xibuild26
-rw-r--r--repo/apps/xterm.xibuild49
2 files changed, 59 insertions, 16 deletions
diff --git a/repo/apps/neovim.xibuild b/repo/apps/neovim.xibuild
new file mode 100644
index 0000000..0b22d0e
--- /dev/null
+++ b/repo/apps/neovim.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+MAKEDEPS="make "
+DEPS="libintl libluv libtermkey libuv libvterm luajit msgpack-c musl tree-sitter unibilium lua-lpeg lua-mpack"
+
+PKG_VER=0.6.1
+SOURCE=https://github.com/neovim/neovim/archive/v$PKG_VER.tar.gz
+DESC="Vim-fork focused on extensibility and agility"
+
+build () {
+ mkdir build
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=MinSizeRel \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DENABLE_JEMALLOC=FALSE \
+ -DENABLE_LTO=TRUE \
+ -DUSE_BUNDLED=ON \
+ -DCMAKE_VERBOSE_MAKEFILE=TRUE
+ cmake --build build
+}
+
+
+package () {
+ DESTDIR="$PKG_DEST" cmake --install build
+}
diff --git a/repo/apps/xterm.xibuild b/repo/apps/xterm.xibuild
index 69ae2ff..bceb89d 100644
--- a/repo/apps/xterm.xibuild
+++ b/repo/apps/xterm.xibuild
@@ -5,8 +5,8 @@ DEPS="libxft libxaw ncurses luit xbitmaps libutempter libxkbfile"
DESC="X Terminal Emulator"
-PKG_VER=370
-SOURCE=https://invisible-mirror.net/archives/xterm/xterm-$PKG_VER.tgz
+PKG_VER=371
+SOURCE=ftp://ftp.invisible-island.net/xterm/xterm-$PKG_VER.tgz
ADDITIONAL="
posix-ptys.patch
"
@@ -20,8 +20,37 @@ prepare () {
}
build () {
- ./configure $XORG_CONFIG \
- --with-tty-group=tty
+ ./configure \
+ $XORG_CONFIG \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --with-x \
+ --disable-full-tgetent \
+ --disable-imake \
+ --enable-ansi-color \
+ --enable-88-color \
+ --enable-256-color \
+ --enable-broken-osc \
+ --enable-broken-st \
+ --enable-load-vt-fonts \
+ --enable-i18n \
+ --enable-wide-chars \
+ --enable-doublechars \
+ --enable-warnings \
+ --enable-tcap-query \
+ --enable-logging \
+ --enable-dabbrev \
+ --enable-freetype \
+ --enable-luit \
+ --enable-mini-luit \
+ --enable-narrowproto \
+ --enable-exec-xterm \
+ --enable-sixel-graphics \
+ --with-tty-group=tty \
+ --with-utempter
make
}
@@ -31,16 +60,4 @@ package () {
mkdir -p $PKG_DEST/usr/share/applications &&
cp *.desktop $PKG_DEST/usr/share/applications/
-
-
- mkdir -p $PKG_DEST/etc/X11/app-defaults
- cat >> $PKG_DEST/etc/X11/app-defaults/XTerm << "EOF"
-*VT100*locale: true
-*VT100*faceName: Monospace
-*VT100*faceSize: 10
-*backarrowKeyIsErase: true
-*ptyInitialErase: true
-EOF
-
-
}