lxqt_build_tools: add recipe for version 0.5.0

This commit is contained in:
Sergei Reznikov
2018-05-23 13:18:17 +03:00
parent 60b55878b2
commit 9ff9742205

View File

@@ -0,0 +1,67 @@
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-2018, LXQt and Razor teams"
LICENSE="BSD (3-clause)"
REVISION="1"
SOURCE_URI="https://downloads.lxqt.org/downloads/lxqt-build-tools/$portVersion/lxqt-build-tools-$portVersion.tar.xz"
CHECKSUM_SHA256="a66d080d4cf075007fcdd9eab1689559728418dd8f85f7e8e79679738de8658d"
SOURCE_DIR="lxqt-build-tools-$portVersion"
ARCHITECTURES="x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
lxqt_build_tools$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
make $jobArgs
}
INSTALL()
{
cd build
make install
}