From db8fe452049af275e0f8323cee3404e592186b08 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 18 Feb 2022 01:13:27 +0000 Subject: added wayland --- repo/x11/libdrm.xibuild | 24 ++++++++++++++++++++++++ repo/x11/mesa.xibuild | 2 +- repo/x11/pixman.xibuild | 21 +++++++++++++++++++++ repo/x11/wayland-protocols.xibuild | 21 +++++++++++++++++++++ repo/x11/wayland.xibuild | 24 ++++++++++++++++++++++++ 5 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 repo/x11/libdrm.xibuild create mode 100644 repo/x11/pixman.xibuild create mode 100644 repo/x11/wayland-protocols.xibuild create mode 100644 repo/x11/wayland.xibuild (limited to 'repo/x11') 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 +} -- cgit v1.2.1