diff options
author | 2023-03-28 18:56:46 +0200 | |
---|---|---|
committer | 2023-03-28 18:56:46 +0200 | |
commit | a9932719178ca0dcea4dec82762522c950a00674 (patch) | |
tree | 797efdfd504c775619ca2bb7c12e4c37d2b99bf5 | |
parent | net-im/webex: Update version number, rest unchanged (diff) | |
download | dilfridge-a9932719178ca0dcea4dec82762522c950a00674.tar.gz dilfridge-a9932719178ca0dcea4dec82762522c950a00674.tar.bz2 dilfridge-a9932719178ca0dcea4dec82762522c950a00674.zip |
media-gfx/odafileconverter: first version
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r-- | media-gfx/odafileconverter/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/odafileconverter/odafileconverter-24.2.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/media-gfx/odafileconverter/Manifest b/media-gfx/odafileconverter/Manifest new file mode 100644 index 0000000..2097be9 --- /dev/null +++ b/media-gfx/odafileconverter/Manifest @@ -0,0 +1 @@ +DIST ODAFileConverter_QT5_lnxX64_8.3dll_24.2.rpm 70168741 BLAKE2B 41e8c74722086330d23b544d1709b112b7585472dffa15f294151d8c1443e520d9018bcb0295f3bcb4540b4e1079de55b645ba703b564fe3cb7992664388c11d SHA512 f6d58ffe8786e264e3d5755f94562ec31725f37cc017a719cf5d677aa8b8b0a8a71628d9e6fcfe90298845a3ac5e3a60263572cdaa7d4403703dd6a36de32abb diff --git a/media-gfx/odafileconverter/odafileconverter-24.2.ebuild b/media-gfx/odafileconverter/odafileconverter-24.2.ebuild new file mode 100644 index 0000000..51f4c33 --- /dev/null +++ b/media-gfx/odafileconverter/odafileconverter-24.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit rpm desktop + +DESCRIPTION="Open Design Alliance DWG-DXF Converter" +HOMEPAGE="https://www.opendesign.com/guestfiles/oda_file_converter" + +SRC_URI="https://download.opendesign.com/guestfiles/Demo/ODAFileConverter_QT5_lnxX64_8.3dll_${PV}.rpm" + +KEYWORDS="-* ~amd64" +SLOT="0" +LICENSE="all-rights-reserved" + +RESTRICT="mirror bindist" + +S=${WORKDIR} + +src_install() { + # we dont want automated desktop icons + rm -r "${S}"/etc + + # move stuff from /usr/local/bin to /opt + dodir /opt + mv "${S}"/usr/local/bin/ODAFileConverter* "${D}"/opt/ + + # adjust path and move again + sed -e 's:/usr/local/bin/:/opt/:g' -i "${D}"/opt/ODAFileConverter + dodir /opt/bin + mv "${D}"/opt/ODAFileConverter "${D}"/opt/bin/ODAFileConverter + + # the desktop files + domenu "${S}"/usr/share/applications/ODAFileConverter.desktop + + # the icons, simpler by hand + dodir /usr/share/icons + mv "${S}"/usr/share/icons/* "${D}"/usr/share/icons/ +} |