Skip to content

Commit eab3055

Browse files
committed
Add Lunasvg
1 parent 2c8b5c4 commit eab3055

6 files changed

Lines changed: 82 additions & 0 deletions

File tree

modules/lunasvg/2.4.1/MODULE.bazel

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module(
2+
name = "lunasvg",
3+
version = "2.4.1",
4+
compatibility_level = 1,
5+
)
6+
7+
bazel_dep(name = "rules_cc", version = "0.2.17")
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
load("@rules_cc//cc:defs.bzl", "cc_library")
2+
3+
cc_library(
4+
name = "lunasvg",
5+
srcs = glob(
6+
[
7+
"**/*.c",
8+
"**/*.cpp",
9+
"**/*.h",
10+
],
11+
exclude = ["svg2png.cpp"],
12+
),
13+
hdrs = ["include/lunasvg.h"],
14+
includes = [
15+
"3rdparty/plutovg",
16+
"3rdparty/stb",
17+
"include",
18+
],
19+
visibility = ["//visibility:public"],
20+
)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module(
2+
name = "lunasvg",
3+
version = "2.4.1",
4+
compatibility_level = 1,
5+
)
6+
7+
bazel_dep(name = "rules_cc", version = "0.2.17")
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
matrix:
2+
platform:
3+
- debian10
4+
- debian11
5+
- debian12
6+
- debian13
7+
- macos
8+
- macos_arm64
9+
- ubuntu2004
10+
- ubuntu2204
11+
- ubuntu2404
12+
- windows
13+
bazel: [7.x, 8.x, 9.x, rolling]
14+
tasks:
15+
verify_targets:
16+
name: Verify build targets
17+
platform: ${{ platform }}
18+
bazel: ${{ bazel }}
19+
build_targets:
20+
- "@lunasvg"

modules/lunasvg/2.4.1/source.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"url": "https://github.com/sammycage/lunasvg/archive/refs/tags/v2.4.1.tar.gz",
3+
"integrity": "sha256-250hNMjCVFaU5x5i+wdyp9CJ/lPhrOHgjCJ5qJ5FBTQ=",
4+
"strip_prefix": "lunasvg-2.4.1",
5+
"patch_strip": 0,
6+
"overlay": {
7+
"BUILD.bazel": "sha256-rknu/GOFB9RBw/kH1PI4wdjsdk3x/B1709LW3txkoJs=",
8+
"MODULE.bazel": "sha256-dKF3w6XUFQ0HgF83f9PkecUvR+BG3ZAXbHsNmp49LcM="
9+
}
10+
}

modules/lunasvg/metadata.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"homepage": "https://github.com/sammycage/lunasvg",
3+
"maintainers": [
4+
{
5+
"email": "bcr@laure.nz",
6+
"github": "lalten",
7+
"github_user_id": 11611719,
8+
"name": "Laurenz Altenmueller"
9+
}
10+
],
11+
"repository": [
12+
"github:sammycage/lunasvg"
13+
],
14+
"versions": [
15+
"2.4.1"
16+
],
17+
"yanked_versions": {}
18+
}

0 commit comments

Comments
 (0)