0
0
Fork 0
haikuports/dev-util/lxqt_build_tools/lxqt_build_tools-0.8.0.recipe

71 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="8cad73636e3a1f09baab0d82a2e76f3e171ce2adacade03ccc0a6cf0a51d69a9"
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()
{
mkdir -p build
cd build
cmake .. \
-DCMAKE_INSTALL_DATAROOTDIR=$libDir \
-DCMAKE_INSTALL_BINDIR=$binDir
make $jobArgs
}
INSTALL()
{
cd build
make install
}