summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-18 01:13:27 +0000
committerdavidovski <david@davidovski.xyz>2022-02-18 01:13:27 +0000
commitdb8fe452049af275e0f8323cee3404e592186b08 (patch)
tree3211a4a57ebb012c16f1efb02b4f7692b634d727
parentc1856d77dd8f970e0b533f779789e236f13c2111 (diff)
added wayland
-rw-r--r--repo/font/fontconfig.xibuild22
-rw-r--r--repo/x11/libdrm.xibuild24
-rw-r--r--repo/x11/mesa.xibuild2
-rw-r--r--repo/x11/pixman.xibuild21
-rw-r--r--repo/x11/wayland-protocols.xibuild21
-rw-r--r--repo/x11/wayland.xibuild24
6 files changed, 113 insertions, 1 deletions
diff --git a/repo/font/fontconfig.xibuild b/repo/font/fontconfig.xibuild
new file mode 100644
index 0000000..9b8a4c8
--- /dev/null
+++ b/repo/font/fontconfig.xibuild
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+MAKEDEPS=(make libxml2 texlive)
+DEPS=(freetype json)
+
+PKG_VER=2.13.1
+SOURCE=https://www.freedesktop.org/software/fontconfig/release/fontconfig-$PKG_VER.tar.bz2
+
+DESC="Library for configuring and customizing font access"
+
+build () {
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-docs \
+ --docdir=/usr/share/doc/fontconfig-$PKG_VER &&
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}
diff --git a/repo/x11/libdrm.xibuild b/repo/x11/libdrm.xibuild
new file mode 100644
index 0000000..d40b907
--- /dev/null
+++ b/repo/x11/libdrm.xibuild
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+MAKEDEPS=(meson ninja docbook-xml docbook-xsl docutils libxslt)
+DEPS=(libpciaccess)
+
+PKG_VER=2.4.109
+SOURCE=https://dri.freedesktop.org/libdrm/libdrm-$PKG_VER.tar.xz
+
+DESC="Userspace interface to kernel DRM services"
+
+build () {
+ mkdir build &&
+ cd build &&
+
+ meson --prefix=$XORG_PREFIX \
+ --buildtype=release \
+ -Dudev=true \
+ -Dvalgrind=false &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}
diff --git a/repo/x11/mesa.xibuild b/repo/x11/mesa.xibuild
index 4db772b..617d047 100644
--- a/repo/x11/mesa.xibuild
+++ b/repo/x11/mesa.xibuild
@@ -1,6 +1,6 @@
#!/bin/bash
-MAKEDEPS=(meson ninja python-mako libva libvdpau llvm libxxf86vm libelf lm_sensors libexpat libvulkan)
+MAKEDEPS=(meson ninja python-mako libva libvdpau llvm libxxf86vm libelf lm_sensors libexpat libvulkan wayland-protocols)
DEPS=(xorg-libs libdrm)
PKG_VER=21.3.6
diff --git a/repo/x11/pixman.xibuild b/repo/x11/pixman.xibuild
new file mode 100644
index 0000000..d9a2a17
--- /dev/null
+++ b/repo/x11/pixman.xibuild
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+MAKEDEPS=(meson ninja)
+DEPS=(glibc)
+
+PKG_VER=0.40.0
+SOURCE=https://www.cairographics.org/releases/pixman-$PKG_VER.tar.gz
+
+DESC="The pixel-manipulation library for X and cairo"
+
+build () {
+ mkdir build &&
+ cd build &&
+
+ meson --prefix=/usr --buildtype=release &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}
diff --git a/repo/x11/wayland-protocols.xibuild b/repo/x11/wayland-protocols.xibuild
new file mode 100644
index 0000000..7c726a6
--- /dev/null
+++ b/repo/x11/wayland-protocols.xibuild
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+MAKEDEPS=(meson ninja)
+DEPS=(wayland)
+
+PKG_VER=1.25
+SOURCE=https://wayland.freedesktop.org/releases/wayland-protocols-$PKG_VER.tar.xz
+
+DESC="Specifications of extended Wayland protocols"
+
+build () {
+ mkdir build &&
+ cd build &&
+
+ meson --prefix=/usr --buildtype=release &&
+ ninja
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}
diff --git a/repo/x11/wayland.xibuild b/repo/x11/wayland.xibuild
new file mode 100644
index 0000000..c92b2f2
--- /dev/null
+++ b/repo/x11/wayland.xibuild
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+MAKEDEPS=(meson ninja xmlto docbook-xml-4.5 docbook-xsl libxslt)
+DEPS=(libxml2)
+
+PKG_VER=1.20.0
+SOURCE=https://wayland.freedesktop.org/releases/wayland-$PKG_VER.tar.xz
+
+DESC="A computer display server protocol"
+
+build () {
+ mkdir build &&
+ cd build &&
+
+ meson --prefix=/usr \
+ --buildtype=release \
+ -Ddocumentation=false &&
+ ninja
+
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}