Skip to content

Commit 01a29d6

Browse files
committedMar 22, 2025··
ci: squeezelite: update Trixie dependencies
1 parent 0be0ca8 commit 01a29d6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed
 

‎.build/software/squeezelite/build.bash

+6-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ adeps=('libc6' 'libasound2' 'libmad0' 'libvorbisfile3' 'libmpg123-0' 'libsoxr0'
1111
case $G_DISTRO in
1212
6) adeps+=('libflac8' 'libavformat58' 'libssl1.1');;
1313
7) adeps+=('libflac12' 'libavformat59' 'libssl3');;
14-
8) adeps+=('libflac12' 'libavformat61' 'libssl3');;
14+
8) adeps+=('libflac14' 'libavformat61' 'libssl3');;
1515
*) G_DIETPI-NOTIFY 1 "Unsupported distro version: $G_DISTRO_NAME (ID=$G_DISTRO)"; exit 1;;
1616
esac
1717
for i in "${adeps[@]}"
@@ -22,18 +22,18 @@ do
2222
exit 1
2323
done
2424

25-
G_DIETPI-NOTIFY 2 'Downloading source code...'
25+
G_DIETPI-NOTIFY 2 'Downloading source code ...'
2626
G_EXEC cd /tmp
2727
G_EXEC curl -sSfLO 'https://github.com/ralph-irving/squeezelite/archive/master.tar.gz'
2828
[[ -d 'squeezelite-master' ]] && G_EXEC rm -R squeezelite-master
2929
G_EXEC tar xf master.tar.gz
3030
G_EXEC rm master.tar.gz
31-
G_DIETPI-NOTIFY 2 'Compiling binary...'
31+
G_DIETPI-NOTIFY 2 'Compiling binary ...'
3232
G_EXEC cd squeezelite-master
3333
G_EXEC_OUTPUT=1 G_EXEC make CFLAGS='-g0 -O3' OPTS='-DDSD -DFFMPEG -DRESAMPLE -DVISEXPORT -DLINKALL -DIR -DUSE_SSL'
3434
G_EXEC strip --remove-section=.comment --remove-section=.note squeezelite
3535

36-
G_DIETPI-NOTIFY 2 'Starting packaging...'
36+
G_DIETPI-NOTIFY 2 'Starting packaging ...'
3737

3838
# Package dir
3939
G_EXEC cd /tmp
@@ -157,6 +157,7 @@ old_version=$(dpkg-deb -f package.deb Version)
157157
G_EXEC rm package.deb
158158
suffix=${old_version#*-dietpi}
159159
[[ $old_version == "$version-"* ]] && suffix="dietpi$((suffix+1))" || suffix="dietpi1"
160+
G_DIETPI-NOTIFY 2 "Building package version $version-$suffix ..."
160161

161162
# - control
162163
cat << _EOF_ > "$DIR/DEBIAN/control"
@@ -190,7 +191,7 @@ G_CONFIG_INJECT 'Installed-Size: ' "Installed-Size: $(du -sk "$DIR" | mawk '{pri
190191
G_EXEC_OUTPUT=1 G_EXEC dpkg-deb -b "$DIR"
191192

192193
# Cleanup
193-
G_EXEC rm -R "$DIR"
194+
G_EXEC rm -R "$DIR" squeezelite-master
194195

195196
exit 0
196197
}

0 commit comments

Comments
 (0)
Please sign in to comment.