Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 6 additions & 31 deletions srcpkgs/igt-gpu-tools/patches/musl.patch
Original file line number Diff line number Diff line change
@@ -1,35 +1,10 @@
--- a/lib/igt_vc4.h
+++ b/lib/igt_vc4.h
@@ -31,7 +31,9 @@
#include "igt_fb.h"
#include "vc4_drm.h"

+#ifndef PAGE_SIZE
#define PAGE_SIZE 4096
+#endif

uint32_t igt_vc4_get_cleared_bo(int fd, size_t size, uint32_t clearval);
int igt_vc4_create_bo(int fd, size_t size);

--- a/lib/xe/xe_sriov_debugfs.c
+++ b/lib/xe/xe_sriov_debugfs.c
@@ -3,6 +3,7 @@
* Copyright(c) 2024 Intel Corporation. All rights reserved.
--- igt-gpu-tools-2.4.orig/tools/intel_gpu_frequency.c 2026-04-21 16:39:22.088999371 -0300
+++ igt-gpu-tools-2.4/tools/intel_gpu_frequency.c 2026-04-21 16:57:09.152874412 -0300
@@ -22,6 +22,7 @@
*/


#include <assert.h>
+#include <limits.h>
#include <dirent.h>
#include <fcntl.h>

--- a/lib/svga/vm_basic_types.h
+++ b/lib/svga/vm_basic_types.h
@@ -27,6 +27,9 @@
#define VM_BASIC_TYPES_H

#define PAGE_SHIFT 12
+#ifdef PAGE_SIZE
+#undef PAGE_SIZE
+#endif
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE - 1))
#define PAGE_ALIGN(addr) (((addr) + PAGE_SIZE - 1) & PAGE_MASK)
#include <getopt.h>
6 changes: 3 additions & 3 deletions srcpkgs/igt-gpu-tools/template
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Template file for 'igt-gpu-tools'
pkgname=igt-gpu-tools
version=2.1
version=2.4
revision=1
build_style=meson
configure_args="-Db_ndebug=false -Ddocs=disabled"
hostmakedepends="pkg-config flex peg python3-docutils"
makedepends="libdrm-devel libkmod-devel liboping-devel procps-ng-devel libunwind-devel
elfutils-devel pixman-devel valgrind-devel cairo-devel xmlrpc-c-devel gsl-devel
alsa-lib-devel json-c-devel libXrandr-devel"
alsa-lib-devel json-c-devel libXrandr-devel pciutils-devel"
short_desc="Tools for development and testing of the DRM drivers"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://gitlab.freedesktop.org/drm/igt-gpu-tools"
changelog="https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/raw/master/NEWS"
distfiles="${XORG_SITE}/app/igt-gpu-tools-${version}.tar.xz"
checksum=bf72beff71093db692f386c9359b557dfa8e8c45250439c952564b1b6fe343f8
checksum=a44b7d089a27555944d4cd5da372c9339501539e3cd2735bbdb30e0d802f1cbe
# tests don't behave in containers
make_check=ci-skip

Expand Down
6 changes: 3 additions & 3 deletions srcpkgs/intel-gmmlib/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'intel-gmmlib'
pkgname=intel-gmmlib
version=22.9.0
version=22.10.0
revision=1
archs="i686* x86_64*"
build_style=cmake
Expand All @@ -17,7 +17,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/intel/gmmlib"
distfiles="https://github.com/intel/gmmlib/archive/intel-gmmlib-${version}.tar.gz"
checksum=6ae262b95540681ad5478c63affb880135f772c95410b092009a6f7dfc04a5ba
checksum=893e3c5a24b408ac312a0318b70f38f427f297646e323f31e79d3a06a92c1543

lib32disabled=yes

Expand All @@ -26,7 +26,7 @@ post_install() {
}

intel-gmmlib-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/intel-media-driver/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'intel-media-driver'
pkgname=intel-media-driver
version=25.4.6
version=26.1.6
revision=1
archs="x86_64*"
build_style=cmake
Expand All @@ -13,7 +13,7 @@ license="MIT, BSD-3-Clause"
homepage="https://github.com/intel/media-driver"
changelog="https://github.com/intel/media-driver/releases"
distfiles="https://github.com/intel/media-driver/archive/intel-media-${version}.tar.gz"
checksum=e5cf57c66e22359d1ec07d766b04e5da43677b9330999ce0dbf686aac60cf6bb
checksum=85743dad01a54c85f3fbd0285bbdb01c00cfde0f8a79efa5b66376d536221420

