ocenaudio: fix desktop file
This commit is contained in:
parent
56f85cb5dc
commit
948af8a6c8
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue