Files
haikuports/dev-util/lxqt_build_tools/lxqt_build_tools-0.13.0.recipe
2023-07-01 13:46:58 +00:00

68 lines
2.1 KiB
Bash

SUMMARY="Various packaging tools and scripts for LXQt applications"
DESCRIPTION="This package provides several tools needed to build LXQt itself \
as well as other components maintained by the LXQt project.
These tools used to be spread over the repositories of various other \
components and were summarized to ease dependency management. So far \
many components, in particular liblxqt, were representing a build \
dependency without being needed themselves but only because their \
repository was providing a subset of the tools which are now \
summarized here. So the use of this repository will reduce \
superfluous and bloated dependencies."
HOMEPAGE="https://lxqt.org/"
COPYRIGHT="2017-2020, LXQt and Razor teams"
LICENSE="BSD (3-clause)"
REVISION="1"
SOURCE_URI="https://github.com/lxqt/lxqt-build-tools/releases/download/$portVersion/lxqt-build-tools-$portVersion.tar.xz"
CHECKSUM_SHA256="fd3c199d0d7c61f23040a45ead57cc9a4f888af5995371f6b0ce1fa902eb59ce"
SOURCE_DIR="lxqt-build-tools-$portVersion"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
lxqt_build_tools$secondaryArchSuffix = $portVersion
cmd:lxqt_transupdate$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5Network$secondaryArchSuffix
lib:libQt5Script$secondaryArchSuffix
lib:libQt5Widgets$secondaryArchSuffix
lib:libQt5Xml$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libglib_2.0$secondaryArchSuffix
devel:libQt5Core$secondaryArchSuffix
devel:libQt5Gui$secondaryArchSuffix
devel:libQt5Network$secondaryArchSuffix
devel:libQt5Script$secondaryArchSuffix
devel:libQt5Widgets$secondaryArchSuffix
devel:libQt5Xml$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_DATAROOTDIR=$libDir \
-DCMAKE_INSTALL_BINDIR=$binDir
make -C build $jobArgs
}
INSTALL()
{
make -C build install
}