ocenaudio: fix desktop file

This commit is contained in:
John Garcia 2024-01-17 12:12:27 +00:00
parent 56f85cb5dc
commit 948af8a6c8

View file

@ -42,6 +42,12 @@ stdenv.mkDerivation rec {
dpkg -x $src $out
cp -av $out/opt/ocenaudio/* $out
rm -rf $out/opt
mv $out/usr/share $out/share
rm -rf $out/usr
substituteInPlace $out/share/applications/ocenaudio.desktop \
--replace "/opt/ocenaudio/bin/ocenaudio" "ocenaudio"
mkdir -p $out/share/licenses/ocenaudio
mv $out/bin/ocenaudio_license.txt $out/share/licenses/ocenaudio/LICENSE
# Create symlink bzip2 library
ln -s ${bzip2.out}/lib/libbz2.so.1 $out/lib/libbz2.so.1.0