package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
891 B
22 lines
891 B
4 years ago
|
package("libxfixes")
|
||
|
|
||
|
set_homepage("https://www.x.org/")
|
||
|
set_description("X.Org: Header files for the XFIXES extension")
|
||
|
|
||
|
set_urls("https://www.x.org/archive/individual/lib/libXfixes-$(version).tar.bz2")
|
||
|
add_versions("5.0.3", "de1cd33aff226e08cefd0e6759341c2c8e8c9faf8ce9ac6ec38d43e287b22ad6")
|
||
|
|
||
|
add_deps("pkg-config", "libx11", "xorgproto")
|
||
|
|
||
|
on_install("macosx", "linux", function (package)
|
||
|
local configs = {"--sysconfdir=" .. package:installdir("etc"),
|
||
|
"--localstatedir=" .. package:installdir("var"),
|
||
|
"--disable-dependency-tracking",
|
||
|
"--disable-silent-rules"}
|
||
|
import("package.tools.autoconf").install(package, configs)
|
||
|
end)
|
||
|
|
||
|
on_test(function (package)
|
||
|
assert(package:has_ctypes("XFixesSelectionNotifyEvent", {includes = "X11/extensions/Xfixes.h"}))
|
||
|
end)
|