diff options
author | davidovski <david@davidovski.xyz> | 2022-02-19 16:00:22 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-19 16:00:22 +0000 |
commit | 8aa51a5e03149837504688ab3cdcb7aa2ee5fadd (patch) | |
tree | e43956663c004f26ed571766a0a41a1011cdec7e /repo/x11 | |
parent | 0e8837f1bc69f7c8c9d1976550ea5b86e7e3d342 (diff) |
fixed dependency issues
Diffstat (limited to 'repo/x11')
-rw-r--r-- | repo/x11/libwacom.xibuild | 22 | ||||
-rw-r--r-- | repo/x11/xf86-video-intel.xibuild | 10 |
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" |