tangled
alpha
login
or
join now
tsiry-sandratraina.com
/
rockbox-zig
2
fork
atom
A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita
audio
rust
zig
deno
mpris
rockbox
mpd
2
fork
atom
overview
issues
pulls
pipelines
gtk: compile protoc from source
tsiry-sandratraina.com
1 year ago
8a77716f
f0276da5
+9
-26
3 changed files
expand all
collapse all
unified
split
gtk
build-aux
io.github.tsirysndr.Rockbox.json
data
gtk
window.blp
src
styles.css
+7
-13
gtk/build-aux/io.github.tsirysndr.Rockbox.json
···
20
20
"--socket=pulseaudio",
21
21
"--filesystem=host",
22
22
"--filesystem=xdg-run/gvfsd",
23
23
-
"--filesystem=xdg-music",
24
24
-
"--talk-name=org.gtk.vfs.*"
23
23
+
"--filesystem=xdg-music"
25
24
],
26
25
"build-options": {
27
26
"append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm18/bin",
28
27
"env": {
29
29
-
"RUSTFLAGS": "-C force-frame-pointers=yes -C symbol-mangling-version=v0 -C linker=clang -C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold"
28
28
+
"RUSTFLAGS": "-C force-frame-pointers=yes -C symbol-mangling-version=v0 -C linker=clang -C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold",
29
29
+
"CMAKE_BUILD_PARALLEL_LEVEL": "8"
30
30
},
31
31
"build-args": [
32
32
"--share=network"
···
35
35
"modules": [
36
36
{
37
37
"name": "protoc",
38
38
-
"buildsystem": "simple",
39
39
-
"build-commands": [
40
40
-
"curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v28.3/protoc-28.3-linux-x86_64.zip",
41
41
-
"unzip protoc-28.3-linux-x86_64.zip -d /app",
42
42
-
"chmod -R u+w /app/bin/protoc",
43
43
-
"chmod +x /app/bin/protoc"
44
44
-
],
38
38
+
"buildsystem": "cmake",
45
39
"sources": [
46
40
{
47
47
-
"type": "archive",
48
48
-
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v28.3/protoc-28.3-linux-x86_64.zip",
49
49
-
"sha256": "0ad949f04a6a174da83cdcbdb36dee0a4925272a5b6d83f79a6bf9852076d53f"
41
41
+
"type": "git",
42
42
+
"url": "https://github.com/protocolbuffers/protobuf",
43
43
+
"tag": "v29.2"
50
44
}
51
45
]
52
46
},
+2
-2
gtk/data/gtk/window.blp
···
12
12
13
13
template $RbApplicationWindow : Adw.ApplicationWindow {
14
14
title: _("Rockbox");
15
15
-
width-request: 900;
16
16
-
height-request: 600;
15
15
+
width-request: 980;
16
16
+
height-request: 700;
17
17
18
18
Adw.Breakpoint {
19
19
condition ("max-width: 564px")
-11
gtk/src/styles.css
···
1
1
.rounded-image {
2
2
border-radius: 12px;
3
3
-
overflow: hidden;
4
3
}
5
4
6
5
.album-label {
···
16
15
}
17
16
18
17
.button-box {
19
19
-
height: 32px;
20
18
border-radius: 10px;
21
19
}
22
20
23
21
.active-button {
24
24
-
height: 32px;
25
22
border-radius: 10px;
26
23
}
27
24
···
34
31
}
35
32
36
33
.media-album-art {
37
37
-
max-width: 60px;
38
38
-
max-height: 60px;
39
34
border-radius: 4px;
40
40
-
overflow: hidden;
41
35
}
42
36
43
37
.year-label {
···
45
39
}
46
40
47
41
.album-cover {
48
48
-
max-width: 230px;
49
49
-
max-height: 230px;
50
42
margin-right: 20px;
51
43
border-radius: 5px;
52
52
-
overflow: hidden;
53
44
}
54
45
55
46
.album-title {
···
83
74
}
84
75
85
76
.artist-noimage {
86
86
-
height: 240px;
87
87
-
width: 240px;
88
77
border-radius: 170px;
89
78
background-color: #f6f6f6;
90
79
}