summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
Diffstat (limited to 'repo')
-rw-r--r--repo/apps/links.xibuild27
-rw-r--r--repo/apps/xlinks.xibuild30
-rw-r--r--repo/devel/cbindgen.xibuild18
-rw-r--r--repo/media/babl.xibuild26
-rw-r--r--repo/media/exiv2.xibuild23
-rw-r--r--repo/media/gexiv2.xibuild25
-rw-r--r--repo/media/libmypaint.xibuild23
-rw-r--r--repo/media/libraw.xibuild27
-rw-r--r--repo/media/openjpeg.xibuild28
-rw-r--r--repo/media/poppler.xibuild29
-rw-r--r--repo/system/json-c.xibuild23
-rw-r--r--repo/system/json-glib.xibuild23
-rw-r--r--repo/util/iftop.xibuild23
-rw-r--r--repo/util/iwd.xibuild35
-rw-r--r--repo/util/tmux.xibuild31
-rw-r--r--repo/x11/slock.xibuild18
-rw-r--r--repo/x11/xclip.xibuild27
-rw-r--r--repo/x11/xsel.xibuild28
18 files changed, 464 insertions, 0 deletions
diff --git a/repo/apps/links.xibuild b/repo/apps/links.xibuild
new file mode 100644
index 0000000..bb2540d
--- /dev/null
+++ b/repo/apps/links.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="links"
+DESC="Web browser running in text mode only"
+
+MAKEDEPS="make "
+DEPS="bzip2 openssl libevent musl zlib zstd "
+
+PKG_VER=2.25
+SOURCE="http://links.twibright.com/download/links-$PKG_VER.tar.bz2"
+
+build () {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+ --disable-javascript \
+ --disable-graphics \
+ --without-x \
+ --disable-nls
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}
diff --git a/repo/apps/xlinks.xibuild b/repo/apps/xlinks.xibuild
new file mode 100644
index 0000000..992c6a3
--- /dev/null
+++ b/repo/apps/xlinks.xibuild
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+NAME="xlinks"
+DESC="Web browser running in both graphics and text mode"
+
+MAKEDEPS="make "
+DEPS="bzip2 openssl libevent musl zlib zstd libx11 tiff libpng librsvg"
+
+PKG_VER=2.25
+SOURCE="http://links.twibright.com/download/links-$PKG_VER.tar.bz2"
+ADDITIONAL="links.desktop"
+
+build () {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-graphics \
+ --with-x \
+ --with-fb
+ --disable-nls
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+ mv $PKG_DEST/usr/bin/links $PKG_DEST/usr/bin/xlinks
+ install -D -m0644 "links.desktop" "$PKG_DEST/usr/share/applications/links.desktop"
+}
diff --git a/repo/devel/cbindgen.xibuild b/repo/devel/cbindgen.xibuild
new file mode 100644
index 0000000..8bebc3a
--- /dev/null
+++ b/repo/devel/cbindgen.xibuild
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+NAME="cbindgen"
+DESC="Tool to generate C bindings from Rust code"
+
+MAKEDEPS=""
+DEPS="gcc "
+
+PKG_VER=0.20.0
+SOURCE="https://crates.io/api/v1/crates/cbindgen/$PKG_VER/download"
+
+build () {
+ cargo build --release --locked --verbose
+}
+
+package () {
+ install -Dm0755 target/release/cbindgen "$PKG_DEST/usr/bin/cbindgen"
+}
diff --git a/repo/media/babl.xibuild b/repo/media/babl.xibuild
new file mode 100644
index 0000000..f786806
--- /dev/null
+++ b/repo/media/babl.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+NAME="babl"
+DESC="Dynamic, any to any, pixel format conversion library"
+
+MAKEDEPS="meson ninja "
+DEPS="lcms2 "
+
+PKG_VER=0.1.92
+SOURCE="https://ftp.gimp.org/pub/babl/${PKG_VER%.*}/babl-$PKG_VER.tar.xz"
+ADDITIONAL="meson-0.60.patch "
+
+prepare () {
+ apply_patches
+}
+
+build () {
+ cd build &&
+ meson --prefix=/usr \
+ .. &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}
diff --git a/repo/media/exiv2.xibuild b/repo/media/exiv2.xibuild
new file mode 100644
index 0000000..9a640bc
--- /dev/null
+++ b/repo/media/exiv2.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="exiv2"
+DESC="Exif and Iptc metadata manipulation library and tools."
+
+MAKEDEPS="cmake "
+DEPS="expat musl zlib "
+
+PKG_VER=0.27.5
+SOURCE="https://github.com/Exiv2/exiv2/releases/download/v$PKG_VER/exiv2-$PKG_VER-Source.tar.gz"
+
+build () {
+ cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DBUILD_STATIC_LIBS=OFF
+ cmake --build build
+}
+
+package () {
+ DESTDIR="$PKG_DEST" cmake --install build
+}
diff --git a/repo/media/gexiv2.xibuild b/repo/media/gexiv2.xibuild
new file mode 100644
index 0000000..1aacbd4
--- /dev/null
+++ b/repo/media/gexiv2.xibuild
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+NAME="gexiv2"
+DESC="GObject-based wrapper around the Exiv2 library"
+
+MAKEDEPS="meson ninja "
+DEPS="exiv2 glib "
+
+PKG_VER=0.14.0
+SOURCE="https://download.gnome.org/sources/gexiv2/${PKG_VER%.*}/gexiv2-$PKG_VER.tar.xz"
+
+build () {
+ mkdir build &&
+ cd build &&
+ meson --prefix=/usr \
+ -Dgtk_doc=true \
+ -Dintrospection=true \
+ -Dvapi=true \
+ .. &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}
diff --git a/repo/media/libmypaint.xibuild b/repo/media/libmypaint.xibuild
new file mode 100644
index 0000000..87df793
--- /dev/null
+++ b/repo/media/libmypaint.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="libmypaint"
+DESC="library for making brushstrokes"
+
+MAKEDEPS="make "
+DEPS="glib json-c intltool "
+
+PKG_VER=1.6.1
+SOURCE="https://github.com/mypaint/libmypaint/releases/download/v$PKG_VER/libmypaint-$PKG_VER.tar.xz"
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-static
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}
diff --git a/repo/media/libraw.xibuild b/repo/media/libraw.xibuild
new file mode 100644
index 0000000..5a06397
--- /dev/null
+++ b/repo/media/libraw.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="libraw"
+DESC="Library for reading RAW files obtained from digital photo cameras"
+
+MAKEDEPS="make "
+DEPS="musl "
+
+PKG_VER=0.20.2
+SOURCE="https://www.libraw.org/data/LibRaw-$PKG_VER.tar.gz"
+
+prepare () {
+ autoreconf -fi
+}
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-static
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}
diff --git a/repo/media/openjpeg.xibuild b/repo/media/openjpeg.xibuild
new file mode 100644
index 0000000..9a20ff7
--- /dev/null
+++ b/repo/media/openjpeg.xibuild
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+NAME="openjpeg"
+DESC="Open-source implementation of JPEG2000 image codec"
+
+MAKEDEPS="cmake "
+DEPS="musl "
+
+PKG_VER=2.4.0
+SOURCE="https://github.com/uclouvain/openjpeg/archive/v$PKG_VER/openjpeg-v$PKG_VER.tar.gz"
+ADDITIONAL="b4700bc09d55ac17ff6bef9b0a867f6de527be17.patch fix-cmakelists.patch "
+
+prepare () {
+ apply_patches
+}
+
+build () {
+ cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DBUILD_STATIC_LIBS=OFF
+ cmake --build build
+}
+
+package () {
+ DESTDIR="$PKG_DEST" cmake --install build
+}
diff --git a/repo/media/poppler.xibuild b/repo/media/poppler.xibuild
new file mode 100644
index 0000000..181fc75
--- /dev/null
+++ b/repo/media/poppler.xibuild
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+NAME="poppler"
+DESC="PDF rendering library based on xpdf 3.0"
+
+MAKEDEPS="cmake "
+DEPS="fontconfig freetype2 lcms2 libjpeg-turbo libpng musl openjpeg tiff "
+
+PKG_VER=22.03.0
+SOURCE="https://poppler.freedesktop.org/poppler-$PKG_VER.tar.xz"
+ADDITIONAL="dont-enforce-build-type.patch "
+
+build () {
+ cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
+ -DBUILD_QT5_TESTS=OFF \
+ -DENABLE_QT5=OFF \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ -DENABLE_BOOST=OFF \
+
+ cmake --build build
+}
+
+package () {
+ DESTDIR="$PKG_DEST" cmake --install build
+}
diff --git a/repo/system/json-c.xibuild b/repo/system/json-c.xibuild
new file mode 100644
index 0000000..339e62b
--- /dev/null
+++ b/repo/system/json-c.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="json-c"
+DESC="A JSON implementation in C"
+
+MAKEDEPS="cmake "
+DEPS="musl "
+
+PKG_VER=0.15
+SOURCE="https://s3.amazonaws.com/json-c_releases/releases/json-c-$PKG_VER.tar.gz"
+
+build () {
+ cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DBUILD_STATIC_LIBS=OFF
+ cmake --build build
+}
+
+package () {
+ DESTDIR="$PKG_DEST" cmake --install build
+}
diff --git a/repo/system/json-glib.xibuild b/repo/system/json-glib.xibuild
new file mode 100644
index 0000000..ce9f0b5
--- /dev/null
+++ b/repo/system/json-glib.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="json-glib"
+DESC="JSON library built on GLib"
+
+MAKEDEPS="meson ninja "
+DEPS="glib musl "
+
+PKG_VER=1.6.6
+SOURCE="https://download.gnome.org/sources/json-glib/${PKG_VER%.*}/json-glib-$PKG_VER.tar.xz"
+
+build () {
+ mkdir build &&
+ cd build &&
+ meson --prefix=/usr \
+ -Dgtk_doc=disabled \
+ .. &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}
diff --git a/repo/util/iftop.xibuild b/repo/util/iftop.xibuild
new file mode 100644
index 0000000..aade527
--- /dev/null
+++ b/repo/util/iftop.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="iftop"
+DESC="A tool to display bandwidth usage on an interface"
+
+MAKEDEPS="make "
+DEPS="libpcap musl "
+
+PKG_VER=0.17
+SOURCE="https://www.ex-parrot.com/~pdw/iftop/download/iftop-$PKG_VER.tar.gz"
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-static
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}
diff --git a/repo/util/iwd.xibuild b/repo/util/iwd.xibuild
new file mode 100644
index 0000000..05e10ee
--- /dev/null
+++ b/repo/util/iwd.xibuild
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+NAME="iwd"
+DESC="Internet Wireless Daemon"
+
+MAKEDEPS="make "
+DEPS="dbus musl readline "
+
+PKG_VER=1.27
+SOURCE="https://mirrors.edge.kernel.org/pub/linux/network/wireless/iwd-$PKG_VER.tar.gz"
+ADDITIONAL="iwd.initd iwd.confd main.conf"
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-static \
+ --disable-systemd-service \
+ --enable-wired \
+ --enable-tools
+
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+ install -m750 -d "$PKG_DEST"/var/lib/iwd
+
+ install -m644 -D main.conf "$PKG_DEST"/etc/iwd/main.conf
+
+ install -m755 -D iwd.initd "$PKG_DEST"/etc/init.d/iwd
+ install -m644 -D iwd.confd "$PKG_DEST"/etc/conf.d/iwd
+
+}
diff --git a/repo/util/tmux.xibuild b/repo/util/tmux.xibuild
new file mode 100644
index 0000000..bbb42e1
--- /dev/null
+++ b/repo/util/tmux.xibuild
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+NAME="tmux"
+DESC="Tool to control multiple terminals from a single terminal"
+
+MAKEDEPS="make "
+DEPS="libevent musl ncurses "
+
+PKG_VER=3.2a
+SOURCE="https://github.com/tmux/tmux/releases/download/$PKG_VER/tmux-$PKG_VER.tar.gz"
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-static
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+
+ install -D -m644 example_tmux.conf \
+ "$PKG_DEST"/usr/share/doc/tmux/examples/tmux.conf
+
+ for file in CHANGES README; do
+ install -m644 "$file" "$PKG_DEST"/usr/share/doc/tmux/
+ done
+
+}
diff --git a/repo/x11/slock.xibuild b/repo/x11/slock.xibuild
new file mode 100644
index 0000000..596cdcf
--- /dev/null
+++ b/repo/x11/slock.xibuild
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+NAME="slock"
+DESC="simple X display locker utility"
+
+MAKEDEPS="make "
+DEPS="libx11 "
+
+PKG_VER=master
+SOURCE="https://git.suckless.org/slock"
+
+build () {
+ make PREFIX=/usr
+}
+
+package () {
+ make PREFIX=/usr DESTDIR=$PKG_DEST install
+}
diff --git a/repo/x11/xclip.xibuild b/repo/x11/xclip.xibuild
new file mode 100644
index 0000000..28de291
--- /dev/null
+++ b/repo/x11/xclip.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="xclip"
+DESC="Command line interface to the X11 clipboard"
+
+MAKEDEPS="make "
+DEPS="libx11 musl libxmu "
+
+PKG_VER=0.13
+SOURCE="https://github.com/astrand/xclip/archive/$PKG_VER.tar.gz"
+
+prepare () {
+ autoreconf -vif
+}
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-static
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}
diff --git a/repo/x11/xsel.xibuild b/repo/x11/xsel.xibuild
new file mode 100644
index 0000000..ee59b5b
--- /dev/null
+++ b/repo/x11/xsel.xibuild
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+NAME="xsel"
+DESC="Command-line program for manipulating the X selection"
+
+MAKEDEPS="make "
+DEPS="libx11 "
+
+PKG_VER=1.2.0_git20190821
+git_rev=ef01f3c72a195dbce682184c842b81b17d7d7ad1
+SOURCE="https://github.com/kfish/xsel/archive/$git_rev/xsel-$git_rev.tar.gz"
+
+prepare () {
+ autoreconf -fi
+}
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-static
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}