Revert "gpu-screen-recorder and nonfree codecs"
This reverts commit 1974def519.
This commit is contained in:
parent
1e76eaf0c7
commit
40091554fd
4 changed files with 0 additions and 26 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -19,17 +19,6 @@ rpm-ostree install ksshaskpass uksmd clang clang-devel cronie distrobox fish fla
|
|||
RUN mkdir /var/opt && cd /tmp && wget https://mullvad.net/da/download/app/rpm/latest -O mullvad.rpm && rpm-ostree install mullvad.rpm && \
|
||||
mv "/opt/Mullvad VPN" /usr/lib/opt/
|
||||
|
||||
# install gpu screen recorder
|
||||
COPY gpu-screen-recorder /tmp/
|
||||
RUN cd /tmp/gpu-screen-recorder && \
|
||||
./install.sh && \
|
||||
setcap cap_sys_admin+ep '/usr/bin/gsr-kms-server'
|
||||
|
||||
# install RPM-fusion
|
||||
RUN rpm-ostree install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
||||
# install nonfree codecs
|
||||
RUN rpm-ostree install libavcodec-freeworld
|
||||
|
||||
RUN rpm-ostree cleanup -m && \
|
||||
rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \
|
||||
ostree container commit
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
script_dir=$(dirname "$0")
|
||||
cd "$script_dir"
|
||||
|
||||
[ $(id -u) -ne 0 ] && echo "You need root privileges to run the install script" && exit 1
|
||||
|
||||
# ./build.sh
|
||||
strip gsr-kms-server
|
||||
strip gpu-screen-recorder
|
||||
rm -f "/usr/local/bin/gpu-screen-recorder"
|
||||
install -Dm755 "gsr-kms-server" "/usr/bin/gsr-kms-server"
|
||||
install -Dm755 "gpu-screen-recorder" "/usr/bin/gpu-screen-recorder"
|
||||
|
||||
echo "Successfully installed gpu-screen-recorder"
|
||||
Loading…
Add table
Add a link
Reference in a new issue