diff options
author | Huang Rui <vowstar@gmail.com> | 2022-07-08 12:55:25 +0800 |
---|---|---|
committer | Huang Rui <vowstar@gmail.com> | 2022-07-08 12:55:25 +0800 |
commit | 0cbe011dd55ed092c6d7675af086645e13eb3341 (patch) | |
tree | 93727df70551c9cf131e5c8ea387857d7606232f /media-gfx | |
parent | sys-process/nvtop: add 2.0.2 (diff) | |
download | guru-0cbe011dd55ed092c6d7675af086645e13eb3341.tar.gz guru-0cbe011dd55ed092c6d7675af086645e13eb3341.tar.bz2 guru-0cbe011dd55ed092c6d7675af086645e13eb3341.zip |
media-gfx/oda-file-converter: add 23.5.0.0
Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/oda-file-converter/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/oda-file-converter/oda-file-converter-23.5.0.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/media-gfx/oda-file-converter/Manifest b/media-gfx/oda-file-converter/Manifest index c09ff6ece..bf9de0fb6 100644 --- a/media-gfx/oda-file-converter/Manifest +++ b/media-gfx/oda-file-converter/Manifest @@ -1 +1,2 @@ DIST ODAFileConverter_QT5_lnxX64_7.2dll_22.10.deb 45661460 BLAKE2B 8297a7001dbe43b7d20c3f22b1c597eacdd47780f1f742e3301ac91a2e111a180b3344310774fbd6d5f37fd58548fea29b879eb65a0e48e63117025c059190cf SHA512 8d78183781d7d01164d78e700f614ade66277075dbff21455834cc2404585ab35c07b1924cadb8c5e2b38a50a6ebc62a0a8206d8b792c36ec0acb6a5a2e31d68 +DIST ODAFileConverter_QT5_lnxX64_8.3dll_23.5.deb 47326628 BLAKE2B 4f88c987427848d79d9f9bf59f230ff3a9bad654fe842f5d7c18ac36688e4fc9633b9d390e092be29458252dab920c957dc4b410c6a505a1cdd3f97deb07ddee SHA512 2a0e3b4cbbe227d98886307ec4db8aca1ab91f1adf6023a09dbd64d1278691c5bdb51bd3931511bd0c838c86a67a2d9a80abcc8a9ec82244851a26d9ca07ed49 diff --git a/media-gfx/oda-file-converter/oda-file-converter-23.5.0.0.ebuild b/media-gfx/oda-file-converter/oda-file-converter-23.5.0.0.ebuild new file mode 100644 index 000000000..0ed56daa2 --- /dev/null +++ b/media-gfx/oda-file-converter/oda-file-converter-23.5.0.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV="$(ver_cut 1-2)" + +inherit desktop unpacker xdg + +DESCRIPTION="For converting between different versions of .dwg and .dxf" +HOMEPAGE="https://www.opendesign.com" + +SRC_URI="https://download.opendesign.com/guestfiles/Demo/ODAFileConverter_QT5_lnxX64_8.3dll_${MY_PV}.deb" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + x11-themes/hicolor-icon-theme +" + +DEPEND="${RDEPEND}" + +BDEPEND="dev-util/patchelf" + +S="${WORKDIR}" + +QA_PREBUILT="*" +QA_DESKTOP_FILE="usr/share/applications/ODAFileConverter.*\\.desktop" + +src_compile() { + patchelf --set-rpath \ + "/usr/bin/ODAFileConverter_${PV}" \ + "usr/bin/ODAFileConverter_${PV}/ODAFileConverter" \ + || die "Failed to fix insecure RPATH" + rm -rf usr/bin/ODAFileConverter_${PV}/qt.conf || die "Failed to fix qt.conf" +} + +src_install() { + exeinto /usr/bin + doexe usr/bin/ODAFileConverter + exeinto /usr/bin/ODAFileConverter_${PV} + doexe usr/bin/ODAFileConverter_${PV}/* + domenu usr/share/applications/*.desktop + doicon -s 16 usr/share/icons/hicolor/16x16/apps/ODAFileConverter.png + doicon -s 32 usr/share/icons/hicolor/32x32/apps/ODAFileConverter.png + doicon -s 64 usr/share/icons/hicolor/64x64/apps/ODAFileConverter.png + doicon -s 128 usr/share/icons/hicolor/128x128/apps/ODAFileConverter.png +}
\ No newline at end of file |