mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
media-gfx/oda-file-converter: add 23.5.0.0
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user