parent
0ce9a92f43
commit
c8d7599359
13 changed files with 156 additions and 6 deletions
@ -0,0 +1,21 @@ |
||||
package("libxcursor") |
||||
|
||||
set_homepage("https://www.x.org/") |
||||
set_description("X.Org: X Window System Cursor management library") |
||||
|
||||
set_urls("https://www.x.org/archive/individual/lib/libXcursor-$(version).tar.bz2") |
||||
add_versions("1.2.0", "3ad3e9f8251094af6fe8cb4afcf63e28df504d46bfa5a5529db74a505d628782") |
||||
|
||||
add_deps("pkg-config", "util-macros", "libx11", "libxfixes", "libxrender") |
||||
|
||||
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("XcursorFileHeader", {includes = "X11/Xcursor/Xcursor.h"})) |
||||
end) |
@ -0,0 +1,22 @@ |
||||
package("libxext") |
||||
|
||||
set_homepage("https://www.x.org/") |
||||
set_description("X.Org: Library for common extensions to the X11 protocol") |
||||
|
||||
set_urls("https://www.x.org/archive/individual/lib/libXext-$(version).tar.bz2") |
||||
add_versions("1.3.4", "59ad6fcce98deaecc14d39a672cf218ca37aba617c9a0f691cac3bcd28edf82b") |
||||
|
||||
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", |
||||
"--enable-specs=no"} |
||||
import("package.tools.autoconf").install(package, configs) |
||||
end) |
||||
|
||||
on_test(function (package) |
||||
assert(package:has_ctypes("XShapeEvent", {includes = "X11/extensions/shape.h"})) |
||||
end) |
@ -0,0 +1,21 @@ |
||||
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) |
@ -0,0 +1,23 @@ |
||||
package("libxi") |
||||
|
||||
set_homepage("https://www.x.org/") |
||||
set_description("X.Org: Library for the X Input Extension") |
||||
|
||||
set_urls("https://www.x.org/archive/individual/lib/libXi-$(version).tar.bz2") |
||||
add_versions("1.7.10", "36a30d8f6383a72e7ce060298b4b181fd298bc3a135c8e201b7ca847f5f81061") |
||||
|
||||
add_deps("pkg-config", "libx11", "libxext", "libxfixes", "xorgproto") |
||||
|
||||
on_install("macosx", "linux", function (package) |
||||
local configs = {"--sysconfdir=" .. package:installdir("etc"), |
||||
"--localstatedir=" .. package:installdir("var"), |
||||
"--disable-dependency-tracking", |
||||
"--disable-silent-rules", |
||||
"--enable-docs=no", |
||||
"--enable-specs=no"} |
||||
import("package.tools.autoconf").install(package, configs) |
||||
end) |
||||
|
||||
on_test(function (package) |
||||
assert(package:has_ctypes("XDeviceButtonEvent", {includes = "X11/extensions/XInput.h"})) |
||||
end) |
@ -0,0 +1,21 @@ |
||||
package("libxinerama") |
||||
|
||||
set_homepage("https://www.x.org/") |
||||
set_description("X.Org: API for Xinerama extension to X11 Protocol") |
||||
|
||||
set_urls("https://www.x.org/archive/individual/lib/libXinerama-$(version).tar.bz2") |
||||
add_versions("1.1.4", "0008dbd7ecf717e1e507eed1856ab0d9cf946d03201b85d5dcf61489bb02d720") |
||||
|
||||
add_deps("pkg-config", "libx11", "libxext", "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("XineramaScreenInfo", {includes = "X11/extensions/Xinerama.h"})) |
||||
end) |
@ -0,0 +1,21 @@ |
||||
package("libxrandr") |
||||
|
||||
set_homepage("https://www.x.org/") |
||||
set_description("X.Org: X Resize, Rotate and Reflection extension library") |
||||
|
||||
set_urls("https://www.x.org/archive/individual/lib/libXrandr-$(version).tar.bz2") |
||||
add_versions("1.5.2", "8aea0ebe403d62330bb741ed595b53741acf45033d3bda1792f1d4cc3daee023") |
||||
|
||||
add_deps("pkg-config", "libx11", "libxext", "libxrender", "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("XRRScreenSize", {includes = "X11/extensions/Xrandr.h"})) |
||||
end) |
@ -0,0 +1,21 @@ |
||||
package("libxrender") |
||||
|
||||
set_homepage("https://www.x.org/") |
||||
set_description("X.Org: Library for the Render Extension to the X11 protocol") |
||||
|
||||
set_urls("https://www.x.org/archive/individual/lib/libXrender-$(version).tar.bz2") |
||||
add_versions("0.9.10", "c06d5979f86e64cabbde57c223938db0b939dff49fdb5a793a1d3d0396650949") |
||||
|
||||
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("XRenderColor", {includes = "X11/extensions/Xrender.h"})) |
||||
end) |
Loading…
Reference in new issue