Merge pull request 'fix: some packages are incorrectly built' (#77) from sisungo/ports:prelack into main
Reviewed-on: #77
This commit was merged in pull request #77.
This commit is contained in:
commit
60b05c9edb
7 files changed
+27
-20
No files matched your search
@@ -32,6 +32,4 @@ def pack(composer):
|
||||
package("7z")
|
||||
dep("semi-libc @same-arch")
|
||||
dep("libcxx @same-arch")
|
||||
dep("libcxxabi @same-arch")
|
||||
dep("libunwind @same-arch")
|
||||
on_pack(pack)
|
||||
@@ -17,9 +17,13 @@ weights = ["Bold", "Book", "Eight", "ExtraBold", "ExtraLight", "Four", "Hair", "
|
||||
|
||||
def find_file(width, style, weight):
|
||||
modify = width
|
||||
suffix = style
|
||||
if width == "Normal":
|
||||
modify = ""
|
||||
filename = f"FiraSans{modify}-{weight}{style}.otf"
|
||||
if style == "Roman":
|
||||
suffix = ""
|
||||
w = weight if weight else "Regular"
|
||||
filename = f"FiraSans{modify}-{weight}{suffix}.otf"
|
||||
if os.path.exists(f"{width}/{style}/{filename}"):
|
||||
return filename
|
||||
return None
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import os
|
||||
|
||||
from lib import arch, cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
upstream_version = "1.2.16.1"
|
||||
|
||||
version(upstream_version)
|
||||
@@ -14,16 +17,16 @@ builddep(f"linux-dev @{arch.get_target()}")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.configure(
|
||||
[
|
||||
"--prefix=/",
|
||||
f"--libdir={get_prefix('alsa-lib')}/lib",
|
||||
f"--includedir={get_prefix('alsa-lib-dev')}/include",
|
||||
"--enable-symbolic-functions",
|
||||
f"--with-configdir={get_prefix('alsa-lib')}/share/alsa",
|
||||
f"--with-plugindir=/lib/{arch.get_target()}/alsa/plugins",
|
||||
]
|
||||
)
|
||||
os.environ["CFLAGS"] = os.environ.get("CFLAGS", "") + " -fno-lto"
|
||||
os.environ["LDFLAGS"] = os.environ.get("LDFLAGS", "") + " -fno-lto"
|
||||
cpp.configure([
|
||||
"--prefix=/",
|
||||
f"--libdir={get_prefix('alsa-lib')}/lib",
|
||||
f"--includedir={get_prefix('alsa-lib-dev')}/include",
|
||||
"--enable-symbolic-functions",
|
||||
f"--with-configdir={get_prefix('alsa-lib')}/share/alsa",
|
||||
f"--with-plugindir=/lib/{arch.get_target()}/alsa/plugins",
|
||||
])
|
||||
cpp.make()
|
||||
cpp.make_install()
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ maintainer("sisungo <[email protected]>")
|
||||
source_managed("github://lu-zero/cargo-c#v0.10.26", "rust")
|
||||
|
||||
builddep("shortcut/rust")
|
||||
builddep("pkgconf-dev @target")
|
||||
builddep("pkgconf @target")
|
||||
builddep("aws-lc-dev @target")
|
||||
builddep("rust-bindgen")
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@ from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
upstream_version = "4.4.2"
|
||||
upstream_version = "4.5.1"
|
||||
[upstream_major, upstream_minor, upstream_rev] = upstream_version.split(".")
|
||||
|
||||
version(upstream_version)
|
||||
description("a cross-platform, open-source build system generator")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("github://Kitware/CMake#v4.4.2")
|
||||
source_managed("github://Kitware/CMake#v4.5.1")
|
||||
|
||||
builddep("shortcut/c++")
|
||||
builddep("shortcut/autotools")
|
||||
|
||||
@@ -2,10 +2,10 @@ import lib.rust as rust
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("0.12.0")
|
||||
version("0.13.0")
|
||||
description("system core utilities")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("github://uutils/coreutils#0.12.0", "rust")
|
||||
source_managed("github://uutils/coreutils#0.13.0", "rust")
|
||||
|
||||
block_hook("autolink")
|
||||
|
||||
@@ -133,3 +133,4 @@ for func in functions:
|
||||
link(f"bin/coreutils", f"/bin/{func}")
|
||||
rust.use_auto_pack(["bin"])
|
||||
dep("semi-libc @same-arch")
|
||||
dep("libunwind @same-arch")
|
||||
@@ -23,10 +23,11 @@ builddep("libgraphene-dev @target")
|
||||
builddep("cups-dev @target")
|
||||
builddep("libvulkan-dev @target")
|
||||
builddep("vulkan-headers @target")
|
||||
builddep("libgstreamer-dev @target")
|
||||
builddep("libdrm-dev @target")
|
||||
#builddep("libgstreamer-dev @target")
|
||||
#builddep("libgstgl-dev @target")
|
||||
#builddep("libgstplay-dev @target")
|
||||
builddep("libgstallocators-dev @target")
|
||||
#builddep("libgstallocators-dev @target")
|
||||
builddep("shaderc")
|
||||
builddep("linux-dev @target")
|
||||
|
||||
|
||||
Reference in new issue
Block a user