xf86-video-{qxl,r128}: refactor, move to pkgs/by-name & rename from xorg namespace (#478625)
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
autoreconfHook,
|
||||
pkg-config,
|
||||
util-macros,
|
||||
xorg-server,
|
||||
xorgproto,
|
||||
libdrm,
|
||||
libpciaccess,
|
||||
spice-protocol,
|
||||
udev,
|
||||
nix-update-script,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xf86-video-qxl";
|
||||
version = "0.1.6";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
group = "xorg";
|
||||
owner = "driver";
|
||||
repo = "xf86-video-qxl";
|
||||
tag = "xf86-video-qxl-${finalAttrs.version}";
|
||||
hash = "sha256-g7NvAjmvPjyqUTXnZREDDs18O2e9Zl5hZeAza2a/1Jw=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
util-macros
|
||||
xorg-server # for some autoconf macros
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
xorg-server
|
||||
xorgproto
|
||||
libdrm
|
||||
libpciaccess
|
||||
spice-protocol
|
||||
udev
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { extraArgs = [ "--version-regex=xf86-video-qxl-(.*)" ]; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Xorg video driver for the QXL virtual GPU";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
broken = stdenv.hostPlatform.isAarch64;
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
autoreconfHook,
|
||||
pkg-config,
|
||||
util-macros,
|
||||
xorg-server,
|
||||
xorgproto,
|
||||
libdrm,
|
||||
libpciaccess,
|
||||
nix-update-script,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xf86-video-r128";
|
||||
version = "6.13.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
group = "xorg";
|
||||
owner = "driver";
|
||||
repo = "xf86-video-r128";
|
||||
tag = "xf86-video-r128-${finalAttrs.version}";
|
||||
hash = "sha256-f75PQ3pmWtyqeEfrMQpO31U0QOydlmQ49gJuvneRoso=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
util-macros
|
||||
xorg-server # for some autoconf macros
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
xorg-server
|
||||
xorgproto
|
||||
libdrm
|
||||
libpciaccess
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { extraArgs = [ "--version-regex=xf86-video-r128-(.*)" ]; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "ATI Rage 128 video driver for the Xorg X server";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128";
|
||||
license = with lib.licenses; [
|
||||
mit
|
||||
hpndSellVariant
|
||||
];
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
@@ -144,6 +144,8 @@
|
||||
xf86-video-mga,
|
||||
xf86-video-neomagic,
|
||||
xf86-video-nouveau,
|
||||
xf86-video-qxl,
|
||||
xf86-video-r128,
|
||||
xf86-video-s3virge,
|
||||
xf86-video-v4l,
|
||||
xfd,
|
||||
@@ -368,6 +370,8 @@ self: with self; {
|
||||
xf86videomga = xf86-video-mga;
|
||||
xf86videoneomagic = xf86-video-neomagic;
|
||||
xf86videonouveau = xf86-video-nouveau;
|
||||
xf86videoqxl = xf86-video-qxl;
|
||||
xf86videor128 = xf86-video-r128;
|
||||
xf86videos3virge = xf86-video-s3virge;
|
||||
xf86videov4l = xf86-video-v4l;
|
||||
xkeyboardconfig = xkeyboard-config;
|
||||
@@ -880,88 +884,6 @@ self: with self; {
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xf86videoqxl = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
xorgproto,
|
||||
libdrm,
|
||||
udev,
|
||||
libpciaccess,
|
||||
xorgserver,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xf86-video-qxl";
|
||||
version = "0.1.6";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/driver/xf86-video-qxl-0.1.6.tar.xz";
|
||||
sha256 = "0pwncx60r1xxk8kpp9a46ga5h7k7hjqf14726v0gra27vdc9blra";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
xorgproto
|
||||
libdrm
|
||||
udev
|
||||
libpciaccess
|
||||
xorgserver
|
||||
];
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xf86videor128 = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
xorgproto,
|
||||
libdrm,
|
||||
libpciaccess,
|
||||
xorgserver,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xf86-video-r128";
|
||||
version = "6.13.0";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/driver/xf86-video-r128-6.13.0.tar.xz";
|
||||
sha256 = "0igpfgls5nx4sz8a7yppr42qi37prqmxsy08zqbxbv81q9dfs2zj";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
xorgproto
|
||||
libdrm
|
||||
libpciaccess
|
||||
xorgserver
|
||||
];
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
xf86videosavage = callPackage (
|
||||
{
|
||||
|
||||
@@ -476,6 +476,8 @@ print OUT <<EOF;
|
||||
xf86-video-mga,
|
||||
xf86-video-neomagic,
|
||||
xf86-video-nouveau,
|
||||
xf86-video-qxl,
|
||||
xf86-video-r128,
|
||||
xf86-video-s3virge,
|
||||
xf86-video-v4l,
|
||||
xfd,
|
||||
@@ -700,6 +702,8 @@ self: with self; {
|
||||
xf86videomga = xf86-video-mga;
|
||||
xf86videoneomagic = xf86-video-neomagic;
|
||||
xf86videonouveau = xf86-video-nouveau;
|
||||
xf86videoqxl = xf86-video-qxl;
|
||||
xf86videor128 = xf86-video-r128;
|
||||
xf86videos3virge = xf86-video-s3virge;
|
||||
xf86videov4l = xf86-video-v4l;
|
||||
xkeyboardconfig = xkeyboard-config;
|
||||
|
||||
@@ -156,10 +156,6 @@ self: super:
|
||||
};
|
||||
});
|
||||
|
||||
xf86videoqxl = super.xf86videoqxl.overrideAttrs (attrs: {
|
||||
buildInputs = attrs.buildInputs ++ [ spice-protocol ];
|
||||
});
|
||||
|
||||
xf86videosiliconmotion = super.xf86videosiliconmotion.overrideAttrs (attrs: {
|
||||
meta = attrs.meta // {
|
||||
platforms = [
|
||||
|
||||
@@ -14,8 +14,6 @@ mirror://xorg/individual/driver/xf86-video-intel-2.99.917.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-nv-2.1.23.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-omap-0.4.5.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-openchrome-0.6.0.tar.bz2
|
||||
mirror://xorg/individual/driver/xf86-video-qxl-0.1.6.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-r128-6.13.0.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-savage-2.4.1.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-siliconmotion-1.7.10.tar.xz
|
||||
mirror://xorg/individual/driver/xf86-video-sis-0.12.0.tar.gz
|
||||
|
||||
Reference in New Issue
Block a user