forked from rosa/hakurei
internal/rosa/package: migrate mesa dependencies
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
29
internal/rosa/package/libdrm.az
Normal file
29
internal/rosa/package/libdrm.az
Normal file
@@ -0,0 +1,29 @@
|
||||
package libdrm {
|
||||
description = "a userspace library for accessing the DRM";
|
||||
website = "https://dri.freedesktop.org";
|
||||
anitya = 1596;
|
||||
|
||||
version* = "2.4.133";
|
||||
source = remoteGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
suffix = "mesa/libdrm";
|
||||
ref = "libdrm-"+version;
|
||||
checksum = "bfj296NcR9DndO11hqDbSRFPqaweSLMqRk3dlCPZpM6FONX1WZ9J4JdbTDMUd1rU";
|
||||
};
|
||||
|
||||
exec = meson {
|
||||
setup = {
|
||||
"Dintel": "enabled";
|
||||
};
|
||||
};
|
||||
|
||||
inputs = [
|
||||
// symbols check fail with llvm nm
|
||||
binutils,
|
||||
|
||||
libpciaccess,
|
||||
kernel-headers,
|
||||
];
|
||||
|
||||
runtime = [ libpciaccess ];
|
||||
}
|
||||
38
internal/rosa/package/libglvnd.az
Normal file
38
internal/rosa/package/libglvnd.az
Normal file
@@ -0,0 +1,38 @@
|
||||
package libglvnd {
|
||||
description = "The GL Vendor-Neutral Dispatch library";
|
||||
website = "https://gitlab.freedesktop.org/glvnd/libglvnd";
|
||||
anitya = 12098;
|
||||
|
||||
version* = "1.7.0";
|
||||
source = remoteGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
suffix = "glvnd/libglvnd";
|
||||
ref = "v"+version;
|
||||
checksum = "eIQJK2sgFQDHdeFkQO87TrSUaZRFG4y2DrwA8Ut-sGboI59uw1OOiIVqq2AIwnGY";
|
||||
};
|
||||
|
||||
exec = meson {
|
||||
setup = {
|
||||
"Dx11": "enabled";
|
||||
"Dglx": "enabled";
|
||||
};
|
||||
|
||||
postCompile = `
|
||||
export DISPLAY=':0'
|
||||
Xvfb &
|
||||
XVFB_PID="$!"
|
||||
trap 'kill $XVFB_PID && wait $XVFB_PID' EXIT
|
||||
`;
|
||||
};
|
||||
|
||||
inputs = [
|
||||
// symbols check fail with llvm nm
|
||||
binutils,
|
||||
// test suite wants X server
|
||||
xserver,
|
||||
|
||||
libXext,
|
||||
];
|
||||
|
||||
runtime = [ libXext ];
|
||||
}
|
||||
35
internal/rosa/package/libva.az
Normal file
35
internal/rosa/package/libva.az
Normal file
@@ -0,0 +1,35 @@
|
||||
package libva {
|
||||
description = "an implementation for VA-API (Video Acceleration API)";
|
||||
website = "https://01.org/vaapi";
|
||||
anitya = 1752;
|
||||
|
||||
version* = "2.23.0";
|
||||
source = remoteGitHub {
|
||||
suffix = "intel/libva";
|
||||
tag = version;
|
||||
checksum = "UmF5tPyWIG_w5kiR3KFpoYbF7UUcaak5tyc-RhOheNTwQlLkPlifreFYCM9FQxbq";
|
||||
};
|
||||
|
||||
exec = meson {
|
||||
setup = {
|
||||
"Dwith_x11": "yes";
|
||||
"Dwith_glx": "yes";
|
||||
"Dwith_wayland": "yes";
|
||||
};
|
||||
};
|
||||
|
||||
inputs = [
|
||||
libdrm,
|
||||
libXfixes,
|
||||
libglvnd,
|
||||
wayland,
|
||||
kernel-headers,
|
||||
];
|
||||
|
||||
runtime = [
|
||||
libdrm,
|
||||
libXfixes,
|
||||
libglvnd,
|
||||
wayland,
|
||||
];
|
||||
}
|
||||
49
internal/rosa/package/lm_sensors.az
Normal file
49
internal/rosa/package/lm_sensors.az
Normal file
@@ -0,0 +1,49 @@
|
||||
package lm_sensors {
|
||||
description = "user-space support for hardware monitoring drivers";
|
||||
website = "https://hwmon.wiki.kernel.org/lm_sensors";
|
||||
anitya = 1831;
|
||||
|
||||
version* = "3-6-2";
|
||||
source = remoteGitHub {
|
||||
suffix = "lm-sensors/lm-sensors";
|
||||
tag = "V"+version;
|
||||
checksum = "7JYNutrihe-FP6r3ftf96uFZJJWPfxnBHL0ALSMA-vovaXVRr-sAjlLitw7WWpCI";
|
||||
};
|
||||
|
||||
writable = true;
|
||||
chmod = true;
|
||||
enterSource = true;
|
||||
|
||||
early = `
|
||||
ln -s \
|
||||
../../system/bin/perl \
|
||||
/usr/bin/
|
||||
`;
|
||||
|
||||
exec = make {
|
||||
inPlace = true;
|
||||
skipConfigure = true;
|
||||
|
||||
make = [
|
||||
"CC=cc",
|
||||
"ETCDIR=/system/etc",
|
||||
"PREFIX=/system",
|
||||
];
|
||||
|
||||
check = [
|
||||
"CC=cc",
|
||||
"check",
|
||||
];
|
||||
|
||||
install = "make DESTDIR=/work PREFIX=/system install";
|
||||
};
|
||||
|
||||
inputs = [
|
||||
perl,
|
||||
perl-Test-Cmd,
|
||||
|
||||
m4,
|
||||
bison,
|
||||
flex,
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user