dev-util/idafree: new package based on github/jollheef

Package-Manager: Portage-3.0.30, Repoman-3.0.3
This commit is contained in:
Mario Fetka 2022-04-05 15:58:25 +02:00
parent 46c445ddfa
commit e918c8d8fe
4 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# ChangeLog for dev-util/idafree
# Copyright 1999-2022 Gentoo Authors; Distributed under the GPL v2
*idafree-7.7 (05 Apr 2022)
05 Apr 2022; Mario Fetka <mario.fetka@gmail.com> +idafree-7.7.ebuild,
+metadata.xml:
dev-util/idafree: new package based on github/jollheef

View File

@ -0,0 +1,4 @@
DIST idafree77_linux.run 79078082 BLAKE2B 777c8b571aa9cfb71e169d1ff089f671d6204081f2e4af838948a681cfdc1619c4f280ecb8fecffd3731646ff4d6177a63446bf954a54a9f03c010c63d335c30 SHA512 3d6ec12f374661f202d6721002c3ae094ff097c5d7e8638b3281e596d0f9863cd521646f229098f526ea1507b9bd9c505ca2a73d9eb8b20692a3ebbee46b7464
EBUILD idafree-7.7.ebuild 1274 BLAKE2B 0f20e6bdc8bdee3cf09c8428f8046cb1c108a90c4218a10b07d751915bbbf2edd61502a02c88dc7af81475a6f41401d463de43d7df89c767c818e7d8ed305787 SHA512 593cb26deb65863bbd81713a0e4ff90bd31ef20ecc7e96f1447964ff0681562237c128ec00d5aab046ae18af6698394a5af549f4efc98a7fb67aca831474cff8
MISC ChangeLog 275 BLAKE2B cbba2d9db2d0e0e3b9ad3d88b9514bb34f94d313118c846c8159331679ac2fa0739701bd1984d0ea753199c2c813897160ca28c7a83b88b4d9f9e21584236120 SHA512 17d4cedd6da98ec53c716278246dfde5ccbdff657757aac731ada0ffd8c9e54d5915a2ad24d77a617f72368d829960c9f5eb4f3869cfc0d280d3a7878982a91f
MISC metadata.xml 411 BLAKE2B 6bd76e3591b8a2d88277f9ebfbd5951a7458a266adf5818533a1d829a770db62e1de41a4cb4f29206ed5eb381c6f4bfdc04973c4c65bd72496b7e31b6c85880f SHA512 df1f54923628bff824dc8835c96902bd07d4462472b9b8f356abb0b9b81875d78fa96e511290739ecc5423eadc8b2579a65b2f31f9c2c6a73c8d3413c0603d98

View File

@ -0,0 +1,56 @@
# Copyright 1999-2018 Mikhail Klementev
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils desktop xdg-utils
MY_PV=$(ver_rs 1- '')
DESCRIPTION="IDA is the Interactive DisAssembler"
SRC_URI="https://out7.hex-rays.com/files/idafree${MY_PV}_linux.run"
HOMEPAGE="https://www.hex-rays.com/"
LICENSE="IDA-EULA"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="bindist strip"
RDEPEND="dev-qt/qtgui:5
dev-qt/qtcore:5
dev-qt/qtprintsupport:5
dev-qt/qtwidgets:5
sys-libs/binutils-libs"
src_unpack() {
mkdir -p "${S}"
cp "${DISTDIR}/idafree${MY_PV}_linux.run" "${WORKDIR}/idafree_linux.run"
chmod +x "${WORKDIR}/idafree_linux.run"
"${WORKDIR}/idafree_linux.run" --mode unattended --prefix "${S}"
}
src_prepare() {
default
rm "${S}"/Uninstall*
rm "${S}"/uninstall*
}
src_install() {
mkdir -p "${ED}"/opt/HexRays/IDAFree
cp -a "${S}"/* "${ED}"/opt/HexRays/IDAFree/ || die
newicon "${S}"/appico64.png ${PN}.png
dosym /opt/HexRays/IDAFree/ida64 /opt/bin/idafree64
make_desktop_entry /opt/bin/idafree64 "IDA Freeware and Hex-Rays Decompilers" ${PN} "Science;ComputerScience"
}
pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mario.fetka@gmail.com</email>
<description>Primary maintainer</description>
</maintainer>
<maintainer type="project">
<email>mario.fetka+linamh@gmail.com</email>
<name>Geos One Linamh Project</name>
</maintainer>
</pkgmetadata>