.github: use MPBT for building drivers

Use the Multi Project Builder Tool for building Xserver SDK and drivers,
along with dependencies. The SDK build is already optimized that much that
we can build all drivers in parallel, trimming down the total (wall clock)
build time heavily.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2026-02-13 14:59:17 +01:00
parent cb5f2cd67e
commit 4495708ee2
71 changed files with 1061 additions and 1 deletions

View File

@@ -92,4 +92,5 @@ apt-get install -y \
xutils-dev \
libxaw7-dev \
python3-mako \
libxcvt-dev
libxcvt-dev \
golang-go

View File

@@ -352,3 +352,80 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: .github/scripts/github/make-release
xserver-and-drivers-mpbt:
runs-on: ubuntu-latest
strategy:
matrix:
package:
- input-elographics
- input-evdev
- input-joystick
- input-keyboard
- input-libinput
- input-mouse
- input-synaptics
- input-vmmouse
- input-void
- input-wacom
- video-amdgpu
- video-apm
- video-ark
- video-ast
- video-ati
- video-chips
- video-cirrus
- video-dummy
- video-fbdev
- video-freedreno
- video-geode
- video-i128
- video-i740
- video-intel
- video-mach64
- video-mga
- video-neomagic
- video-nested
- video-nouveau
- video-nv
- video-omap
- video-qxl
- video-r128
- video-rendition
- video-s3virge
- video-savage
- video-siliconmotion
- video-sisusb
- video-sis
- video-suncg14
- video-suncg3
- video-suncg6
- video-sunffb
- video-sunleo
- video-suntcx
- video-tdfx
- video-trident
- video-v4l
- video-vbox
- video-vesa
- video-vmware
- video-voodoo
- video-xgi
name: Driver ${{ matrix.package }} (MPBT)
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: pkg install
run: sudo .github/scripts/ubuntu/install-pkg.sh
- name: install mpbt package
run: go install github.com/metux/mpbt/cmd/mpbt-builder@v0.1.2
- name: build driver ${{ matrix.package }}
run: |
~/go/bin/mpbt-builder \
-root . \
-solution .mpbt/cf/xlibre/solutions/github-ubuntu-drivers.yaml \
-solution-define build=xserver/xf86-${{ matrix.package }} \
build

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@
*.swp
*.patch
tags
/_WORK_

View File

@@ -0,0 +1,11 @@
provides: sys/libdrm
type: bundle
sources:
git:
url: ${@SOLUTION::xlibre_git}/mirror.fdo.drm
ref: ${ref}
depth: 1
fetch:
- refs/tags/${ref}:refs/tags/${ref}
buildsystem: meson
ref: libdrm-2.4.121

View File

@@ -0,0 +1,11 @@
provides: x11/util-macros
type: bundle
sources:
git:
url: ${@SOLUTION::xlibre_git}/mirror.fdo.xorg-macros.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/${ref}:refs/tags/${ref}
buildsystem: autotools
ref: util-macros-1.20.2

View File

@@ -0,0 +1,12 @@
provides: x11/xcb-proto
type: bundle
sources:
git:
url: ${@SOLUTION::xlibre_git}/mirror.fdo.xcbproto.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/${ref}:refs/tags/${ref}
buildsystem: autotools
version: 1.17.0
ref: ${@basename}-${version}

View File

@@ -0,0 +1,12 @@
provides: x11/xorgproto
type: bundle
sources:
git:
url: ${@SOLUTION::xlibre_git}/mirror.fdo.${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/${ref}:refs/tags/${ref}
buildsystem: meson
version: 2024.1
ref: ${@basename}-${version}

View File

@@ -0,0 +1,2 @@
provides: x11/font-util
type: system

View File

@@ -0,0 +1,2 @@
provides: sys/libdrm
type: system

View File

@@ -0,0 +1,2 @@
provides: x11/libxcb-util
type: system

View File

@@ -0,0 +1,2 @@
provides: x11/libxcb-wm
type: system

View File

@@ -0,0 +1,2 @@
provides: x11/libxcb
type: system

View File

@@ -0,0 +1,2 @@
provides: x11/libxcvt
type: system

View File

@@ -0,0 +1,2 @@
provides: sys/pciaccess
type: system

View File

@@ -0,0 +1,2 @@
provides: x11/libx11
type: system

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,15 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.1
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.1
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,16 @@
sources:
git:
url: ${@SOLUTION::xlibre_git}/${@basename}.git
ref: ${ref}
depth: 1
fetch:
- refs/tags/xlibre-${@basename}-*:refs/tags/xlibre-${@basename}-*
buildsystem: autotools
build-depends:
- x11/xserver-sdk
- 3rdparty/util-macros
version: 25.0.0
ref: xlibre-${@basename}-${version}

View File

@@ -0,0 +1,20 @@
provides:
- x11/xserver-sdk
- xlibre-xserver
sources:
# directly from this source tree instead of cloning
local: ${@PROJECT::@rootdir}
source-dir: ${@PROJECT::@rootdir}
buildsystem: meson
depends:
- sys/pciaccess
- x11/libxcvt
- sys/libdrm
build-depends:
- x11/xorgproto
- x11/xcb-proto

View File

@@ -0,0 +1,50 @@
# needed by several sources
xlibre_git: https://github.com/X11Libre
install-prefix: ${@PROJECT::@homedir}/.usr/xlibre
# tell which actual packages for resolving `provides`
package-mapping:
x11/font-util: os-installed/font-util
sys/libdrm: 3rdparty/libdrm
x11/libxcb: os-installed/libxcb
x11/libxcb-util: os-installed/libxcb-util
x11/libxcb-wm: os-installed/libxcb-wm
x11/libxcvt: os-installed/libxcvt
x11/libx11: os-installed/libx11
x11/util-macros: 3rdparty/util-macros
x11/xcb-proto: 3rdparty/xcb-proto
x11/xorgproto: 3rdparty/xorgproto
# per package configuration
package-config:
# minimal sdk-only build, just enough to compile drivers
xserver/xlibre-xserver-local:
meson-extra-args:
- -Dxephyr=false
- -Dxnest=false
- -Dxvfb=false
- -Dxfbdev=false
- -Dxorg=false
- -Dxorg-sdk=true
- -Dsuid_wrapper=false
- -Dxf86-input-inputtest=false
3rdparty/libdrm:
meson-extra-args:
- -Domap=enabled
- -Dfreedreno=enabled
3rdparty/xcb-proto:
ref: xcb-proto-1.17.0
# intentionally have no "build" section - caller needs to set it explicitly
# extra environment variables
env:
PKG_CONFIG_PATH: ${install-prefix}/share/pkgconfig:${install-prefix}/lib/pkgconfig:${install-prefix}/lib/${@PROJECT::@machine}/pkgconfig/
ACLOCAL_PATH: ${install-prefix}/share/aclocal
ACLOCAL_FLAGS: -I ${install-prefix}/share/aclocal
packages:
- ${@PROJECT::@rootdir}/.mpbt/cf/xlibre/packages

View File

@@ -911,7 +911,9 @@ if build_xorg_sdk
host_machine.system() == 'windows')
sdkconfig.set('XORG_DRIVER_LIBS', '-lXorg.exe -L\${moduledir} -lshadow -no-undefined')
endif
endif
if build_xorg_sdk
configure_file(
input: 'xorg-server.pc.in',
output: 'xorg-server.pc',