1 Commits
Author SHA256 Message Date
sisungo fa5d25b3f2 feat: add package ruby
Signed-off-by: sisungo <[email protected]>
2026-11-05 03:29:20 +00:00
2 changed files with 28 additions and 49 deletions

No files matched your search

-49
View File
@@ -1,49 +0,0 @@
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"])
+28
View File
@@ -0,0 +1,28 @@
from lib.make import *
from lib import cpp, arch
version("4.0.9")
description("an open-source, object-oriented programming language")
maintainer("sisungo <[email protected]>")
source_url("https://cache.ruby-lang.org/pub/ruby/4.0/ruby-4.0.9.tar.gz")
builddep("shortcut/c")
builddep("shortcut/autotools")
def build():
cpp.configure([
"--enable-rpath",
"--enable-shared",
"--disable-yjit",
"--disable-zjit",
"--without-git",
"--without-gcc",
"--without-gmp",
"--without-jemalloc",
])
cpp.make()
cpp.make_install()
on_build(build)