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
"--socket=pulseaudio",
21
"--filesystem=host",
22
"--filesystem=xdg-run/gvfsd",
23
-
"--filesystem=xdg-music",
24
-
"--talk-name=org.gtk.vfs.*"
25
],
26
"build-options": {
27
"append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm18/bin",
28
"env": {
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"
0
30
},
31
"build-args": [
32
"--share=network"
···
35
"modules": [
36
{
37
"name": "protoc",
38
-
"buildsystem": "simple",
39
-
"build-commands": [
40
-
"curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v28.3/protoc-28.3-linux-x86_64.zip",
41
-
"unzip protoc-28.3-linux-x86_64.zip -d /app",
42
-
"chmod -R u+w /app/bin/protoc",
43
-
"chmod +x /app/bin/protoc"
44
-
],
45
"sources": [
46
{
47
-
"type": "archive",
48
-
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v28.3/protoc-28.3-linux-x86_64.zip",
49
-
"sha256": "0ad949f04a6a174da83cdcbdb36dee0a4925272a5b6d83f79a6bf9852076d53f"
50
}
51
]
52
},
···
20
"--socket=pulseaudio",
21
"--filesystem=host",
22
"--filesystem=xdg-run/gvfsd",
23
+
"--filesystem=xdg-music"
0
24
],
25
"build-options": {
26
"append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm18/bin",
27
"env": {
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
+
"CMAKE_BUILD_PARALLEL_LEVEL": "8"
30
},
31
"build-args": [
32
"--share=network"
···
35
"modules": [
36
{
37
"name": "protoc",
38
+
"buildsystem": "cmake",
0
0
0
0
0
0
39
"sources": [
40
{
41
+
"type": "git",
42
+
"url": "https://github.com/protocolbuffers/protobuf",
43
+
"tag": "v29.2"
44
}
45
]
46
},
+2
-2
gtk/data/gtk/window.blp
···
12
13
template $RbApplicationWindow : Adw.ApplicationWindow {
14
title: _("Rockbox");
15
-
width-request: 900;
16
-
height-request: 600;
17
18
Adw.Breakpoint {
19
condition ("max-width: 564px")
···
12
13
template $RbApplicationWindow : Adw.ApplicationWindow {
14
title: _("Rockbox");
15
+
width-request: 980;
16
+
height-request: 700;
17
18
Adw.Breakpoint {
19
condition ("max-width: 564px")
-11
gtk/src/styles.css
···
1
.rounded-image {
2
border-radius: 12px;
3
-
overflow: hidden;
4
}
5
6
.album-label {
···
16
}
17
18
.button-box {
19
-
height: 32px;
20
border-radius: 10px;
21
}
22
23
.active-button {
24
-
height: 32px;
25
border-radius: 10px;
26
}
27
···
34
}
35
36
.media-album-art {
37
-
max-width: 60px;
38
-
max-height: 60px;
39
border-radius: 4px;
40
-
overflow: hidden;
41
}
42
43
.year-label {
···
45
}
46
47
.album-cover {
48
-
max-width: 230px;
49
-
max-height: 230px;
50
margin-right: 20px;
51
border-radius: 5px;
52
-
overflow: hidden;
53
}
54
55
.album-title {
···
83
}
84
85
.artist-noimage {
86
-
height: 240px;
87
-
width: 240px;
88
border-radius: 170px;
89
background-color: #f6f6f6;
90
}
···
1
.rounded-image {
2
border-radius: 12px;
0
3
}
4
5
.album-label {
···
15
}
16
17
.button-box {
0
18
border-radius: 10px;
19
}
20
21
.active-button {
0
22
border-radius: 10px;
23
}
24
···
31
}
32
33
.media-album-art {
0
0
34
border-radius: 4px;
0
35
}
36
37
.year-label {
···
39
}
40
41
.album-cover {
0
0
42
margin-right: 20px;
43
border-radius: 5px;
0
44
}
45
46
.album-title {
···
74
}
75
76
.artist-noimage {
0
0
77
border-radius: 170px;
78
background-color: #f6f6f6;
79
}