Skip to content

Commit ccddcdd

Browse files
authored
Merge pull request #442 from linuxserver/nextcloud-mediadc-s6v3
switch to hybrid (nextcloud-mediadc)
2 parents c36a070 + d6fd1a8 commit ccddcdd

File tree

6 files changed

+38
-0
lines changed

6 files changed

+38
-0
lines changed

root/etc/s6-overlay/s6-rc.d/init-mod-nextcloud-mediadc-add-package/dependencies.d/init-mods

Whitespace-only changes.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#!/usr/bin/with-contenv bash
2+
3+
if ! pip list 2> /dev/null | grep -q "pillow-heif" || ! pip list 2> /dev/null | grep -q "hexhamming" || ! pip list 2> /dev/null | grep -q "PyWavelets"; then
4+
echo "**** Adding pillow-heif, hexhamming, pywavelets and their deps to package install lists ****"
5+
echo "\
6+
ffmpeg \
7+
imagemagick \
8+
supervisor \
9+
py3-numpy \
10+
py3-pillow \
11+
py3-asn1crypto \
12+
py3-cffi \
13+
py3-scipy \
14+
py3-pynacl \
15+
py3-cryptography \
16+
py3-pip" >> /mod-repo-packages-to-install.list
17+
if [ $(arch) = "armv7l" ]; then
18+
echo "**** Installing build deps for pillow-heif on arm32v7, compiling pillow_heif may take a long time in the next step ****"
19+
echo "\
20+
python3-dev \
21+
libtool \
22+
git \
23+
gcc \
24+
m4 \
25+
perl \
26+
alpine-sdk \
27+
cmake \
28+
aom-dev" >> /mod-repo-packages-to-install.list
29+
fi
30+
echo "\
31+
pillow-heif \
32+
hexhamming \
33+
pywavelets" >> /mod-pip-packages-to-install.list
34+
else
35+
echo "**** pillow-heif, hexhamming and pywavelets already installed, skipping ****"
36+
fi
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
oneshot
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/etc/s6-overlay/s6-rc.d/init-mod-nextcloud-mediadc-add-package/run

root/etc/s6-overlay/s6-rc.d/init-mods-package-install/dependencies.d/init-mod-nextcloud-mediadc-add-package

Whitespace-only changes.

root/etc/s6-overlay/s6-rc.d/user/contents.d/init-mod-nextcloud-mediadc-add-package

Whitespace-only changes.

0 commit comments

Comments
 (0)