diff options
Diffstat (limited to 'repo/x11')
-rw-r--r-- | repo/x11/dmenu.xibuild | 27 | ||||
-rw-r--r-- | repo/x11/gdk-pixbuf.xibuild | 24 | ||||
-rw-r--r-- | repo/x11/graphite.xibuild | 26 | ||||
-rw-r--r-- | repo/x11/harfbuzz.xibuild | 29 | ||||
-rw-r--r-- | repo/x11/libxkbcommon.xibuild | 28 | ||||
-rw-r--r-- | repo/x11/pango.xibuild | 26 | ||||
-rw-r--r-- | repo/x11/picom.xibuild | 9 | ||||
-rw-r--r-- | repo/x11/rofi.xibuild | 40 | ||||
-rw-r--r-- | repo/x11/xdg-utils.xibuild | 24 |
9 files changed, 227 insertions, 6 deletions
diff --git a/repo/x11/dmenu.xibuild b/repo/x11/dmenu.xibuild new file mode 100644 index 0000000..0356f4e --- /dev/null +++ b/repo/x11/dmenu.xibuild @@ -0,0 +1,27 @@ +#!/bin/sh + +NAME="dmenu" +DESC="Dynamic menu for X" + +MAKEDEPS="make" +DEPS="fontconfig libx11 libxft libxinerama musl" + +PKG_VER=5.1 +SOURCE="https://dl.suckless.org/tools/dmenu-$PKG_VER.tar.gz" + +prepare () { + sed -i -e '/CFLAGS/{s/-Os//;s/=/+=/}' \ + -e '/LDFLAGS/{s/=/+=/}' \ + config.mk +} + +build () { + make PREFIX=/usr \ + X11INC=/usr/include/X11 \ + X11LIB=/usr/lib/X11 \ + FREETYPEINC=/usr/include/freetype2 +} + +package () { + make PREFIX=/usr DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/gdk-pixbuf.xibuild b/repo/x11/gdk-pixbuf.xibuild new file mode 100644 index 0000000..66d5a0f --- /dev/null +++ b/repo/x11/gdk-pixbuf.xibuild @@ -0,0 +1,24 @@ +#!/bin/sh + +NAME="gdk-pixbuf" +DESC="GTK+ image loading library" + +MAKEDEPS="meson ninja " +DEPS="sbase glib shared-mime-info intltool libpng libjpeg-turbo tiff musl" + +PKG_VER=2.42.8 +SOURCE="https://download.gnome.org/sources/gdk-pixbuf/${PKG_VER%.*}/gdk-pixbuf-$PKG_VER.tar.xz" + +build () { + mkdir build && + cd build && + meson --prefix=/usr \ + -Dinstalled_tests=false \ + -Dpng=disabled \ + .. && + ninja +} + +package () { + DESTDIR=$PKG_DEST ninja install +} diff --git a/repo/x11/graphite.xibuild b/repo/x11/graphite.xibuild new file mode 100644 index 0000000..5583086 --- /dev/null +++ b/repo/x11/graphite.xibuild @@ -0,0 +1,26 @@ +#!/bin/sh + +NAME="graphite" +DESC="reimplementation of the SIL Graphite text processing engine" + +MAKEDEPS="cmake freetype2" +DEPS="musl " + +PKG_VER=1.3.14 +SOURCE="https://github.com/silnrsi/graphite/archive/$PKG_VER.tar.gz" +ADDITIONAL="cmake.patch " + +build () { + cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=MinSizeRel \ + -DGRAPHITE2_COMPARE_RENDERER=OFF \ + -DGRAPHITE2_NFILEFACE=ON + cmake --build build +} + +package () { + DESTDIR="$PKG_DEST" cmake --install build +} diff --git a/repo/x11/harfbuzz.xibuild b/repo/x11/harfbuzz.xibuild new file mode 100644 index 0000000..7164985 --- /dev/null +++ b/repo/x11/harfbuzz.xibuild @@ -0,0 +1,29 @@ +#!/bin/sh + +NAME="harfbuzz" +DESC="Text shaping library" + +MAKEDEPS="meson ninja " +DEPS="freetype2 glib graphite musl " + +PKG_VER=4.2.0 +SOURCE="https://github.com/harfbuzz/harfbuzz/archive/$PKG_VER.tar.gz" + +build () { + mkdir build && + cd build && + meson --prefix=/usr \ + -Dglib=enabled \ + -Dgobject=enabled \ + -Dgraphite=enabled \ + -Dicu=enabled \ + -Dfreetype=enabled \ + -Dcairo=enabled \ + -Ddocs=enabled \ + .. && + ninja +} + +package () { + DESTDIR=$PKG_DEST ninja install +} diff --git a/repo/x11/libxkbcommon.xibuild b/repo/x11/libxkbcommon.xibuild new file mode 100644 index 0000000..2675370 --- /dev/null +++ b/repo/x11/libxkbcommon.xibuild @@ -0,0 +1,28 @@ +#!/bin/sh + +NAME="libxkbcommon" +DESC="keyboard handling library" + +MAKEDEPS="meson ninja " +DEPS="libxml2 +musl +xkeyboardconfig" + +PKG_VER=1.4.0 +SOURCE="https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-$PKG_VER.tar.gz" + +build () { + mkdir build && + cd build && + meson --prefix=/usr \ + -Denable-wayland=true \ + -Denable-docs=false \ + -Denable-x11=true \ + -Ddefault_library=both \ + .. && + ninja +} + +package () { + DESTDIR=$PKG_DEST ninja install +} diff --git a/repo/x11/pango.xibuild b/repo/x11/pango.xibuild new file mode 100644 index 0000000..2515487 --- /dev/null +++ b/repo/x11/pango.xibuild @@ -0,0 +1,26 @@ +#!/bin/sh + +NAME="pango" +DESC="library for layout and rendering of text" + +MAKEDEPS="meson ninja" +DEPS="sbase cairo fontconfig freetype2 glib libx11 libxft libxrender musl" + +PKG_VER=1.50.5 +SOURCE="https://download.gnome.org/sources/pango/${PKG_VER%.*}/pango-$PKG_VER.tar.xz" +ADDITIONAL="disable-broken-test.patch " + +prepare () { + apply_patches +} + +build () { + mkdir build && + cd build && + meson --prefix=/usr .. && + ninja +} + +package () { + DESTDIR=$PKG_DEST ninja install +} diff --git a/repo/x11/picom.xibuild b/repo/x11/picom.xibuild index f8d8cf6..2c3eb28 100644 --- a/repo/x11/picom.xibuild +++ b/repo/x11/picom.xibuild @@ -1,9 +1,6 @@ #!/bin/sh -MAKEDEPS="libx11 libxcomposite libxinerama libxdamage - libconfig pcre libxrandr dbus libdrm mesa meson - libev libxdg-basedir pixman xcb-util-renderutil - xcb-util-image asciidoc uthash" +MAKEDEPS="libx11 libxcomposite libxinerama libxdamage libconfig pcre libxrandr dbus libdrm mesa meson libev libxdg-basedir pixman xcb-util-renderutil xcb-util-image asciidoc uthash" DEPS="dbus libconfig libev libx11 libxcb mesa-gl musl pcre pixman xcb-util-image xcb-util-renderutil" PKG_VER=9.1 @@ -19,9 +16,9 @@ build () { } package () { - DESTDIR=$PKG_DEST ninmake ja install + DESTDIR=$PKG_DEST ninja install mkdir -p "$PKG_DEST/usr/share/doc/picom" + cd .. install -m644 README* "$PKG_DEST/usr/share/doc/picom/" install -D -m644 "picom.sample.conf" "$PKG_DEST/etc/xdg/picom.conf.example" - } diff --git a/repo/x11/rofi.xibuild b/repo/x11/rofi.xibuild new file mode 100644 index 0000000..e377909 --- /dev/null +++ b/repo/x11/rofi.xibuild @@ -0,0 +1,40 @@ +#!/bin/sh + +NAME="rofi" +DESC="Window switcher, application launcher and dmenu replacement" + +MAKEDEPS="meson ninja " +DEPS="gdk-pixbuf cairo glib libxcb libxkbcommon libxkbfile musl xcb-util xcb-util-cursor xcb-util-wm pango startup-notification" + +PKG_VER=1.7.3 +SOURCE="https://github.com/davatorium/rofi/releases/download/$PKG_VER/rofi-$PKG_VER.tar.gz" + +libnkutils=d08fa898d71da4c11653284968ec14384dd70b6a +libgwater=555fa6df92434c1c3c7548b5a583b1d8ec3fabb3 +ADDITIONAL=" +scrollbar-test.patch +rofi-sensible-terminal-use-sh.patch +https://github.com/sardemff7/libgwater/archive/$libgwater.tar.gz +https://github.com/sardemff7/libnkutils/archive/$libnkutils.tar.gz +" + +prepare () { + apply_patches + tar xf $libgwater.tar.gz + tar xf $libnkutils.tar.gz + rm -rf subprojects/libnkutils subprojects/libgwater + mv libnkutils-$libnkutils subprojects/libnkutils + mv libgwater-$libgwater subprojects/libgwater +} + +build () { + mkdir build && + cd build && + meson --prefix=/usr .. && + ninja +} + +package () { + DESTDIR=$PKG_DEST ninja install + rm -rf $PKG_DEST/usr/share/rofi/themes/iggy.jpg +} diff --git a/repo/x11/xdg-utils.xibuild b/repo/x11/xdg-utils.xibuild new file mode 100644 index 0000000..d3fb5ee --- /dev/null +++ b/repo/x11/xdg-utils.xibuild @@ -0,0 +1,24 @@ +#!/bin/sh + +NAME="xdg-utils" +DESC="Basic desktop integration functions" + +MAKEDEPS="make " +DEPS="file xprop xset " + +PKG_VER=1.1.3 +SOURCE="https://portland.freedesktop.org/download/xdg-utils-$PKG_VER.tar.gz" +ADDITIONAL="xdg-screensaver-mv-T.patch " + +build () { + ./configure \ + --prefix=/usr + --bindir=/usr/bin \ + --sysconfdir=/etc \ + --disable-static + make +} + +package () { + make DESTDIR=$PKG_DEST install +} |