Compare commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
a5e01e2b4c |
No files matched your search
@@ -0,0 +1,49 @@
|
||||
import os
|
||||
import shutil
|
||||
|
||||
from lib.make import *
|
||||
from lib import cpp, rust, arch
|
||||
|
||||
|
||||
version("2.63.4")
|
||||
description("")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("gitlab://gitlab.gnome.org/GNOME/librsvg#2.63.4", "rust")
|
||||
|
||||
builddep("shortcut/rust")
|
||||
builddep("shortcut/meson")
|
||||
builddep("gobject-introspection @target")
|
||||
builddep("libdav1d-dev @target")
|
||||
builddep("cargo-c")
|
||||
builddep("libcairo-gobject-dev @target")
|
||||
builddep("libharfbuzz-dev @target")
|
||||
builddep("libxml2-dev @target")
|
||||
builddep("libpango-dev @target")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.meson_setup([
|
||||
"-Dintrospection=enabled",
|
||||
"-Dpixbuf=disabled",
|
||||
"-Drsvg-convert=enabled",
|
||||
"-Dpixbuf-loader=disabled",
|
||||
"-Ddocs=disabled",
|
||||
"-Dvala=disabled",
|
||||
"-Dtests=true",
|
||||
f"-Dtriplet={rust._rust_triple(arch.get_target())}",
|
||||
"-Davif=enabled",
|
||||
])
|
||||
cpp.meson_compile()
|
||||
cpp.meson_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("librsvg")
|
||||
dep("semi-libc @same-arch")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
|
||||
package("librsvg-dev")
|
||||
dep("librsvg (same)")
|
||||
dep("semi-libc-dev @same-arch")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
@@ -1,36 +0,0 @@
|
||||
import os
|
||||
|
||||
from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("5.5.1")
|
||||
description("Lua is a free and versatile programming language that can be used for any purpose.")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://www.lua.org/ftp/lua-5.5.1.tar.gz")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/autotools")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.make()
|
||||
cpp.make_install([f"INSTALL_TOP={os.getcwd()}/../cpp_install"])
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
def pack_dev(composer):
|
||||
composer.makedir("lib")
|
||||
composer.add("lib/liblua.a")
|
||||
composer.add("include")
|
||||
|
||||
def pack_lua(composer):
|
||||
composer.add("bin")
|
||||
|
||||
package("lua")
|
||||
dep("semi-libc @same-arch")
|
||||
on_pack(pack_lua)
|
||||
|
||||
package("liblua-dev")
|
||||
on_pack(pack_dev)
|
||||
Reference in new issue
Block a user