From 9ff974220516200ef9a8bb342d7513882b94f757 Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Wed, 23 May 2018 13:18:17 +0300 Subject: [PATCH] lxqt_build_tools: add recipe for version 0.5.0 --- .../lxqt_build_tools-0.5.0.recipe | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 dev-util/lxqt_build_tools/lxqt_build_tools-0.5.0.recipe diff --git a/dev-util/lxqt_build_tools/lxqt_build_tools-0.5.0.recipe b/dev-util/lxqt_build_tools/lxqt_build_tools-0.5.0.recipe new file mode 100644 index 000000000..0f914abbd --- /dev/null +++ b/dev-util/lxqt_build_tools/lxqt_build_tools-0.5.0.recipe @@ -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 +}