Skip to content

Commit

Permalink
Merge pull request #281535 from chewblacka/fix-ocenaudio
Browse files Browse the repository at this point in the history
ocenaudio: fix desktop file
  • Loading branch information
onny authored Jan 18, 2024
2 parents 05d455d + 948af8a commit aa5d1d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/by-name/oc/ocenaudio/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa5d1d0

Please sign in to comment.