Skip to content

Commit

Permalink
Update ossbuild.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Zibri authored Aug 30, 2023
1 parent 1dd8b1b commit 663ae54
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ossbuild.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#!/bin/bash

zypper refresh
zypper -n in -t pattern devel_basis devel_C_C++
zypper -n in 7zip fakeroot subversion gtk3-devel glew-devel ffmpeg-4-libavcodec-devel ffmpeg-4-libavfilter-devel ffmpeg-4-libavformat-devel ffmpeg-4-libavresample-devel libpulse-devel alsa-devel libvorbis-devel flac-devel giflib-devel
zypper -n in 7zip file wget curl dos2unix fakeroot subversion gtk3-devel glew-devel ffmpeg-4-libavcodec-devel ffmpeg-4-libavfilter-devel ffmpeg-4-libavformat-devel ffmpeg-4-libavresample-devel libpulse-devel alsa-devel libvorbis-devel flac-devel giflib-devel

sudo update-alternatives --set fakeroot /usr/bin/fakeroot-tcp

cd /t

if [ ! -e /usr/local/bin/xa65 ]
then
XA_VERSION=$(wget --tries=1 -O - https://www.floodgap.com/retrotech/xa/dists/ 2>/dev/null | grep '"xa-[^"]*gz"' | sed -e 's,.*xa-,,' -e 's,.tar.gz.*,,' | sort -V | tail -n1)
Expand Down Expand Up @@ -36,5 +39,5 @@ cp -R data/data/build/usr/local/share data/build/usr/local/
cd data/build/
7z a ../../gtk3vice_${rev}.7z *
cp ../../../vice_update_opensuse.sh ../../vice_update.sh
cp ../../../installer.sh ../../gtk3vice_${rev}.sh
cat ../../gtk3vice_${rev}.7z >>../../gtk3vice_${rev}.sh
cp ../../../installer.sh ../../../gtk3vice_${rev}.sh
cat ../../gtk3vice_${rev}.7z >>../../../gtk3vice_${rev}.sh

0 comments on commit 663ae54

Please sign in to comment.