diff --git a/dev-qt/automoc/automoc-0.9.88.recipe b/dev-qt/automoc/automoc-0.9.88.recipe new file mode 100644 index 000000000..827ce508b --- /dev/null +++ b/dev-qt/automoc/automoc-0.9.88.recipe @@ -0,0 +1,51 @@ +SUMMARY="Automatically run MOC on Qt source files." +DESCRIPTION="Developed by KDE, automoc is a tool designed for use with \ +CMake that generates lists of files to run MOC on. It's required for \ +building KDE." +HOMEPAGE="https://techbase.kde.org/Development/Tools/Automoc4" +SRC_URI="git+git://anongit.kde.org/automoc.git#afddb64aa0" +REVISION="1" +LICENSE="BSD (2-clause)" +COPYRIGHT="2007 Matthias Kretz" + +ARCHITECTURES="x86" +if [ $effectiveTargetArchitecture != x86_gcc2 ]; then + # x86_gcc2 is fine as primary target architecture as long as we're building + # for a different secondary architecture. + ARCHITECTURES="$ARCHITECTURES x86_gcc2" +fi + +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + automoc4${secondaryArchSuffix} = $portVersion + cmd:automoc4 + " + +REQUIRES=" + haiku${secondaryArchSuffix} >= $haikuVersion + libqt4${secondaryArchSuffix} >= 4.8 + " + +BUILD_PREREQUIRES=" + cmd:cmake + cmd:make + cmd:g++${secondaryArchSuffix} + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + libqt4${secondaryArchSuffix}_devel >= 4.8 + " + +BUILD() +{ + cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_BUILD_TYPE=Release + make $jobArgs +} + +INSTALL() +{ + make install + fixPkgconfig +} diff --git a/dev-util/automoc/automoc-4_git.recipe b/dev-util/automoc/automoc-4_git.recipe deleted file mode 100644 index dc84eeb51..000000000 --- a/dev-util/automoc/automoc-4_git.recipe +++ /dev/null @@ -1,22 +0,0 @@ -DESCRIPTION="KDE Meta Object Compiler" -HOMEPAGE="http://techbase.kde.org/Development/Tools/Automoc4" -SRC_URI="git://anongit.kde.org/automoc" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="qt4, - cmake" -BUILD() -{ - cd automoc-4-git - cmake CMakeLists.txt - make -} - -INSTALL() -{ - cd automoc-4-git - make install -} - -LICENSE="BSD (2-clause)" -COPYRIGHT="The KDE Project" \ No newline at end of file