mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-03 04:00:54 +02:00
redasm-3.0.0_beta5.ebuild
This commit is contained in:
parent
4e8afd4113
commit
be1bbefa65
4 changed files with 0 additions and 92 deletions
|
|
@ -1,11 +0,0 @@
|
|||
--- redasm-2.1.1/widgets/disassemblerlistingview/disassemblercolumnview.cpp.orig 2020-05-21 11:13:41 UTC
|
||||
+++ redasm-2.1.1/widgets/disassemblerlistingview/disassemblercolumnview.cpp
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "disassemblercolumnview.h"
|
||||
#include "../../themeprovider.h"
|
||||
#include <QPainter>
|
||||
+#include <QPainterPath>
|
||||
|
||||
DisassemblerColumnView::DisassemblerColumnView(QWidget *parent) : QWidget(parent), m_disassembler(nullptr), m_first(-1), m_last(-1)
|
||||
{
|
||||
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake git-r3
|
||||
|
||||
DESCRIPTION="The OpenSource Disassembler"
|
||||
HOMEPAGE="https://redasm.io"
|
||||
|
||||
EGIT_REPO_URI="https://github.com/REDasmOrg/REDasm"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+database"
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtcore:5"
|
||||
RDEPEND="${DEPEND}
|
||||
database? ( dev-libs/redasm-database )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/2.1.1-qt.patch" )
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/set(CMAKE_INSTALL_RPATH ".")/d' CMakeLists.txt || die "sed failed"
|
||||
#fix database path
|
||||
sed -i 's|QDir::currentPath().toStdString()|"/usr/share/redasm/"|g' mainwindow.cpp || die "sed 2 failed"
|
||||
sed -i 's|QDir::currentPath().toStdString()|"/usr/share/redasm/"|g' unittest/disassemblertest.cpp || die "sed 3 failed"
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so "${BUILD_DIR}"/LibREDasm.so
|
||||
newbin "${BUILD_DIR}"/REDasm redasm
|
||||
}
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake git-r3
|
||||
|
||||
DESCRIPTION="The OpenSource Disassembler"
|
||||
HOMEPAGE="https://redasm.io"
|
||||
|
||||
#https://github.com/REDasmOrg/REDasm/issues/28
|
||||
EGIT_REPO_URI="https://github.com/REDasmOrg/REDasm"
|
||||
EGIT_COMMIT="v2.1.1-fix"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="+database"
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtcore:5"
|
||||
RDEPEND="${DEPEND}
|
||||
database? ( dev-libs/redasm-database )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/2.1.1-qt.patch" )
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/set(CMAKE_INSTALL_RPATH ".")/d' CMakeLists.txt || die "sed failed"
|
||||
#fix database path
|
||||
sed -i 's|QDir::currentPath().toStdString()|"/usr/share/redasm/"|g' mainwindow.cpp || die "sed 2 failed"
|
||||
sed -i 's|QDir::currentPath().toStdString()|"/usr/share/redasm/"|g' unittest/disassemblertest.cpp || die "sed 3 failed"
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so "${BUILD_DIR}"/LibREDasm.so
|
||||
newbin "${BUILD_DIR}"/REDasm redasm
|
||||
}
|
||||
Loading…
Reference in a new issue