build_options="nonfree"
desc_option_nonfree="Enable nonfree kernels"
Expand Down
11 changes: 6 additions & 5 deletions srcpkgs/libva-glx/template
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,26 @@
# NOTE: keep this pkg synchronized with libva and the minor version with libva-utils
#
pkgname=libva-glx
version=2.22.0
version=2.23.0
revision=1
build_style=meson
configure_args="-Dwith_glx=yes -Dwith_wayland=yes"
hostmakedepends="pkg-config wayland-devel"
makedepends="libva-devel libXfixes-devel MesaLib-devel wayland-devel"
configure_args="-Dwith_glx=yes"
hostmakedepends="pkg-config"
makedepends="libva-devel libXfixes-devel MesaLib-devel"
short_desc="Video Acceleration (VA) API - GLX backend"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://01.org/linuxmedia/vaapi"
changelog="https://raw.githubusercontent.com/intel/libva/master/NEWS"
distfiles="https://github.com/intel/libva/archive/refs/tags/${version}.tar.gz"
checksum=467c418c2640a178c6baad5be2e00d569842123763b80507721ab87eb7af8735
checksum=b10aceb30e93ddf13b2030eb70079574ba437be9b3b76065caf28a72c07e23e7

post_install() {
# We are only interested in the glx component, remove everything else.
mkdir -p ${wrksrc}/temp/usr/lib/pkgconfig ${wrksrc}/temp/usr/include/va
mv ${DESTDIR}/usr/lib/libva-glx* ${wrksrc}/temp/usr/lib
mv ${DESTDIR}/usr/include/va/va_glx.h ${wrksrc}/temp/usr/include/va
mv ${DESTDIR}/usr/include/va/va_backend_glx.h ${wrksrc}/temp/usr/include/va
mv ${DESTDIR}/usr/lib/pkgconfig/libva-glx.pc ${wrksrc}/temp/usr/lib/pkgconfig
rm -rf ${DESTDIR}/*
mv ${wrksrc}/temp/* ${DESTDIR}
Expand Down
5 changes: 2 additions & 3 deletions srcpkgs/libva-utils/template
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Template file for 'libva-utils'
# NOTE: keep minor version synchronized with libva and libva-glx
pkgname=libva-utils
version=2.22.0
version=2.23.0
revision=1
build_style=meson
configure_args="-Ddrm=true -Dx11=true -Dwayland=true"
hostmakedepends="pkg-config wayland-devel"
makedepends="libva-devel libXfixes-devel libXext-devel
libdrm-devel wayland-devel"
Expand All @@ -14,7 +13,7 @@ license="MIT"
homepage="https://01.org/linuxmedia"
changelog="https://raw.githubusercontent.com/intel/libva-utils/master/NEWS"
distfiles="https://github.com/intel/libva-utils/archive/refs/tags/${version}.tar.gz"
checksum=7b57615c130427ec134bb5d2b80af516ce5bb19a40e89b1dab46a0d59760d96c
checksum=fa7ff29847b55010fbbb775b35382f97f29b7b97abe9a2f6fb3e22b36db5440a

post_install() {
vlicense COPYING
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/libva/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'libva'
# NOTE: keep this pkg synchronized with libva-glx and the minor version with libva-utils
pkgname=libva
version=2.22.0
version=2.23.0
revision=1
build_style=meson
configure_args="-Dwith_glx=no"
Expand All @@ -14,7 +14,7 @@ license="MIT"
homepage="https://01.org/linuxmedia/vaapi"
changelog="https://raw.githubusercontent.com/intel/libva/master/NEWS"
distfiles="https://github.com/intel/libva/archive/refs/tags/${version}.tar.gz"
checksum=467c418c2640a178c6baad5be2e00d569842123763b80507721ab87eb7af8735
checksum=b10aceb30e93ddf13b2030eb70079574ba437be9b3b76065caf28a72c07e23e7

build_options="wayland"
build_options_default="wayland"
Expand Down
1 change: 1 addition & 0 deletions srcpkgs/libvpl/update
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore="2023.*"
1 change: 0 additions & 1 deletion srcpkgs/oneVPL-devel

This file was deleted.

1 change: 0 additions & 1 deletion srcpkgs/oneVPL-examples

This file was deleted.

20 changes: 0 additions & 20 deletions srcpkgs/oneVPL/template

This file was deleted.

1 change: 1 addition & 0 deletions srcpkgs/removed-packages/template
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,7 @@ replaces="
oce-devel<=0.18.3_1
oce<=0.18.3_1
olive<=0.1.2_2
oneVPL<=2023.3.1_3
onionshare<=2.2_5
openbazaar<=1.1.13_2
opencl-clhpp<=2.0.15_1
Expand Down
4 changes: 2 additions & 2 deletions srcpkgs/vpl-gpu-rt/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'vpl-gpu-rt'
pkgname=vpl-gpu-rt
version=25.4.6
version=26.1.6
revision=1
archs="x86_64*"
build_style=cmake
Expand All @@ -13,7 +13,7 @@ license="MIT"
homepage="https://github.com/intel/vpl-gpu-rt/"
changelog="https://github.com/intel/vpl-gpu-rt/blob/main/CHANGELOG.md"
distfiles="https://github.com/intel/vpl-gpu-rt/archive/refs/tags/intel-onevpl-${version}.tar.gz"
checksum=a4cc2429fba49ee1d5f48883930e2e7325f0af38af83c8048793c8b1d3fa4a8f
checksum=41456ec8bff819b29a69601aeaffec72fd408ea6c79ab0e4184cc11b6b04f1ba

post_install() {
vlicense LICENSE
Expand Down