forked from rosa/hakurei
internal/rosa/x: libXrandr artifact
Required by mesa. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -76,6 +76,7 @@ const (
|
||||
LibX11
|
||||
LibXau
|
||||
LibXext
|
||||
LibXrandr
|
||||
LibXrender
|
||||
LibXxf86vm
|
||||
Libbsd
|
||||
|
||||
@@ -375,6 +375,46 @@ func init() {
|
||||
}
|
||||
}
|
||||
|
||||
func (t Toolchain) newLibXrandr() (pkg.Artifact, string) {
|
||||
const (
|
||||
version = "1.5.5"
|
||||
checksum = "OF7C7VC5MwnFue9UX5UnIkG1PIWvn9bBMq6d4mVyJJ_rcF0w4Kedn1lfxBsXEKAP"
|
||||
)
|
||||
return t.NewPackage("libXrandr", version, newFromGitLab(
|
||||
"gitlab.freedesktop.org",
|
||||
"xorg/lib/libxrandr",
|
||||
"libXrandr-"+version,
|
||||
checksum,
|
||||
), nil, &MakeHelper{
|
||||
Generate: "NOCONFIGURE=1 ./autogen.sh",
|
||||
},
|
||||
Automake,
|
||||
Libtool,
|
||||
PkgConfig,
|
||||
|
||||
utilMacros,
|
||||
LibXext,
|
||||
LibXrender,
|
||||
XorgProto,
|
||||
), version
|
||||
}
|
||||
func init() {
|
||||
artifactsM[LibXrandr] = Metadata{
|
||||
f: Toolchain.newLibXrandr,
|
||||
|
||||
Name: "libXrandr",
|
||||
Description: "Xlib Resize, Rotate and Reflection (RandR) extension library",
|
||||
Website: "https://gitlab.freedesktop.org/xorg/lib/libxrandr",
|
||||
|
||||
Dependencies: P{
|
||||
LibXext,
|
||||
LibXrender,
|
||||
},
|
||||
|
||||
ID: 1788,
|
||||
}
|
||||
}
|
||||
|
||||
func (t Toolchain) newLibpciaccess() (pkg.Artifact, string) {
|
||||
const (
|
||||
version = "0.19"
|
||||
|
||||
Reference in New Issue
Block a user