Skip to content

Commit

Permalink
lets remove the source compile and just pass a basic text file
Browse files Browse the repository at this point in the history
  • Loading branch information
10leej committed Dec 24, 2023
1 parent 00990f4 commit 041825e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
29 changes: 5 additions & 24 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,16 @@ FROM ghcr.io/ublue-os/base-main:latest
run rpm-ostree install rpmfusion-free-release-tainted rpmfusion-nonfree-release-tainted
RUN rpm-ostree install cage kodi kodi-inputstream-adaptive kodi-pvr-iptvsimple kodi-firewalld nfs-utils flatpak samba

# lets get kodi-inputstream-ffmpegdirect -- THIS DOESN'T WORK
#RUN rpm-ostree install fedora-packager rpmdevtools gcc cmake
#WORKDIR /
#RUN git clone https://github.com/xbmc/inputstream.ffmpegdirect.git
#RUN git clone --branch master https://github.com/xbmc/xbmc.git
#WORKDIR inputstream.ffmpegdirect
#RUN ls .
#RUN mkdir build && cd build
#RUN cmake -DADDONS_TO_BUILD=inputstream.ffmpegdirect -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/build/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons
#RUN make install

#RUN rpm-ostree install https://github.com/avibrazil/kodi-inputstream-ffmpegdirect/releases/download/19.0.3/kodi-inputstream-ffmpegdirect-debuginfo-19.0.3-4.fc36.x86_64.rpm
#RUN rpm-ostree install kodi-pvr-iptvsimple

# now we need to get kodi to automagically launch on boot
WORKDIR /
RUN rpm-ostree install make automake gcc gcc-c++ kernel-devel
RUN git clone https://github.com/graysky2/kodi-standalone-service.git
WORKDIR kodi-standalone-service
RUN make install
# RUN rpm-ostree install make automake gcc gcc-c++ kernel-devel
# RUN git clone https://github.com/graysky2/kodi-standalone-service.git
# WORKDIR kodi-standalone-service
# RUN make install
COPY kodi-wayland.service /etc/systemd/system/kodi-wayland.service
RUN systemctl enable kodi-wayland.service
RUN systemctl enable sshd.service

# set the nfs share
#RUN echo "media -fstpe=nfs4,rw 192.168.0.2:/mnt/media/" >> /etc/auto.nfs
#RUN echo "/mnt/nfs /etc/auto.nfs --ghost --timeout=60" >> /etc/auto.master
#RUN systemctl enable autofs.service
#RUN mkdir -p /fancy/media

# this is just for me mostly
# COPY var-mnt-media.mount /etc/systemd/system/var-mnt-media.mount
# RUN systemctl enable mnt-media.mount
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ This is purely for my own use, PR's are acceptable however we will not ship the
This image ships with mesa-freeworld and the intel media driver, it currently does not support nvidia since I don't own that kind of hardware.

## ToDo
- Setup Steam-link to do this we might have to change off cage for a different compositor.
- Slim the image down as much as we can for a true minimum viable kodi experience
- Consider flatpaks
- Confirm network storage and optical drive things work
Expand Down

0 comments on commit 041825e

Please sign in to comment.