mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-22 16:29:05 -07:00
sci-misc/cdfplayer: fix DeprecatedInsinto
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib versionator
|
||||
inherit desktop multilib versionator
|
||||
|
||||
DESCRIPTION="Wolfram Player for the interactive Computable Document Format (CDF)"
|
||||
SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
|
||||
@@ -70,12 +70,12 @@ src_install() {
|
||||
dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer opt/bin/WolframPlayer
|
||||
|
||||
# fix some embedded paths and install desktop files
|
||||
insinto /usr/share/applications
|
||||
local filename
|
||||
for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
|
||||
echo Fixing "${filename}"
|
||||
sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
|
||||
echo "Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
|
||||
doins "${filename}"
|
||||
domenu "${filename}"
|
||||
done
|
||||
|
||||
# install a wrapper
|
||||
|
||||
Reference in New Issue
Block a user