add extsources to some x.org libs (#573)

* add extsources to some x.org libs

* fix fontconfig

* revert version
pull/575/head
Hoildkv 3 years ago committed by GitHub
parent 5083452c89
commit e87effa464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      packages/f/fontconfig/xmake.lua
  2. 4
      packages/l/libffi/xmake.lua
  3. 4
      packages/l/libxau/xmake.lua
  4. 4
      packages/l/libxcb/xmake.lua
  5. 4
      packages/l/libxcursor/xmake.lua
  6. 4
      packages/l/libxdamage/xmake.lua
  7. 4
      packages/l/libxdmcp/xmake.lua
  8. 4
      packages/l/libxext/xmake.lua
  9. 4
      packages/l/libxfixes/xmake.lua
  10. 4
      packages/l/libxft/xmake.lua
  11. 4
      packages/l/libxi/xmake.lua
  12. 4
      packages/l/libxinerama/xmake.lua
  13. 4
      packages/l/libxkbcommon/xmake.lua
  14. 4
      packages/l/libxmu/xmake.lua
  15. 4
      packages/l/libxpm/xmake.lua
  16. 4
      packages/l/libxrandr/xmake.lua
  17. 4
      packages/l/libxrender/xmake.lua
  18. 4
      packages/l/libxshmfence/xmake.lua
  19. 4
      packages/l/libxt/xmake.lua
  20. 4
      packages/l/libxtst/xmake.lua
  21. 4
      packages/l/libxv/xmake.lua
  22. 4
      packages/l/libxvmc/xmake.lua
  23. 4
      packages/l/libxxf86vm/xmake.lua
  24. 4
      packages/w/wayland/xmake.lua
  25. 4
      packages/x/xorgproto/xmake.lua
  26. 4
      packages/x/xtrans/xmake.lua

@ -8,6 +8,7 @@ package("fontconfig")
add_versions("2.13.93", "0f302a18ee52dde0793fe38b266bf269dfe6e0c0ae140e30d72c6cca5dc08db5") add_versions("2.13.93", "0f302a18ee52dde0793fe38b266bf269dfe6e0c0ae140e30d72c6cca5dc08db5")
add_deps("pkg-config", "freetype >=2.9", "expat") add_deps("pkg-config", "freetype >=2.9", "expat")
add_deps("python 3.x", {kind = "binary"})
if is_plat("macosx") then if is_plat("macosx") then
add_deps("gettext") add_deps("gettext")
else else

@ -9,6 +9,10 @@ package("libffi")
add_versions("3.2.1", "d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37") add_versions("3.2.1", "d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37")
add_versions("3.3", "72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056") add_versions("3.3", "72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056")
if is_plat("linux") then
add_extsources("apt::libffi-dev")
end
on_load(function (package) on_load(function (package)
if package:gitref() then if package:gitref() then
package:add("deps", "autoconf", "automake", "libtool") package:add("deps", "autoconf", "automake", "libtool")

@ -6,6 +6,10 @@ package("libxau")
set_urls("https://www.x.org/archive/individual/lib/libXau-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXau-$(version).tar.bz2")
add_versions("1.0.9", "ccf8cbf0dbf676faa2ea0a6d64bcc3b6746064722b606c8c52917ed00dcb73ec") add_versions("1.0.9", "ccf8cbf0dbf676faa2ea0a6d64bcc3b6746064722b606c8c52917ed00dcb73ec")
if is_plat("linux") then
add_extsources("apt::libxau-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "util-macros", "xorgproto") add_deps("pkg-config", "util-macros", "xorgproto")
end end

@ -7,6 +7,10 @@ package("libxcb")
add_versions("1.13.1", "f09a76971437780a602303170fd51b5f7474051722bc39d566a272d2c4bde1b5") add_versions("1.13.1", "f09a76971437780a602303170fd51b5f7474051722bc39d566a272d2c4bde1b5")
add_versions("1.14", "2c7fcddd1da34d9b238c9caeda20d3bd7486456fc50b3cc6567185dbd5b0ad02") add_versions("1.14", "2c7fcddd1da34d9b238c9caeda20d3bd7486456fc50b3cc6567185dbd5b0ad02")
if is_plat("linux") then
add_extsources("apt::libxcb1-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "python 3.x", {kind = "binary"}) add_deps("pkg-config", "python 3.x", {kind = "binary"})
add_deps("xcb-proto", "libpthread-stubs", "libxau", "libxdmcp") add_deps("xcb-proto", "libpthread-stubs", "libxau", "libxdmcp")

@ -6,6 +6,10 @@ package("libxcursor")
set_urls("https://www.x.org/archive/individual/lib/libXcursor-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXcursor-$(version).tar.bz2")
add_versions("1.2.0", "3ad3e9f8251094af6fe8cb4afcf63e28df504d46bfa5a5529db74a505d628782") add_versions("1.2.0", "3ad3e9f8251094af6fe8cb4afcf63e28df504d46bfa5a5529db74a505d628782")
if is_plat("linux") then
add_extsources("apt::libxcursor-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "util-macros", "libx11", "libxfixes", "libxrender") add_deps("pkg-config", "util-macros", "libx11", "libxfixes", "libxrender")
end end

@ -6,6 +6,10 @@ package("libxdamage")
set_urls("https://www.x.org/archive/individual/lib/libXdamage-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXdamage-$(version).tar.bz2")
add_versions("1.1.5", "b734068643cac3b5f3d2c8279dd366b5bf28c7219d9e9d8717e1383995e0ea45") add_versions("1.1.5", "b734068643cac3b5f3d2c8279dd366b5bf28c7219d9e9d8717e1383995e0ea45")
if is_plat("linux") then
add_extsources("apt::libxdamage-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "libx11", "libxfixes", "xorgproto") add_deps("pkg-config", "libx11", "libxfixes", "xorgproto")
end end

@ -6,6 +6,10 @@ package("libxdmcp")
set_urls("https://www.x.org/archive/individual/lib/libXdmcp-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXdmcp-$(version).tar.bz2")
add_versions("1.1.3", "20523b44aaa513e17c009e873ad7bbc301507a3224c232610ce2e099011c6529") add_versions("1.1.3", "20523b44aaa513e17c009e873ad7bbc301507a3224c232610ce2e099011c6529")
if is_plat("linux") then
add_extsources("apt::libxdmcp-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "xorgproto") add_deps("pkg-config", "xorgproto")
end end

@ -6,6 +6,10 @@ package("libxext")
set_urls("https://www.x.org/archive/individual/lib/libXext-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXext-$(version).tar.bz2")
add_versions("1.3.4", "59ad6fcce98deaecc14d39a672cf218ca37aba617c9a0f691cac3bcd28edf82b") add_versions("1.3.4", "59ad6fcce98deaecc14d39a672cf218ca37aba617c9a0f691cac3bcd28edf82b")
if is_plat("linux") then
add_extsources("apt::libxext-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "libx11", "xorgproto") add_deps("pkg-config", "libx11", "xorgproto")
end end

@ -6,6 +6,10 @@ package("libxfixes")
set_urls("https://www.x.org/archive/individual/lib/libXfixes-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXfixes-$(version).tar.bz2")
add_versions("5.0.3", "de1cd33aff226e08cefd0e6759341c2c8e8c9faf8ce9ac6ec38d43e287b22ad6") add_versions("5.0.3", "de1cd33aff226e08cefd0e6759341c2c8e8c9faf8ce9ac6ec38d43e287b22ad6")
if is_plat("linux") then
add_extsources("apt::libxfixes-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "libx11", "xorgproto") add_deps("pkg-config", "libx11", "xorgproto")
end end

@ -7,6 +7,10 @@ package("libxft")
set_urls("https://www.x.org/archive/individual/lib/libXft-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXft-$(version).tar.bz2")
add_versions("2.3.3", "225c68e616dd29dbb27809e45e9eadf18e4d74c50be43020ef20015274529216") add_versions("2.3.3", "225c68e616dd29dbb27809e45e9eadf18e4d74c50be43020ef20015274529216")
if is_plat("linux") then
add_extsources("apt::libxft-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "fontconfig", "libxrender") add_deps("pkg-config", "fontconfig", "libxrender")
end end

@ -6,6 +6,10 @@ package("libxi")
set_urls("https://www.x.org/archive/individual/lib/libXi-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXi-$(version).tar.bz2")
add_versions("1.7.10", "36a30d8f6383a72e7ce060298b4b181fd298bc3a135c8e201b7ca847f5f81061") add_versions("1.7.10", "36a30d8f6383a72e7ce060298b4b181fd298bc3a135c8e201b7ca847f5f81061")
if is_plat("linux") then
add_extsources("apt::libxi-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "libx11", "libxext", "libxfixes", "xorgproto") add_deps("pkg-config", "libx11", "libxext", "libxfixes", "xorgproto")
end end

@ -6,6 +6,10 @@ package("libxinerama")
set_urls("https://www.x.org/archive/individual/lib/libXinerama-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXinerama-$(version).tar.bz2")
add_versions("1.1.4", "0008dbd7ecf717e1e507eed1856ab0d9cf946d03201b85d5dcf61489bb02d720") add_versions("1.1.4", "0008dbd7ecf717e1e507eed1856ab0d9cf946d03201b85d5dcf61489bb02d720")
if is_plat("linux") then
add_extsources("apt::libxinerama-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "libx11", "libxext", "xorgproto") add_deps("pkg-config", "libx11", "libxext", "xorgproto")
end end

@ -8,6 +8,10 @@ package("libxkbcommon")
"https://github.com/xkbcommon.git") "https://github.com/xkbcommon.git")
add_versions("1.0.3", "5d10a57ab65daad7d975926166770eca1d2c899131ab96c23845df1c42da5c31") add_versions("1.0.3", "5d10a57ab65daad7d975926166770eca1d2c899131ab96c23845df1c42da5c31")
if is_plat("linux") then
add_extsources("apt::libxkbcommon-dev")
end
add_configs("x11", {description = "Switch backend to X11 (default is wayland).", default = false, type = "boolean"}) add_configs("x11", {description = "Switch backend to X11 (default is wayland).", default = false, type = "boolean"})
on_load("linux", function (package) on_load("linux", function (package)
if package:config("x11") then if package:config("x11") then

@ -6,6 +6,10 @@ package("libxmu")
add_urls("https://www.x.org/archive/individual/lib/libXmu-$(version).tar.gz") add_urls("https://www.x.org/archive/individual/lib/libXmu-$(version).tar.gz")
add_versions("1.1.3", "5bd9d4ed1ceaac9ea023d86bf1c1632cd3b172dce4a193a72a94e1d9df87a62e") add_versions("1.1.3", "5bd9d4ed1ceaac9ea023d86bf1c1632cd3b172dce4a193a72a94e1d9df87a62e")
if is_plat("linux") then
add_extsources("apt::libxmu-dev")
end
add_deps("libxt", "libxext") add_deps("libxt", "libxext")
on_install("macosx", "linux", function (package) on_install("macosx", "linux", function (package)

@ -6,6 +6,10 @@ package("libxpm")
add_urls("https://www.x.org/archive/individual/lib/libXpm-$(version).tar.gz") add_urls("https://www.x.org/archive/individual/lib/libXpm-$(version).tar.gz")
add_versions("3.5.13", "e3dfb0fb8c1f127432f2a498c7856b37ce78a61e8da73f1aab165a73dd97ad00") add_versions("3.5.13", "e3dfb0fb8c1f127432f2a498c7856b37ce78a61e8da73f1aab165a73dd97ad00")
if is_plat("linux") then
add_extsources("apt::libxpm-dev")
end
add_deps("libx11", "xorgproto", "gettext") add_deps("libx11", "xorgproto", "gettext")
on_install("macosx", "linux", function (package) on_install("macosx", "linux", function (package)

@ -6,6 +6,10 @@ package("libxrandr")
set_urls("https://www.x.org/archive/individual/lib/libXrandr-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXrandr-$(version).tar.bz2")
add_versions("1.5.2", "8aea0ebe403d62330bb741ed595b53741acf45033d3bda1792f1d4cc3daee023") add_versions("1.5.2", "8aea0ebe403d62330bb741ed595b53741acf45033d3bda1792f1d4cc3daee023")
if is_plat("linux") then
add_extsources("apt::libxrandr-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "libx11", "libxext", "libxrender", "xorgproto") add_deps("pkg-config", "libx11", "libxext", "libxrender", "xorgproto")
end end

@ -6,6 +6,10 @@ package("libxrender")
set_urls("https://www.x.org/archive/individual/lib/libXrender-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXrender-$(version).tar.bz2")
add_versions("0.9.10", "c06d5979f86e64cabbde57c223938db0b939dff49fdb5a793a1d3d0396650949") add_versions("0.9.10", "c06d5979f86e64cabbde57c223938db0b939dff49fdb5a793a1d3d0396650949")
if is_plat("linux") then
add_extsources("apt::libxrender-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "libx11", "xorgproto") add_deps("pkg-config", "libx11", "xorgproto")
end end

@ -6,6 +6,10 @@ package("libxshmfence")
set_urls("https://www.x.org/archive/individual/lib/libxshmfence-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libxshmfence-$(version).tar.bz2")
add_versions("1.3", "b884300d26a14961a076fbebc762a39831cb75f92bed5ccf9836345b459220c7") add_versions("1.3", "b884300d26a14961a076fbebc762a39831cb75f92bed5ccf9836345b459220c7")
if is_plat("linux") then
add_extsources("apt::libxshmfence-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "xorgproto") add_deps("pkg-config", "xorgproto")
end end

@ -6,6 +6,10 @@ package("libxt")
add_urls("https://www.x.org/archive/individual/lib/libXt-$(version).tar.gz") add_urls("https://www.x.org/archive/individual/lib/libXt-$(version).tar.gz")
add_versions("1.2.1", "6da1bfa9dd0ed87430a5ce95b129485086394df308998ebe34d98e378e3dfb33") add_versions("1.2.1", "6da1bfa9dd0ed87430a5ce95b129485086394df308998ebe34d98e378e3dfb33")
if is_plat("linux") then
add_extsources("apt::libxt-dev")
end
add_deps("libx11", "libsm") add_deps("libx11", "libsm")
on_install("macosx", "linux", function (package) on_install("macosx", "linux", function (package)

@ -7,6 +7,10 @@ package("libxtst")
set_urls("https://www.x.org/archive/individual/lib/libXtst-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXtst-$(version).tar.bz2")
add_versions("1.2.3", "4655498a1b8e844e3d6f21f3b2c4e2b571effb5fd83199d428a6ba7ea4bf5204") add_versions("1.2.3", "4655498a1b8e844e3d6f21f3b2c4e2b571effb5fd83199d428a6ba7ea4bf5204")
if is_plat("linux") then
add_extsources("apt::libxtst-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "util-macros", "libxi", "xorgproto") add_deps("pkg-config", "util-macros", "libxi", "xorgproto")
end end

@ -6,6 +6,10 @@ package("libxv")
set_urls("https://www.x.org/archive/individual/lib/libXv-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXv-$(version).tar.bz2")
add_versions("1.0.11", "d26c13eac99ac4504c532e8e76a1c8e4bd526471eb8a0a4ff2a88db60cb0b088") add_versions("1.0.11", "d26c13eac99ac4504c532e8e76a1c8e4bd526471eb8a0a4ff2a88db60cb0b088")
if is_plat("linux") then
add_extsources("apt::libxv-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "libx11", "libxext", "xorgproto") add_deps("pkg-config", "libx11", "libxext", "xorgproto")
end end

@ -6,6 +6,10 @@ package("libxvmc")
set_urls("https://www.x.org/archive/individual/lib/libXvMC-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXvMC-$(version).tar.bz2")
add_versions("1.0.12", "6b3da7977b3f7eaf4f0ac6470ab1e562298d82c4e79077765787963ab7966dcd") add_versions("1.0.12", "6b3da7977b3f7eaf4f0ac6470ab1e562298d82c4e79077765787963ab7966dcd")
if is_plat("linux") then
add_extsources("apt::libxvmc-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "util-macros", "libx11", "libxext", "libxv", "xorgproto") add_deps("pkg-config", "util-macros", "libx11", "libxext", "libxv", "xorgproto")
end end

@ -6,6 +6,10 @@ package("libxxf86vm")
set_urls("https://www.x.org/archive/individual/lib/libXxf86vm-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/libXxf86vm-$(version).tar.bz2")
add_versions("1.1.4", "afee27f93c5f31c0ad582852c0fb36d50e4de7cd585fcf655e278a633d85cd57") add_versions("1.1.4", "afee27f93c5f31c0ad582852c0fb36d50e4de7cd585fcf655e278a633d85cd57")
if is_plat("linux") then
add_extsources("apt::libxxf86vm-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "libx11", "libxext", "xorgproto") add_deps("pkg-config", "libx11", "libxext", "xorgproto")
end end

@ -11,6 +11,10 @@ package("wayland")
add_resources("1.18.0", "protocols", "https://wayland.freedesktop.org/releases/wayland-protocols-1.20.tar.xz", "9782b7a1a863d82d7c92478497d13c758f52e7da4f197aa16443f73de77e4de7") add_resources("1.18.0", "protocols", "https://wayland.freedesktop.org/releases/wayland-protocols-1.20.tar.xz", "9782b7a1a863d82d7c92478497d13c758f52e7da4f197aa16443f73de77e4de7")
add_resources("1.19.0", "protocols", "https://wayland.freedesktop.org/releases/wayland-protocols-1.21.tar.xz", "b99945842d8be18817c26ee77dafa157883af89268e15f4a5a1a1ff3ffa4cde5") add_resources("1.19.0", "protocols", "https://wayland.freedesktop.org/releases/wayland-protocols-1.21.tar.xz", "b99945842d8be18817c26ee77dafa157883af89268e15f4a5a1a1ff3ffa4cde5")
if is_plat("linux") then
add_extsources("apt::libwayland-dev")
end
add_deps("meson", "libxml2", "libffi", "expat", "bison") add_deps("meson", "libxml2", "libffi", "expat", "bison")
on_install("linux", function (package) on_install("linux", function (package)

@ -7,6 +7,10 @@ package("xorgproto")
add_versions("2019.2", "46ecd0156c561d41e8aa87ce79340910cdf38373b759e737fcbba5df508e7b8e") add_versions("2019.2", "46ecd0156c561d41e8aa87ce79340910cdf38373b759e737fcbba5df508e7b8e")
add_versions("2021.3", "4c732b14fc7c7db64306374d9e8386d6172edbb93f587614df1938b9d9b9d737") add_versions("2021.3", "4c732b14fc7c7db64306374d9e8386d6172edbb93f587614df1938b9d9b9d737")
if is_plat("linux") then
add_extsources("apt::x11proto-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "util-macros") add_deps("pkg-config", "util-macros")
end end

@ -6,6 +6,10 @@ package("xtrans")
set_urls("https://www.x.org/archive/individual/lib/xtrans-$(version).tar.bz2") set_urls("https://www.x.org/archive/individual/lib/xtrans-$(version).tar.bz2")
add_versions("1.4.0", "377c4491593c417946efcd2c7600d1e62639f7a8bbca391887e2c4679807d773") add_versions("1.4.0", "377c4491593c417946efcd2c7600d1e62639f7a8bbca391887e2c4679807d773")
if is_plat("linux") then
add_extsources("apt::xtrans-dev")
end
if is_plat("macosx", "linux") then if is_plat("macosx", "linux") then
add_deps("pkg-config", "util-macros", "xorgproto") add_deps("pkg-config", "util-macros", "xorgproto")
end end

Loading…
Cancel
Save