mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
qml_box2d, bump version, add Qt6 version (#11711)
This commit is contained in:
@@ -16,56 +16,52 @@ COPYRIGHT="
|
||||
2012 Adriano Rezende
|
||||
"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="2"
|
||||
srcGitRev="1b37be7d9dfb44ec6d520595a4e4f45f63717822"
|
||||
REVISION="1"
|
||||
srcGitRev="3a85439726d1ac4d082308feba45f23859ba71e0"
|
||||
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="9a15af5b1ecc0d67f641545a76a725494ebf21165e5903afa7fc02b3c5000154"
|
||||
CHECKSUM_SHA256="814b83b97321f73f1f4465f4c9b19aa0029068de30c4600d3b1c942e96823322"
|
||||
SOURCE_DIR="qml-box2d-$srcGitRev"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
qml_box2d$secondaryArchSuffix = $portVersion
|
||||
qt5:QmlBox2d
|
||||
qml_box2d_qt5$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5Qml$secondaryArchSuffix
|
||||
lib:libQt5Quick$secondaryArchSuffix
|
||||
"
|
||||
REPLACES="
|
||||
qml_box2d$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libGL$secondaryArchSuffix
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Network$secondaryArchSuffix
|
||||
devel:libQt5Qml$secondaryArchSuffix
|
||||
devel:libQt5Quick$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:qmake$secondaryArchSuffix >= 5
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
qmake
|
||||
make $jobArgs
|
||||
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_LIBDIR=$dataDir/Qt5/qml
|
||||
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make INSTALL_ROOT=$prefix install
|
||||
|
||||
mkdir -p $(dirname $dataDir)
|
||||
mv $prefix/boot/system/data/ $dataDir
|
||||
rm -rf $prefix/boot
|
||||
make -C build install
|
||||
}
|
||||
64
dev-qt/qml-box2d/qml_box2d_qt6-20240415.recipe
Normal file
64
dev-qt/qml-box2d/qml_box2d_qt6-20240415.recipe
Normal file
@@ -0,0 +1,64 @@
|
||||
SUMMARY="QML Box2D plugin"
|
||||
DESCRIPTION="The goal is to expose the functionality of Box2D as QML components, \
|
||||
in order to make it easy to write physics based games in QML."
|
||||
HOMEPAGE="https://github.com/qml-box2d/qml-box2d/"
|
||||
COPYRIGHT="
|
||||
2006-2010 Erin Catto
|
||||
2010-2011 Thorbjørn Lindeijer
|
||||
2011 Daker Fernandes Pinheiro
|
||||
2011 Tan Miaoqing
|
||||
2011 Antonio Aloisio
|
||||
2011 Alessandro Portale
|
||||
2011 Joonas Erkinheimo
|
||||
2011 Antti Krats
|
||||
2014 Moukhlynin Ruslan
|
||||
2011 Markus Kivioja
|
||||
2012 Adriano Rezende
|
||||
"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
srcGitRev="3a85439726d1ac4d082308feba45f23859ba71e0"
|
||||
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="814b83b97321f73f1f4465f4c9b19aa0029068de30c4600d3b1c942e96823322"
|
||||
SOURCE_DIR="qml-box2d-$srcGitRev"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
qml_box2d_qt6$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libQt6Gui$secondaryArchSuffix
|
||||
lib:libQt6Network$secondaryArchSuffix
|
||||
lib:libQt6Qml$secondaryArchSuffix
|
||||
lib:libQt6Quick$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libQt6Qml$secondaryArchSuffix
|
||||
devel:libQt6Quick$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_LIBDIR=$dataDir/Qt6/qml
|
||||
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
}
|
||||
Reference in New Issue
Block a user