forked from semios/ports
Compare commits
2
Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
e61e796eda | ||
|
|
6837ddb31a |
@@ -1,40 +0,0 @@
|
|||||||
import os
|
|
||||||
|
|
||||||
from lib.make import *
|
|
||||||
from lib import cpp, packie
|
|
||||||
|
|
||||||
|
|
||||||
version("2.1")
|
|
||||||
description("a software implementation of the JBIG1 data compression standard")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://www.cl.cam.ac.uk/~mgk25/jbigkit/download/jbigkit-2.1.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/c")
|
|
||||||
builddep("shortcut/autotools")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.make(["CC=cc"])
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
def pack_bin(composer):
|
|
||||||
composer.makedir("bin")
|
|
||||||
for i in ["pbmtojbg", "jbgtopbm", "pbmtojbg85", "jbgtopbm85"]:
|
|
||||||
composer.addfile(f"pbmtools/{i}", f"bin/{i}")
|
|
||||||
|
|
||||||
def pack_dev(composer):
|
|
||||||
composer.makedir("lib")
|
|
||||||
composer.makedir("include")
|
|
||||||
for i in ["jbig.h", "jbig85.h", "jbig_ar.h"]:
|
|
||||||
composer.addfile(f"libjbig/{i}", f"include/{i}")
|
|
||||||
for i in ["libjbig.a", "libjbig85.a"]:
|
|
||||||
composer.addfile(f"libjbig/{i}", f"lib/{i}")
|
|
||||||
|
|
||||||
package("jbig-kit")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
on_pack(pack_bin)
|
|
||||||
|
|
||||||
package("libjbig-dev")
|
|
||||||
on_pack(pack_dev)
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
from lib.make import *
|
|
||||||
from lib import cpp, arch
|
|
||||||
|
|
||||||
|
|
||||||
version("2.19.1")
|
|
||||||
description("A free, open source, CMM engine. It provides fast transforms between ICC profiles.")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://github.com/mm2/Little-CMS/releases/download/lcms2.19.1/lcms2-2.19.1.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/c")
|
|
||||||
builddep("shortcut/autotools")
|
|
||||||
builddep("libjpeg-turbo-dev @target")
|
|
||||||
builddep("libtiff-dev @target")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.configure([
|
|
||||||
"--prefix=/",
|
|
||||||
f"--libdir={get_prefix('liblcms')}/lib",
|
|
||||||
f"--bindir={get_prefix('liblcms-tools')}/bin",
|
|
||||||
f"--includedir={get_prefix('liblcms-dev')}/include",
|
|
||||||
])
|
|
||||||
cpp.make()
|
|
||||||
cpp.make_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
package("liblcms")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
cpp.use_auto_pack(["lib"])
|
|
||||||
|
|
||||||
package("liblcms-tools")
|
|
||||||
dep("libjpeg-turbo @same-arch")
|
|
||||||
dep("libtiff @same-arch")
|
|
||||||
dep("liblcms (same)")
|
|
||||||
cpp.use_auto_pack(["bin"])
|
|
||||||
|
|
||||||
package("liblcms-dev")
|
|
||||||
dep("liblcms (same)")
|
|
||||||
dep("semi-libc-dev @same-arch")
|
|
||||||
cpp.use_auto_pack(["dev"])
|
|
||||||
@@ -4,7 +4,7 @@ from lib import cpp
|
|||||||
|
|
||||||
version("1.4.357.0")
|
version("1.4.357.0")
|
||||||
description("SPIR-V headers")
|
description("SPIR-V headers")
|
||||||
maintainer("sisungo <[email protected]>")
|
maintainer("sisungo <[email protected]>")
|
||||||
source_url("https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-1.4.357.0.tar.gz")
|
source_url("https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-1.4.357.0.tar.gz")
|
||||||
|
|
||||||
builddep("shortcut/cmake")
|
builddep("shortcut/cmake")
|
||||||
|
|||||||
@@ -1,27 +0,0 @@
|
|||||||
from lib.make import *
|
|
||||||
from lib import cpp
|
|
||||||
|
|
||||||
|
|
||||||
version("1.4.357.0")
|
|
||||||
description("Vulkan headers")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://github.com/KhronosGroup/Vulkan-Headers/archive/refs/tags/vulkan-sdk-1.4.357.0.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/cmake")
|
|
||||||
builddep("shortcut/c++")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.cmake([f"-DCMAKE_INSTALL_PREFIX={get_prefix('vulkan-headers')}"])
|
|
||||||
cpp.ninja()
|
|
||||||
cpp.ninja_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
def pack(composer):
|
|
||||||
composer.add("include")
|
|
||||||
composer.add("share", "lib")
|
|
||||||
|
|
||||||
package("vulkan-headers")
|
|
||||||
on_pack(pack)
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
--- a/loader/loader.c
|
|
||||||
+++ b/loader/loader.c
|
|
||||||
3731a3732,3735
|
|
||||||
> vk_result = copy_data_file_info(inst, LIBDIR, relative_location, rel_size, &search_paths);
|
|
||||||
> if (VK_SUCCESS != vk_result) {
|
|
||||||
> goto out;
|
|
||||||
> }
|
|
||||||
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
304a305
|
|
||||||
> target_compile_definitions(loader_common_options INTERFACE LIBDIR="${SYSLIBDIR}")
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
import os
|
|
||||||
import shutil
|
|
||||||
|
|
||||||
from lib.make import *
|
|
||||||
from lib import cpp, arch
|
|
||||||
|
|
||||||
|
|
||||||
sdk_version = "1.4.357.0"
|
|
||||||
|
|
||||||
version(sdk_version)
|
|
||||||
description("the Khronos official Vulkan Loader for all platforms")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://github.com/KhronosGroup/Vulkan-Loader/archive/refs/tags/vulkan-sdk-1.4.357.0.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/cmake")
|
|
||||||
builddep("shortcut/c++")
|
|
||||||
builddep(f"vulkan-headers (={sdk_version}) @target")
|
|
||||||
builddep("libwayland-dev @target")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.cmake([
|
|
||||||
"-DCMAKE_INSTALL_PREFIX=/",
|
|
||||||
"-DCMAKE_INSTALL_SYSCONFDIR=/var/config",
|
|
||||||
f"-DSYSLIBDIR=/lib/{arch.get_target()}",
|
|
||||||
f"-DVulkanHeaders_DIR=/lib/{arch.get_target()}/cmake/VulkanHeaders",
|
|
||||||
f"-DCMAKE_INSTALL_LIBDIR={get_prefix('libvulkan')}/lib",
|
|
||||||
f"-DCMAKE_INSTALL_INCLUDEDIR={get_prefix('libvulkan-dev')}/include",
|
|
||||||
"-DBUILD_WSI_XCB_SUPPORT=OFF",
|
|
||||||
"-DBUILD_WSI_XLIB_SUPPORT=OFF",
|
|
||||||
"-DBUILD_WSI_WAYLAND_SUPPORT=ON",
|
|
||||||
])
|
|
||||||
cpp.ninja()
|
|
||||||
cpp.ninja_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
package("libvulkan")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
cpp.use_auto_pack(["lib"])
|
|
||||||
|
|
||||||
package("libvulkan-dev")
|
|
||||||
dep("libvulkan (same)")
|
|
||||||
cpp.use_auto_pack(["dev"])
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
import os
|
|
||||||
import shutil
|
|
||||||
|
|
||||||
from lib import rust
|
|
||||||
from lib.make import *
|
|
||||||
|
|
||||||
version("0.17.0")
|
|
||||||
description("A cross-platform, OpenGL terminal emulator.")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://github.com/alacritty/alacritty/archive/refs/tags/v0.17.0.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/c")
|
|
||||||
builddep("shortcut/cmake")
|
|
||||||
builddep("shortcut/rust")
|
|
||||||
builddep("libfreetype-dev @target")
|
|
||||||
builddep("libfontconfig-dev @target")
|
|
||||||
builddep("libxkbcommon-dev @target")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
rust.build(["--no-default-features", "--features", "wayland"])
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
package("alacritty")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
dep("libfreetype @same-arch")
|
|
||||||
dep("libfontconfig @same-arch")
|
|
||||||
rust.use_auto_pack(["bin"])
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
from lib import cpp
|
|
||||||
from lib.make import *
|
|
||||||
|
|
||||||
version("0.3.1")
|
|
||||||
description("A Wayland kiosk")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://github.com/cage-kiosk/cage/releases/download/v0.3.1/cage-0.3.1.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/c")
|
|
||||||
builddep("shortcut/meson")
|
|
||||||
builddep("libwlr-dev @target")
|
|
||||||
builddep("linux-dev @target")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.meson_setup([
|
|
||||||
"--prefix=/",
|
|
||||||
f"--bindir={get_prefix('cage')}/bin",
|
|
||||||
])
|
|
||||||
cpp.meson_compile()
|
|
||||||
cpp.meson_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
package("cage")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
dep("libwayland @same-arch")
|
|
||||||
dep("libwlr @same-arch")
|
|
||||||
dep("libxkbcommon @same-arch")
|
|
||||||
cpp.use_auto_pack(["bin"])
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
import os
|
|
||||||
import shutil
|
|
||||||
|
|
||||||
from lib import cpp
|
|
||||||
from lib.make import *
|
|
||||||
|
|
||||||
version("1.28.0")
|
|
||||||
description("A fast, lightweight and minimalistic Wayland terminal emulator")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://codeberg.org/dnkl/foot/releases/download/1.28.0/foot-1.28.0.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/c")
|
|
||||||
builddep("shortcut/meson")
|
|
||||||
builddep("ncurses-tools @target")
|
|
||||||
builddep("libncurses-dev @target")
|
|
||||||
builddep("libwayland-dev @target")
|
|
||||||
builddep("wayland-protocols @target")
|
|
||||||
builddep("libpixman-dev @target")
|
|
||||||
builddep("libxkbcommon-dev @target")
|
|
||||||
builddep("libfontconfig-dev @target")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.meson_setup([f"--prefix={get_prefix('foot')}"])
|
|
||||||
cpp.meson_compile()
|
|
||||||
cpp.meson_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
package("foot")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
dep("libxkbcommon @same-arch")
|
|
||||||
dep("xkeyboard-config")
|
|
||||||
dep("libpixman @same-arch")
|
|
||||||
dep("libfontconfig @same-arch")
|
|
||||||
dep("libwayland @same-arch")
|
|
||||||
cpp.use_auto_pack(["bin"])
|
|
||||||
@@ -14,13 +14,14 @@ source_url("https://download.gnome.org/sources/glib/2.89/glib-2.89.2.tar.xz")
|
|||||||
builddep("shortcut/c++")
|
builddep("shortcut/c++")
|
||||||
builddep("shortcut/meson")
|
builddep("shortcut/meson")
|
||||||
builddep("gettext")
|
builddep("gettext")
|
||||||
builddep(f"libintl-dev @{arch.get_target()}")
|
builddep("libintl-dev @target")
|
||||||
builddep("pcre2-tools")
|
builddep("pcre2-tools")
|
||||||
builddep(f"libpcre2-dev @{arch.get_target()}")
|
builddep("libpcre2-dev @target")
|
||||||
builddep(f"libffi-dev @{arch.get_target()}")
|
builddep("libffi-dev @target")
|
||||||
builddep("pkgconf")
|
builddep("pkgconf")
|
||||||
builddep(f"libz-ng-dev @{arch.get_target()}")
|
builddep("libz-ng-dev @target")
|
||||||
builddep("libexpat")
|
builddep("libexpat")
|
||||||
|
builddep("gobject-introspection @target")
|
||||||
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
@@ -29,6 +30,7 @@ def build():
|
|||||||
cpp.meson_setup([
|
cpp.meson_setup([
|
||||||
"-Druntime_dir=/run",
|
"-Druntime_dir=/run",
|
||||||
f"-Dgio_module_dir=/lib/{arch.get_target()}/gio/modules",
|
f"-Dgio_module_dir=/lib/{arch.get_target()}/gio/modules",
|
||||||
|
"-Dintrospection=enabled",
|
||||||
"--prefix=/",
|
"--prefix=/",
|
||||||
f"--bindir={get_prefix('glib-tools')}/bin",
|
f"--bindir={get_prefix('glib-tools')}/bin",
|
||||||
f"--libdir={get_prefix('glib-dev')}/lib",
|
f"--libdir={get_prefix('glib-dev')}/lib",
|
||||||
|
|||||||
@@ -0,0 +1,49 @@
|
|||||||
|
import shutil
|
||||||
|
|
||||||
|
from lib.make import *
|
||||||
|
from lib import cpp, arch
|
||||||
|
|
||||||
|
|
||||||
|
version("1.86.0")
|
||||||
|
description("to describe the APIs and collect them in a uniform, machine readable format")
|
||||||
|
maintainer("sisungo <[email protected]>")
|
||||||
|
source_url("https://gitlab.gnome.org/GNOME/gobject-introspection/-/archive/1.86.0/gobject-introspection-1.86.0.tar.gz")
|
||||||
|
|
||||||
|
builddep("shortcut/meson")
|
||||||
|
builddep("shortcut/c")
|
||||||
|
builddep("glib-dev @target")
|
||||||
|
builddep("setuptools.py @target")
|
||||||
|
builddep("libpython-dev @target")
|
||||||
|
builddep("flex")
|
||||||
|
builddep("bison")
|
||||||
|
builddep("libexpat @target")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
cpp.meson_setup([
|
||||||
|
f"--prefix={get_prefix('gobject-introspection')}",
|
||||||
|
f"-Dgir_dir_prefix=/lib/{arch.get_target()}/include/gir",
|
||||||
|
"-Dcairo=disabled",
|
||||||
|
"-Dpython=/bin/python3",
|
||||||
|
"-Dtests=false",
|
||||||
|
])
|
||||||
|
cpp.meson_compile()
|
||||||
|
cpp.meson_install()
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
|
||||||
|
def pack(composer):
|
||||||
|
composer.add_dir("include")
|
||||||
|
composer.add_dir("share")
|
||||||
|
composer.add_dir("bin")
|
||||||
|
composer.add_dir("lib")
|
||||||
|
shutil.rmtree(f"{composer.workdir}/bundle/lib/{arch.get_target()}")
|
||||||
|
composer.add_dir(f"lib/{arch.get_target()}/include/gir", "include/gir")
|
||||||
|
|
||||||
|
package("gobject-introspection")
|
||||||
|
dep("python @same-arch")
|
||||||
|
dep("setuptools.py @same-arch")
|
||||||
|
dep("glib-dev @same-arch")
|
||||||
|
on_pack(pack)
|
||||||
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
from lib.make import *
|
|
||||||
from lib import cpp
|
|
||||||
|
|
||||||
|
|
||||||
version("0.411")
|
|
||||||
description("hwdata contains various hardware identification and configuration data, such as the pci.ids and usb.ids databases.")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://github.com/vcrhonek/hwdata/archive/refs/tags/v0.411.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/autotools")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.configure(["--disable-blacklist", f"--prefix={get_prefix('hwdata')}"])
|
|
||||||
cpp.make()
|
|
||||||
cpp.make_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
def pack(composer):
|
|
||||||
composer.add("share")
|
|
||||||
|
|
||||||
package("hwdata")
|
|
||||||
arch_any()
|
|
||||||
on_pack(pack)
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
import os
|
|
||||||
|
|
||||||
from lib.make import *
|
|
||||||
from lib import cpp, packie
|
|
||||||
|
|
||||||
|
|
||||||
version("4.2.0")
|
|
||||||
description("an open-source image or raster format which supports rapid encoding and decoding for any pixel type")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://github.com/Esri/lerc/archive/refs/tags/v4.2.0.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/c++")
|
|
||||||
builddep("shortcut/cmake")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.cmake([
|
|
||||||
f"-DCMAKE_INSTALL_LIBDIR={get_prefix('liblerc')}/lib",
|
|
||||||
f"-DCMAKE_INSTALL_INCLUDEDIR={get_prefix('liblerc-dev')}/include",
|
|
||||||
])
|
|
||||||
cpp.ninja()
|
|
||||||
cpp.ninja_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
package("liblerc")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
cpp.use_auto_pack(["lib"])
|
|
||||||
|
|
||||||
package("liblerc-dev")
|
|
||||||
dep("liblerc (same)")
|
|
||||||
dep("semi-libc-dev @same-arch")
|
|
||||||
cpp.use_auto_pack(["dev"])
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
import os
|
|
||||||
|
|
||||||
from lib.make import *
|
|
||||||
from lib import cpp
|
|
||||||
|
|
||||||
|
|
||||||
version("0.4.0")
|
|
||||||
description("EDID and DisplayID library")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://gitlab.freedesktop.org/emersion/libdisplay-info/-/archive/0.4.0/libdisplay-info-0.4.0.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/c")
|
|
||||||
builddep("shortcut/meson")
|
|
||||||
builddep("hwdata @any")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
os.environ["PKG_CONFIG_PATH"] = os.environ.get("PKG_CONFIG_PATH", "") + ":/share/pkgconfig"
|
|
||||||
cpp.meson_setup([
|
|
||||||
"--prefix=/",
|
|
||||||
f"--libdir={get_prefix('libdisplay-info')}/lib",
|
|
||||||
f"--bindir={get_prefix('libdisplay-info-tools')}/bin",
|
|
||||||
f"--includedir={get_prefix('libdisplay-info-dev')}/include",
|
|
||||||
])
|
|
||||||
cpp.meson_compile()
|
|
||||||
cpp.meson_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
package("libdisplay-info")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
cpp.use_auto_pack(["lib"])
|
|
||||||
|
|
||||||
package("libdisplay-info-tools")
|
|
||||||
dep("libdisplay-info (same)")
|
|
||||||
cpp.use_auto_pack(["bin"])
|
|
||||||
|
|
||||||
package("libdisplay-info-dev")
|
|
||||||
dep("libdisplay-info (same)")
|
|
||||||
dep("semi-libc-dev @same-arch")
|
|
||||||
cpp.use_auto_pack(["dev"])
|
|
||||||
@@ -73,7 +73,6 @@ dep("libgldispatch (same)")
|
|||||||
on_pack(lambda composer: pack_librun(composer, "libEGL"))
|
on_pack(lambda composer: pack_librun(composer, "libEGL"))
|
||||||
|
|
||||||
package("libegl-dev")
|
package("libegl-dev")
|
||||||
dep("libgldispatch-dev (same)")
|
|
||||||
dep("libegl (same)")
|
dep("libegl (same)")
|
||||||
on_pack(lambda composer: pack_libdev(composer, "libegl", "egl.pc", ["EGL"]))
|
on_pack(lambda composer: pack_libdev(composer, "libegl", "egl.pc", ["EGL"]))
|
||||||
|
|
||||||
@@ -83,7 +82,6 @@ on_pack(lambda composer: pack_librun(composer, "libGLESv1_CM"))
|
|||||||
|
|
||||||
package("libglesv1-cm-dev")
|
package("libglesv1-cm-dev")
|
||||||
dep("libglesv1-cm (same)")
|
dep("libglesv1-cm (same)")
|
||||||
dep("libgldispatch-dev (same)")
|
|
||||||
on_pack(lambda composer: pack_libdev(composer, "libglesv1-cm", "glesv1_cm.pc", ["GLES"]))
|
on_pack(lambda composer: pack_libdev(composer, "libglesv1-cm", "glesv1_cm.pc", ["GLES"]))
|
||||||
|
|
||||||
package("libglesv2")
|
package("libglesv2")
|
||||||
@@ -92,7 +90,6 @@ on_pack(lambda composer: pack_librun(composer, "libGLESv2"))
|
|||||||
|
|
||||||
package("libglesv2-dev")
|
package("libglesv2-dev")
|
||||||
dep("libglesv2 (same)")
|
dep("libglesv2 (same)")
|
||||||
dep("libgldispatch-dev (same)")
|
|
||||||
on_pack(lambda composer: pack_libdev(composer, "libglesv2", "glesv2.pc", ["GLES2", "GLES3"]))
|
on_pack(lambda composer: pack_libdev(composer, "libglesv2", "glesv2.pc", ["GLES2", "GLES3"]))
|
||||||
|
|
||||||
package("libopengl")
|
package("libopengl")
|
||||||
@@ -101,5 +98,5 @@ on_pack(lambda composer: pack_librun(composer, "libOpenGL"))
|
|||||||
|
|
||||||
package("libopengl-dev")
|
package("libopengl-dev")
|
||||||
dep("libopengl (same)")
|
dep("libopengl (same)")
|
||||||
dep("libgldispatch-dev (same)")
|
|
||||||
on_pack(lambda composer: pack_libdev(composer, "libopengl", "opengl.pc", ["GL"]))
|
on_pack(lambda composer: pack_libdev(composer, "libopengl", "opengl.pc", ["GL"]))
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
--- a/gudev/meson.build
|
||||||
|
+++ b/gudev/meson.build
|
||||||
|
36c36
|
||||||
|
< '-export-dynamic',
|
||||||
|
---
|
||||||
|
> '-Wl,-export-dynamic',
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
from lib import cpp
|
||||||
|
from lib.make import *
|
||||||
|
|
||||||
|
version("238")
|
||||||
|
description("Input device management and event handling library")
|
||||||
|
maintainer("sisungo <[email protected]>")
|
||||||
|
source_url("https://gitlab.gnome.org/GNOME/libgudev/-/archive/238/libgudev-238.tar.gz")
|
||||||
|
|
||||||
|
builddep("shortcut/c")
|
||||||
|
builddep("shortcut/meson")
|
||||||
|
builddep("gobject-introspection @target")
|
||||||
|
builddep("glib-dev @target")
|
||||||
|
builddep("lxdeviced-libudev-dev @target")
|
||||||
|
builddep("glib-tools")
|
||||||
|
builddep("libexpat")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
cpp.meson_setup([
|
||||||
|
"--prefix=/",
|
||||||
|
f"--libdir={get_prefix('libgudev')}/lib",
|
||||||
|
f"--includedir={get_prefix('libgudev-dev')}/include",
|
||||||
|
"-Dintrospection=enabled",
|
||||||
|
])
|
||||||
|
cpp.meson_compile()
|
||||||
|
cpp.meson_install()
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
|
||||||
|
package("libgudev")
|
||||||
|
dep("semi-libc @same-arch")
|
||||||
|
dep("lxdeviced-libudev @same-arch")
|
||||||
|
dep("libglib @same-arch")
|
||||||
|
dep("libgobject @same-arch")
|
||||||
|
cpp.use_auto_pack(["lib"])
|
||||||
|
|
||||||
|
package("libgudev-dev")
|
||||||
|
dep("libgudev (same)")
|
||||||
|
dep("lxdeviced-libudev-dev @same-arch")
|
||||||
|
dep("glib-dev @same-arch")
|
||||||
|
cpp.use_auto_pack(["dev"])
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
from lib.make import *
|
|
||||||
from lib import cpp, packie
|
|
||||||
|
|
||||||
|
|
||||||
version("3.2.0")
|
|
||||||
description("a JPEG image codec that uses SIMD instructions to accelerate baseline and progressive JPEG compression and decompression")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.2.0/libjpeg-turbo-3.2.0.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/c")
|
|
||||||
builddep("shortcut/cmake")
|
|
||||||
builddep("libspng-dev @target")
|
|
||||||
builddep("libz-ng-dev @target")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.cmake([
|
|
||||||
f"-DCMAKE_INSTALL_LIBDIR={get_prefix('libjpeg-turbo')}/lib",
|
|
||||||
f"-DCMAKE_INSTALL_INCLUDEDIR={get_prefix('libjpeg-turbo-dev')}/include",
|
|
||||||
"-DWITH_JPEG8=1",
|
|
||||||
"-DWITH_SYSTEM_SPNG=1",
|
|
||||||
"-DWITH_SYSTEM_ZLIB=1",
|
|
||||||
f"-DZLIB_LIBRARY={packie.prefix_of('libz-ng')}/lib/libz.so",
|
|
||||||
f"-DZLIB_INCLUDE_DIR={packie.prefix_of('libz-ng-dev')}/include",
|
|
||||||
])
|
|
||||||
cpp.ninja()
|
|
||||||
cpp.ninja_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
package("libjpeg-turbo")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
dep("libspng @same-arch")
|
|
||||||
cpp.use_auto_pack(["lib"])
|
|
||||||
provide("libjpeg @same-arch")
|
|
||||||
|
|
||||||
package("libjpeg-turbo-tools")
|
|
||||||
dep("libjpeg-turbo (same)")
|
|
||||||
cpp.use_auto_pack(["bin"])
|
|
||||||
|
|
||||||
package("libjpeg-turbo-dev")
|
|
||||||
dep("libjpeg-turbo (same)")
|
|
||||||
dep("semi-libc-dev @same-arch")
|
|
||||||
dep("libspng-dev @same-arch")
|
|
||||||
cpp.use_auto_pack(["dev"])
|
|
||||||
provide("libjpeg-dev @same-arch")
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
import os
|
|
||||||
|
|
||||||
from lib.make import *
|
|
||||||
from lib import cpp
|
|
||||||
|
|
||||||
|
|
||||||
version("0.5.0")
|
|
||||||
description("Lightweight KMS plane library")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://gitlab.freedesktop.org/emersion/libliftoff/-/archive/v0.5.0/libliftoff-v0.5.0.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/c")
|
|
||||||
builddep("shortcut/meson")
|
|
||||||
builddep("libdrm-dev @target")
|
|
||||||
builddep("linux-dev @target")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.meson_setup([
|
|
||||||
"--prefix=/",
|
|
||||||
f"--libdir={get_prefix('libliftoff')}/lib",
|
|
||||||
f"--includedir={get_prefix('libliftoff-dev')}/include",
|
|
||||||
])
|
|
||||||
cpp.meson_compile()
|
|
||||||
cpp.meson_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
package("libliftoff")
|
|
||||||
dep("libdrm @same-arch")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
cpp.use_auto_pack(["lib"])
|
|
||||||
|
|
||||||
package("libliftoff-dev")
|
|
||||||
dep("libliftoff (same)")
|
|
||||||
dep("semi-libc-dev @same-arch")
|
|
||||||
dep("libdrm-dev @same-arch")
|
|
||||||
cpp.use_auto_pack(["dev"])
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
from lib.make import *
|
|
||||||
from lib import cpp
|
|
||||||
|
|
||||||
|
|
||||||
version("0.7.4")
|
|
||||||
description("a C library for reading and writing Portable Network Graphics (PNG) format files with a focus on security and ease of use")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://github.com/randy408/libspng/archive/v0.7.4.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/c")
|
|
||||||
builddep("shortcut/meson")
|
|
||||||
builddep("libz-dev @target")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.meson_setup([
|
|
||||||
f"--libdir={get_prefix('libspng')}/lib",
|
|
||||||
f"--includedir={get_prefix('libspng-dev')}/include",
|
|
||||||
])
|
|
||||||
cpp.meson_compile()
|
|
||||||
cpp.meson_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
package("libspng")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
dep("libz @same-arch")
|
|
||||||
cpp.use_auto_pack(["lib"])
|
|
||||||
|
|
||||||
package("libspng-dev")
|
|
||||||
dep("libspng (same)")
|
|
||||||
dep("semi-libc-dev @same-arch")
|
|
||||||
dep("libz-dev @same-arch")
|
|
||||||
cpp.use_auto_pack(["dev"])
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
from lib.make import *
|
|
||||||
from lib import cpp
|
|
||||||
|
|
||||||
|
|
||||||
version("4.7.2")
|
|
||||||
description("TIFF Library and Utilities")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("http://download.osgeo.org/libtiff/tiff-4.7.2.tar.xz")
|
|
||||||
|
|
||||||
builddep("shortcut/c++")
|
|
||||||
builddep("shortcut/autotools")
|
|
||||||
builddep("libz-dev @target")
|
|
||||||
builddep("liblzma-dev @target")
|
|
||||||
builddep("libzstd-dev @target")
|
|
||||||
builddep("libjbig-dev @target")
|
|
||||||
builddep("liblerc-dev @target")
|
|
||||||
builddep("libwebp-dev @target")
|
|
||||||
builddep("libjpeg-turbo-dev @target")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.configure([
|
|
||||||
"--prefix=/",
|
|
||||||
f"--bindir={get_prefix('libtiff-tools')}/bin",
|
|
||||||
f"--libdir={get_prefix('libtiff')}/lib",
|
|
||||||
f"--includedir={get_prefix('libtiff-dev')}/include",
|
|
||||||
"--disable-thunder",
|
|
||||||
"--disable-next",
|
|
||||||
"--disable-libdeflate",
|
|
||||||
"--disable-pixarlog",
|
|
||||||
"--disable-old-jpeg",
|
|
||||||
"--enable-defer-strile-load",
|
|
||||||
])
|
|
||||||
cpp.make()
|
|
||||||
cpp.make_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
package("libtiff")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
dep("libwebp @same-arch")
|
|
||||||
dep("libzstd @same-arch")
|
|
||||||
dep("liblzma @same-arch")
|
|
||||||
dep("liblerc @same-arch")
|
|
||||||
dep("libjpeg-turbo @same-arch")
|
|
||||||
dep("libz @same-arch")
|
|
||||||
dep("libcxx @same-arch")
|
|
||||||
cpp.use_auto_pack(["lib"])
|
|
||||||
|
|
||||||
package("libtiff-tools")
|
|
||||||
dep("libtiff (same)")
|
|
||||||
cpp.use_auto_pack(["bin"])
|
|
||||||
|
|
||||||
package("libtiff-dev")
|
|
||||||
dep("libtiff (same)")
|
|
||||||
dep("semi-libc-dev @same-arch")
|
|
||||||
dep("libwebp-dev @same-arch")
|
|
||||||
dep("libzstd-dev @same-arch")
|
|
||||||
dep("liblzma-dev @same-arch")
|
|
||||||
dep("liblerc-dev @same-arch")
|
|
||||||
dep("libjpeg-turbo-dev @same-arch")
|
|
||||||
dep("libz-dev @same-arch")
|
|
||||||
dep("libcxx-dev @same-arch")
|
|
||||||
cpp.use_auto_pack(["dev"])
|
|
||||||
@@ -4,7 +4,7 @@ from lib.make import *
|
|||||||
|
|
||||||
version("2.15.3")
|
version("2.15.3")
|
||||||
description("an XML toolkit implemented in C, originally developed for the GNOME Project")
|
description("an XML toolkit implemented in C, originally developed for the GNOME Project")
|
||||||
maintainer("sisungo <[email protected]>")
|
maintainer("sisungo <[email protected]>")
|
||||||
source_url("https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.3.tar.xz")
|
source_url("https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.3.tar.xz")
|
||||||
|
|
||||||
builddep("shortcut/autotools")
|
builddep("shortcut/autotools")
|
||||||
@@ -27,5 +27,6 @@ dep("semi-libc @same-arch")
|
|||||||
cpp.use_auto_pack(["lib"])
|
cpp.use_auto_pack(["lib"])
|
||||||
|
|
||||||
package("libxml2-dev")
|
package("libxml2-dev")
|
||||||
dep("semi-libc @same-arch")
|
dep("libxml2 (same)")
|
||||||
|
dep("semi-libc-dev @same-arch")
|
||||||
cpp.use_auto_pack(["dev"])
|
cpp.use_auto_pack(["dev"])
|
||||||
|
|||||||
@@ -1,42 +0,0 @@
|
|||||||
import os
|
|
||||||
|
|
||||||
from lib.make import *
|
|
||||||
from lib import cpp
|
|
||||||
|
|
||||||
|
|
||||||
version("0.9.3")
|
|
||||||
description("A minimal seat management daemon, and a universal seat management library.")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://git.sr.ht/~kennylevinsen/seatd/archive/0.9.3.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/c")
|
|
||||||
builddep("shortcut/meson")
|
|
||||||
builddep("linux-dev @target")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
os.environ["CFLAGS"] = os.environ.get("CFLAGS", "") + " -Wno-error"
|
|
||||||
cpp.meson_setup([
|
|
||||||
f"--libdir={get_prefix('libseat')}/lib",
|
|
||||||
f"--includedir={get_prefix('libseat-dev')}/include",
|
|
||||||
f"--bindir={get_prefix('seatd')}/bin",
|
|
||||||
"-Ddefaultpath=/run/seatd.sock",
|
|
||||||
])
|
|
||||||
cpp.meson_compile()
|
|
||||||
cpp.meson_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
package("libseat")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
cpp.use_auto_pack(["lib"])
|
|
||||||
|
|
||||||
package("seatd")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
cpp.use_auto_pack(["bin"])
|
|
||||||
|
|
||||||
package("libseat-dev")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
dep("libseat (same)")
|
|
||||||
cpp.use_auto_pack(["dev"])
|
|
||||||
@@ -9,18 +9,16 @@ source_url("https://gitlab.freedesktop.org/wayland/wayland-protocols/-/archive/1
|
|||||||
|
|
||||||
builddep("shortcut/meson")
|
builddep("shortcut/meson")
|
||||||
builddep("shortcut/c++")
|
builddep("shortcut/c++")
|
||||||
builddep("libffi-dev @target")
|
builddep(f"libffi-dev @{arch.get_target()}")
|
||||||
builddep("libexpat-dev @target")
|
builddep(f"libexpat-dev @{arch.get_target()}")
|
||||||
builddep("pkgconf @target")
|
builddep(f"pkgconf @{arch.get_target()}")
|
||||||
builddep("gnu-sed")
|
builddep("gnu-sed")
|
||||||
builddep("libwayland-dev @target")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
cpp.meson_setup([
|
cpp.meson_setup([
|
||||||
f"--prefix={get_prefix('wayland-protocols')}",
|
f"--prefix={get_prefix('wayland-protocols')}",
|
||||||
f"--datadir={get_prefix('wayland-protocols')}/share",
|
f"--datadir={get_prefix('wayland-protocols')}/share",
|
||||||
f"--includedir={get_prefix('wayland-protocols')}/include",
|
|
||||||
"-Dtests=false",
|
"-Dtests=false",
|
||||||
])
|
])
|
||||||
cpp.meson_compile()
|
cpp.meson_compile()
|
||||||
@@ -34,7 +32,6 @@ def pack(composer):
|
|||||||
composer.add_dir("share/pkgconfig", "lib/pkgconfig")
|
composer.add_dir("share/pkgconfig", "lib/pkgconfig")
|
||||||
composer.makedir("share")
|
composer.makedir("share")
|
||||||
composer.add_dir("share/wayland-protocols")
|
composer.add_dir("share/wayland-protocols")
|
||||||
composer.add_dir("include")
|
|
||||||
|
|
||||||
package("wayland-protocols")
|
package("wayland-protocols")
|
||||||
on_pack(pack)
|
on_pack(pack)
|
||||||
|
|||||||
@@ -1,92 +0,0 @@
|
|||||||
import os
|
|
||||||
|
|
||||||
from lib.make import *
|
|
||||||
from lib import cpp
|
|
||||||
|
|
||||||
|
|
||||||
version("0.20.2")
|
|
||||||
description("A modular Wayland compositor library")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/0.20.2/wlroots-0.20.2.tar.gz")
|
|
||||||
|
|
||||||
builddep("shortcut/c")
|
|
||||||
builddep("shortcut/meson")
|
|
||||||
builddep("libwayland-dev @target")
|
|
||||||
builddep("libdrm-dev @target")
|
|
||||||
builddep("libegl-dev @target")
|
|
||||||
builddep("libglesv2-dev @target")
|
|
||||||
builddep("libvulkan-dev @target")
|
|
||||||
builddep("vulkan-headers @target")
|
|
||||||
builddep("glslang @target")
|
|
||||||
builddep("libxkbcommon-dev @target")
|
|
||||||
builddep("libpixman-dev @target")
|
|
||||||
builddep("libseat-dev @target")
|
|
||||||
builddep("libinput-dev @target")
|
|
||||||
builddep("wayland-protocols @target")
|
|
||||||
builddep("libgbm-dev @target")
|
|
||||||
builddep("liblcms-dev (~2) @target")
|
|
||||||
builddep("lxdeviced-libudev-dev @target")
|
|
||||||
builddep("hwdata @any")
|
|
||||||
builddep("libdisplay-info-dev @target")
|
|
||||||
builddep("libliftoff-dev @target")
|
|
||||||
builddep("linux-dev @target")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
os.environ["PKG_CONFIG_PATH"] = os.environ.get("PKG_CONFIG_PATH", "") + ":/share/pkgconfig"
|
|
||||||
os.environ["CFLAGS"] = os.environ.get("CFLAGS", "") + " -Wno-error -DATOMIC_POINTER_LOCK_FREE"
|
|
||||||
cpp.meson_setup([
|
|
||||||
"--prefix=/",
|
|
||||||
f"--libdir={get_prefix('libwlr')}/lib",
|
|
||||||
f"--includedir={get_prefix('libwlr-dev')}/include",
|
|
||||||
"--datadir=/share",
|
|
||||||
"-Dexamples=false",
|
|
||||||
"-Drenderers=gles2,vulkan",
|
|
||||||
"-Dbackends=drm,libinput",
|
|
||||||
"-Dsession=enabled",
|
|
||||||
"-Dcolor-management=enabled",
|
|
||||||
"-Dlibliftoff=enabled",
|
|
||||||
])
|
|
||||||
cpp.meson_compile()
|
|
||||||
cpp.meson_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
package("libwlr")
|
|
||||||
dep("libwayland @same-arch")
|
|
||||||
dep("libdrm @same-arch")
|
|
||||||
dep("libxkbcommon @same-arch")
|
|
||||||
dep("libpixman @same-arch")
|
|
||||||
dep("libegl @same-arch")
|
|
||||||
dep("libgbm @same-arch")
|
|
||||||
dep("libglesv2 @same-arch")
|
|
||||||
dep("libvulkan @same-arch")
|
|
||||||
dep("liblcms @same-arch")
|
|
||||||
dep("lxdeviced-libudev @same-arch")
|
|
||||||
dep("libseat @same-arch")
|
|
||||||
dep("libdisplay-info @same-arch")
|
|
||||||
dep("libliftoff @same-arch")
|
|
||||||
dep("libinput @same-arch")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
cpp.use_auto_pack(["lib"])
|
|
||||||
|
|
||||||
package("libwlr-dev")
|
|
||||||
dep("libwlr (same)")
|
|
||||||
dep("libwayland-dev @same-arch")
|
|
||||||
dep("libdrm-dev @same-arch")
|
|
||||||
dep("libxkbcommon-dev @same-arch")
|
|
||||||
dep("libpixman-dev @same-arch")
|
|
||||||
dep("libegl-dev @same-arch")
|
|
||||||
dep("libgbm-dev @same-arch")
|
|
||||||
dep("libglesv2-dev @same-arch")
|
|
||||||
dep("libvulkan-dev @same-arch")
|
|
||||||
dep("liblcms-dev @same-arch")
|
|
||||||
dep("lxdeviced-libudev-dev @same-arch")
|
|
||||||
dep("libseat-dev @same-arch")
|
|
||||||
dep("libdisplay-info-dev @same-arch")
|
|
||||||
dep("libliftoff-dev @same-arch")
|
|
||||||
dep("libinput-dev @same-arch")
|
|
||||||
dep("semi-libc-dev @same-arch")
|
|
||||||
dep("wayland-protocols @same-arch")
|
|
||||||
cpp.use_auto_pack(["dev"])
|
|
||||||
Reference in New Issue
Block a user