Skip to content

Commit

Permalink
Merge pull request #582 from nextcloud/addLibp11ForDesktopFilesClient
Browse files Browse the repository at this point in the history
add new dependency of desktop files client in CI images
  • Loading branch information
mgallien authored Aug 25, 2023
2 parents dda883c + c3c00f2 commit 2699262
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions client-appimage/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ARG BUILD_QT
ENV VER_QT kde-5.15
ENV VER_QT_DATE 2023-08-22
ENV VER_OPENSSL 3.0.10
ENV VER_LIBP11 libp11-0.4.12
ENV VER_KFRAMEWORKS 5.107.0

ENV QT_ROOT /opt/qt${VER_QT}
Expand Down Expand Up @@ -126,6 +127,16 @@ RUN cd /tmp && \
cd .. && \
rm -rf openssl*

# Install libp11 for PKCS#11 encryption
RUN cd /tmp && \
wget https://github.com/OpenSC/libp11/releases/download/${VER_LIBP11}/${VER_LIBP11}.tar.gz && \
tar xvf ${VER_LIBP11}.tar.gz && \
cd ${VER_LIBP11} && \
export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig && \
./configure && make && make install && \
cd .. && \
rm -rf ${VER_LIBP11}

###########################################################################

# Download Qt sources
Expand Down
11 changes: 11 additions & 0 deletions client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ARG BUILD_QT
ENV VER_QT kde-5.15
ENV VER_QT_DATE 2023-08-21
ENV VER_OPENSSL 3.0.10
ENV VER_LIBP11 libp11-0.4.12
ENV VER_KFRAMEWORKS 5.107.0

ENV QT_ROOT /opt/qt${VER_QT}
Expand Down Expand Up @@ -122,6 +123,16 @@ RUN cd /tmp && \
cd .. && \
rm -rf openssl*

# Install libp11 for PKCS#11 encryption
RUN cd /tmp && \
wget https://github.com/OpenSC/libp11/releases/download/${VER_LIBP11}/${VER_LIBP11}.tar.gz && \
tar xvf ${VER_LIBP11}.tar.gz && \
cd ${VER_LIBP11} && \
export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig && \
./configure && make && make install && \
cd .. && \
rm -rf ${VER_LIBP11}

###########################################################################

# Download Qt sources
Expand Down

0 comments on commit 2699262

Please sign in to comment.