summaryrefslogtreecommitdiff
path: root/repo/x11
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-19 16:00:22 +0000
committerdavidovski <david@davidovski.xyz>2022-02-19 16:00:22 +0000
commit8aa51a5e03149837504688ab3cdcb7aa2ee5fadd (patch)
treee43956663c004f26ed571766a0a41a1011cdec7e /repo/x11
parent0e8837f1bc69f7c8c9d1976550ea5b86e7e3d342 (diff)
fixed dependency issues
Diffstat (limited to 'repo/x11')
-rw-r--r--repo/x11/libwacom.xibuild22
-rw-r--r--repo/x11/xf86-video-intel.xibuild10
2 files changed, 29 insertions, 3 deletions
diff --git a/repo/x11/libwacom.xibuild b/repo/x11/libwacom.xibuild
new file mode 100644
index 0000000..18653e9
--- /dev/null
+++ b/repo/x11/libwacom.xibuild
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+MAKEDEPS=(meson libxml2)
+DEPS=(glib2 libgudev librsvg)
+
+DESC="Library to identify Wacom tablets and their features"
+
+PKG_VER=2.1.0
+SOURCE=https://github.com/linuxwacom/libwacom/releases/download/libwacom-$PKG_VER/libwacom-$PKG_VER.tar.xz
+
+build () {
+ mkdir build &&
+ cd build &&
+
+ meson --prefix=/usr --buildtype=release -Dtests=disabled .. &&
+ ninja
+
+}
+
+package () {
+ DESTDIR=$PKG_DEST ninja install
+}
diff --git a/repo/x11/xf86-video-intel.xibuild b/repo/x11/xf86-video-intel.xibuild
index 90852d3..f3f5a2c 100644
--- a/repo/x11/xf86-video-intel.xibuild
+++ b/repo/x11/xf86-video-intel.xibuild
@@ -6,11 +6,13 @@ DEPS=(xorg-server mesa libxvmc pixman xcb-util)
DESC="X.org intel video driver"
PKG_VER=2.99.917
-SOURCE=https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git
-BRANCH=$PKG_VER
+# TODO switch to official source not blfs
+SOURCE=https://anduin.linuxfromscratch.org/BLFS/xf86-video-intel/xf86-video-intel-20210222.tar.xz
+#BRANCH=$PKG_VER
build () {
- ./autogen.sh $XORG_CONFIG \
+ ./autogen.sh
+ ./configure $XORG_CONFIG \
--enable-kms-only \
--enable-uxa \
--mandir=/usr/share/man &&
@@ -19,10 +21,12 @@ build () {
package () {
make DESTDIR=$PKG_DEST install
+ mkdir -pv $PKG_DEST/usr/share/man/man1
mv -v $PKG_DEST/usr/share/man/man4/intel-virtual-output.4 \
$PKG_DEST/usr/share/man/man1/intel-virtual-output.1 &&
sed -i '/\.TH/s/4/1/' $PKG_DEST/usr/share/man/man1/intel-virtual-output.1
+ mkdir -pv $PKG_DEST/etc/X11/xorg.conf.d
cat >> $PKG_DEST/etc/X11/xorg.conf.d/20-intel.conf << "EOF"
Section "Device"
Identifier "Intel Graphics"