mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-29 19:56:45 +01:00
redasm: cleanup
This commit is contained in:
parent
7d92795d79
commit
e2cb9d9d45
1 changed files with 0 additions and 11 deletions
|
|
@ -24,17 +24,6 @@ DEPEND="dev-cpp/tbb
|
|||
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