mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Merged in waddlesplash/haikuports (pull request #263)
MonkeyStudio: add working recipe.
This commit is contained in:
61
dev-qt/monkeystudio/monkeystudio-1.9.0.4.recipe
Normal file
61
dev-qt/monkeystudio/monkeystudio-1.9.0.4.recipe
Normal file
@@ -0,0 +1,61 @@
|
||||
SUMMARY="A cross platform IDE written in C++/Qt 4"
|
||||
DESCRIPTION="MonkeyStudio's primary goal was to be a Qt 4 only IDE, but it \
|
||||
evolved to be a way to support any kind of project. It supports Qt 4 \
|
||||
project management and embeds Designer and Assistant to form a complete, \
|
||||
fast and powerful Qt-based IDE. It's based upon a flexible plugin system \
|
||||
that allows extending it in a near-infinite manner."
|
||||
HOMEPAGE="http://www.monkeystudio.org"
|
||||
SRC_URI="http://monkeystudio.googlecode.com/files/mks_1.9.0.4-src.tar.gz"
|
||||
CHECKSUM_SHA256="cfd3517ac6d4a5d8ffdf7ec9995a624b6cef13aa00163e46a9b54b1f52164ffd"
|
||||
SOURCE_DIR="mks_$portVersion-src"
|
||||
PATCHES="monkeystudio-$portVersion.patch"
|
||||
REVISION="1"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2005-2012 Azevedo Filipe & The Monkey Studio Team"
|
||||
|
||||
ARCHITECTURES="x86 ?x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
monkeystudio${secondaryArchSuffix} = $portVersion
|
||||
app:MonkeyStudio${secondaryArchSuffix} = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix} >= $haikuVersion
|
||||
libqt4${secondaryArchSuffix} >= 4.8.0
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:qmake${secondaryArchSuffix}
|
||||
cmd:make
|
||||
cmd:g++${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel == $haikuVersion
|
||||
libqt4${secondaryArchSuffix}_devel >= 4.8.0
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
#qmake -set SYSTEM_QSCINTILLA 0
|
||||
#qmake -r prefix=$appsDir/MonkeyStudio
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
monkeyDir=$appsDir/MonkeyStudio
|
||||
mkdir -p $monkeyDir
|
||||
make install
|
||||
|
||||
mv $monkeyDir/bin/monkeystudio $monkeyDir/bin/MonkeyStudio
|
||||
rm -rf $monkeyDir/share/applications
|
||||
rm -rf $monkeyDir/share/doc
|
||||
|
||||
addAppDeskbarSymlink $monkeyDir/bin/MonkeyStudio "MonkeyStudio"
|
||||
}
|
||||
25
dev-qt/monkeystudio/patches/monkeystudio-1.9.0.4.patch
Normal file
25
dev-qt/monkeystudio/patches/monkeystudio-1.9.0.4.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
From cc357095af73c88c2cc267bc355ad59476afde50 Mon Sep 17 00:00:00 2001
|
||||
From: Augustin Cavalier <waddlesplash@gmail.com>
|
||||
Date: Wed, 3 Dec 2014 20:58:56 -0500
|
||||
Subject: [PATCH] Don't pass -rdynamic on Haiku.
|
||||
|
||||
Our GCC4 doesn't support this and throws an error.
|
||||
---
|
||||
monkey/monkey.pro | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/monkey/monkey.pro b/monkey/monkey.pro
|
||||
index e006f70..a11d135 100644
|
||||
--- a/monkey/monkey.pro
|
||||
+++ b/monkey/monkey.pro
|
||||
@@ -20,7 +20,6 @@ LIBS *= -L$${PACKAGE_BUILD_PATH}/$${Q_TARGET_ARCH}/$$buildMode()
|
||||
mac:*-g++*:LIBS *= -Wl,-all_load # import all symbols as the not used ones too
|
||||
else:*-g++*:LIBS *= -Wl,--whole-archive # import all symbols as the not used ones too
|
||||
mac:*-g++*:LIBS *= -dynamic
|
||||
-else:unix:*-g++*:LIBS *= -rdynamic
|
||||
|
||||
# include qscintilla framework
|
||||
include( ../qscintilla/qscintilla.pri )
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user