Skip to content

Commit d43be41

Browse files
committed
papyrus: fix justfile GPG handling, add pulseaudio socket
1 parent 5a12612 commit d43be41

1 file changed

Lines changed: 47 additions & 33 deletions

File tree

Lines changed: 47 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,49 @@
11
{
22
"id": "io.github.PSGtatitos.papyrus",
33
"runtime": "org.gnome.Platform",
4-
"runtime-version": "48",
4+
"runtime-version": "50",
55
"sdk": "org.gnome.Sdk",
66
"command": "papyrus",
77
"finish-args": [
88
"--share=ipc",
99
"--socket=wayland",
10+
"--socket=pulseaudio",
1011
"--device=dri",
1112
"--share=network",
1213
"--filesystem=home",
1314
"--filesystem=xdg-config/cosmic:rw",
1415
"--socket=session-bus",
15-
"--env=PYTHONPATH=/app/lib/python3.13/site-packages",
16-
"--talk-name=org.freedesktop.Flatpak"
16+
"--talk-name=org.freedesktop.Flatpak",
17+
"--talk-name=org.freedesktop.portal.Desktop",
18+
"--env=PYTHONPATH=/app/lib/python3.13/site-packages"
1719
],
1820
"modules": [
21+
{
22+
"name": "wayland-protocols",
23+
"buildsystem": "meson",
24+
"sources": [
25+
{
26+
"type": "git",
27+
"url": "https://gitlab.freedesktop.org/wayland/wayland-protocols.git",
28+
"tag": "1.42"
29+
}
30+
]
31+
},
1932
{
2033
"name": "libplacebo",
2134
"buildsystem": "meson",
2235
"config-opts": [
2336
"-Dvulkan=disabled",
2437
"-Dglslang=disabled",
2538
"-Ddemos=false",
39+
"-Dlcms=disabled",
2640
"--libdir=/app/lib"
2741
],
2842
"sources": [
2943
{
3044
"type": "git",
3145
"url": "https://code.videolan.org/videolan/libplacebo.git",
32-
"tag": "v7.349.0",
33-
"disable-submodules": false
46+
"tag": "v7.349.0"
3447
}
3548
]
3649
},
@@ -41,40 +54,39 @@
4154
],
4255
"sources": [
4356
{
44-
"type": "archive",
45-
"url": "https://github.com/libass/libass/releases/download/0.17.1/libass-0.17.1.tar.xz",
46-
"sha256": "f0da0b4b45437de3e5dd9bda12b9228e13d3968ad02f3e0ec39f50689b940ae4"
57+
"type": "git",
58+
"url": "https://github.com/libass/libass.git",
59+
"tag": "0.17.3"
4760
}
4861
]
4962
},
5063
{
5164
"name": "libmpv",
5265
"buildsystem": "meson",
5366
"config-opts": [
54-
"-Ddefault_library=shared",
67+
"-Dlibmpv=true",
5568
"-Dcplayer=false",
56-
"-Dlcms2=disabled",
57-
"-Dlua=disabled",
58-
"-Djavascript=disabled",
59-
"-Dxv=disabled",
69+
"-Dbuild-date=false",
6070
"-Dalsa=disabled",
61-
"-Djack=disabled",
62-
"-Dpipewire=disabled",
63-
"-Dpulse=disabled",
64-
"-Dsndio=disabled",
6571
"--libdir=/app/lib"
6672
],
6773
"sources": [
6874
{
6975
"type": "git",
7076
"url": "https://github.com/mpv-player/mpv.git",
71-
"tag": "v0.37.0"
77+
"tag": "v0.39.0"
7278
}
7379
]
7480
},
7581
{
7682
"name": "mpvpaper",
7783
"buildsystem": "meson",
84+
"build-options": {
85+
"env": {
86+
"LD_LIBRARY_PATH": "/app/lib",
87+
"CFLAGS": "-Wno-error=incompatible-pointer-types"
88+
}
89+
},
7890
"sources": [
7991
{
8092
"type": "git",
@@ -89,36 +101,36 @@
89101
"sources": [
90102
{
91103
"type": "archive",
92-
"url": "https://download.gnome.org/sources/pygobject/3.50/pygobject-3.50.0.tar.xz",
93-
"sha256": "47cb46f0436d933e36e6378a9c2ca247f1b95ff883eb9e5e6e30b6c69788d6f9"
104+
"url": "https://download.gnome.org/sources/pygobject/3.52/pygobject-3.52.4.tar.gz",
105+
"sha256": "5947250b27d8e5f4797e8e0ed801dcd1512a9433d5637a0b36065a850b3a5c5c"
94106
}
95107
]
96108
},
97109
{
98110
"name": "python3-pybind11",
99111
"buildsystem": "simple",
100112
"build-commands": [
101-
"pip3 install --find-links=file://${PWD} --no-build-isolation --prefix=/app pybind11-2.13.6.tar.gz"
113+
"pip3 install --no-build-isolation --prefix=/app ."
102114
],
103115
"sources": [
104116
{
105-
"type": "file",
106-
"url": "https://files.pythonhosted.org/packages/49/73/0e698ef6577f8841753fb9ebbebf62677bc94b630b91d29c29d0f952f406/pybind11-2.13.6.tar.gz",
107-
"sha256": "164299b66aa10df48bfda6414704e6fe4ef0f878f7733c406167d813b096d39a"
117+
"type": "git",
118+
"url": "https://github.com/pybind/pybind11.git",
119+
"tag": "v2.13.6"
108120
}
109121
]
110122
},
111123
{
112124
"name": "python3-pillow",
113125
"buildsystem": "simple",
114126
"build-commands": [
115-
"pip3 install --find-links=file://${PWD} --no-build-isolation --prefix=/app pillow-12.2.0.tar.gz"
127+
"pip3 install --no-build-isolation --prefix=/app ."
116128
],
117129
"sources": [
118130
{
119-
"type": "file",
120-
"url": "https://files.pythonhosted.org/packages/8c/21/c2bcdd5906101a30244eaffc1b6e6ce71a31bd0742a01eb89e660ebfac2d/pillow-12.2.0.tar.gz",
121-
"sha256": "a830b1a40919539d07806aa58e1b114df53ddd43213d9c8b75847eee6c0182b5"
131+
"type": "git",
132+
"url": "https://github.com/python-pillow/Pillow.git",
133+
"tag": "12.2.0"
122134
}
123135
]
124136
},
@@ -127,13 +139,14 @@
127139
"buildsystem": "simple",
128140
"build-commands": [
129141
"mkdir -p /app/bin",
130-
"cp ffmpeg-*-static/ffmpeg /app/bin/ffmpeg"
142+
"cp ffmpeg /app/bin/ffmpeg",
143+
"cp ffprobe /app/bin/ffprobe"
131144
],
132145
"sources": [
133146
{
134147
"type": "archive",
135148
"url": "https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz",
136-
"sha256": "4e1a0b387796d1101b0f5b1129b16194b1509bca36f6d6df5419b4fcb5df8075"
149+
"sha256": "abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67"
137150
}
138151
]
139152
},
@@ -147,10 +160,11 @@
147160
],
148161
"sources": [
149162
{
150-
"type": "dir",
151-
"path": "."
163+
"type": "git",
164+
"url": "https://github.com/PSGtatitos/papyrus.git",
165+
"branch": "main"
152166
}
153167
]
154168
}
155169
]
156-
}
170+
}

0 commit comments

Comments
 (0)