Skip to content

Commit

Permalink
Ubuntu22
Browse files Browse the repository at this point in the history
  • Loading branch information
core1024 committed Sep 20, 2023
1 parent 6f4ca12 commit 8e5fb47
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions distros/Ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
FROM ubuntu:20.04
FROM ubuntu:jammy

RUN ln -fs /usr/share/zoneinfo/Europe/Sofia /etc/localtime
ENV DEBIAN_FRONTEND noninteractive

# Install package dependencies
RUN apt update && apt install -y git librsvg2-bin checkinstall nodejs build-essential cmake qt5-default qtdeclarative5-dev qtdeclarative5-dev-tools qtwebengine5-dev qml-module-qtquick-controls qml-module-qtquick-dialogs qml-module-qt-labs-platform qml-module-qtwebchannel qml-module-qtwebengine wget libssl-dev sudo libmpv-dev
RUN apt update && apt install -y git librsvg2-bin checkinstall nodejs build-essential cmake qtbase5-dev libqt5core5a qtdeclarative5-dev qtdeclarative5-dev-tools qtwebengine5-dev qml-module-qtquick-controls qml-module-qtquick-dialogs qml-module-qt-labs-platform qml-module-qtwebchannel qml-module-qtwebengine wget libssl-dev sudo libmpv-dev

# Setting up new user
RUN useradd builduser -m
RUN passwd -d builduser
RUN echo 'builduser ALL=(ALL) ALL' >> /etc/sudoers
RUN adduser --gecos '' --disabled-password builduser
RUN usermod -aG sudo builduser
RUN echo 'builduser ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

WORKDIR /home/builduser

# Import the required files
Expand Down
2 changes: 1 addition & 1 deletion distros/Ubuntu/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ cp dist-utils/common/preremove ./preremove-pak

make -f release.makefile clean
make -f release.makefile
sudo checkinstall --default --install=no --fstrans=yes --pkgname stremio --pkgversion "$(./dist-utils/common/get-version.sh)" --pkggroup video --pkglicense="MIT" --nodoc --pkgarch=$(dpkg --print-architecture) --requires="nodejs,libmpv1 \(\>=0.30.0\),qml-module-qt-labs-platform \(\>=5.9.5\),qml-module-qtquick-controls \(\>=5.9.5\),qml-module-qtquick-dialogs \(\>=5.9.5\),qml-module-qtwebchannel \(\>=5.9.5\),qml-module-qtwebengine \(\>=5.9.5\),qml-module-qt-labs-folderlistmodel \(\>=5.9.5\),qml-module-qt-labs-settings \(\>=5.9.5\),librubberband2 \(\>=1.8.1\),libuchardet0 \(\>=0.0.6\),libfdk-aac2 \(\>=2.0.2\)" make -f release.makefile install
sudo checkinstall --default --install=no --fstrans=no --exclude=/usr/ --pkgname stremio --pkgversion "$(./dist-utils/common/get-version.sh)" --pkggroup video --pkglicense="MIT" --nodoc --pkgarch=$(dpkg --print-architecture) --requires="nodejs,libmpv1 \(\>=0.30.0\),qml-module-qt-labs-platform \(\>=5.9.5\),qml-module-qtquick-controls \(\>=5.9.5\),qml-module-qtquick-dialogs \(\>=5.9.5\),qml-module-qtwebchannel \(\>=5.9.5\),qml-module-qtwebengine \(\>=5.9.5\),qml-module-qt-labs-folderlistmodel \(\>=5.9.5\),qml-module-qt-labs-settings \(\>=5.9.5\),librubberband2 \(\>=1.8.1\),libuchardet0 \(\>=0.0.6\),libfdk-aac2 \(\>=2.0.2\)" make -f release.makefile install

0 comments on commit 8e5fb47

Please sign in to comment.