summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD91
1 files changed, 46 insertions, 45 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ae0a89823425..3d50f8bb5965 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,63 +22,63 @@ pkgver=2.7
_rel="beta1"
[ -n "${_rel}" ] && _pkgver=${pkgver}${_rel} && pkgver+=".${_rel}" || _pkgver=${pkgver}
_name=LuxCore-${pkgname}_v${_pkgver}
-pkgrel=1
+pkgrel=2
epoch=2
pkgdesc="Physically correct, unbiased rendering engine."
arch=('x86_64')
url="https://www.luxcorerender.org/"
license=('Apache')
-depends+=(blosc boost-libs embree3 glfw gtk3 openimagedenoise openimageio openvdb fmt9 python spdlog)
+depends+=(blosc boost-libs embree3 glfw gtk3 openimagedenoise openimageio openvdb python spdlog)
optdepends+=("pyside2: for pyluxcoretools gui")
-makedepends+=(boost cmake doxygen git ninja pyside2-tools pyside6-tools-wrappers)
+makedepends+=(boost cmake doxygen git ninja pyside2-tools)
provides=(luxrays)
options=('!lto')
source=("https://github.com/LuxCoreRender/LuxCore/archive/${pkgname}_v${_pkgver}.tar.gz"
- "0001-glfw.patch"
- "0002-boost107400.patch"
- "0003-python.patch"
- "0004-cpplib.patch"
- "0005-clang-isnan-isinf.patch"
- "0006-openexr3.patch"
- "0007-silence-compiler-warnings.patch"
- "0008-silence-preprocessing.patch"
- "0009-openvdb.patch"
- "0010-openimageio.patch"
- "0011-opencolorio.patch"
- "0012-boost179-fstream.patch"
- "0013-spdlog.patch"
- "0014-fmt9.patch"
+ "0001-cxx-version.patch"
+ "0002-silence-compiler-warnings.patch"
+ "0003-silence-preprocessing.patch"
+ "0004-glfw.patch"
+ "0005-boost107400.patch"
+ "0006-python.patch"
+ "0007-cpplib.patch"
+ "0008-clang-isnan-isinf.patch"
+ "0009-openexr3.patch"
+ "0010-openvdb.patch"
+ "0011-openimageio.patch"
+ "0012-opencolorio.patch"
+ "0013-boost179-fstream.patch"
+ "0014-spdlog.patch"
)
sha256sums=('24adaf0da781921ed18c2aee55468ee94138db023e5cff95a5ede0fb394f8c09'
- '818366af720ef49b57c604791caeef0dc5dccf549b764001fdfe2be5016296d6'
- 'a8293ca87b18bfd12e05c8fec42c7a29001ec50a5996fb0038cdbc5eb8167b55'
- '11471500540a53b2ca4e2289c187a388c76aa388a8f51fd6b9981d36e6cb95f7'
- '261df8e99dacea6261ad513d3e3edd2e69fab953316d7a789a97789178019e7f'
- 'cb2f0441c0fb9046952dc89dbd0ec38fcfbcfaefba3644358cde881b71c70b77'
- '488382fbf7c62aff55cfa517c74dbed0f2abea7fd060942fa3836750bf65f439'
- '5bf12f95d393d62ee5a11f13db1df46c20958d5832f654d8e8cfad88b6e5892e'
- 'a2c5901b7e9eeee9a928f8f568493303fc58fb7ca1e6801533e9af53f0cbe470'
- 'd8c24fc0f32883b0a97191b3eb5d0d4bcb4d8c2790d8786902ea4dbbb36eff43'
- '010f1a88c238a00e5ea035766514a7fe5c45dc45f247a2240821b10ffb30b6dd'
- '6c34263d955440cb200ddb6f51711fca9b5548ca9ccf133cc924f87298f4dce0'
- '069ca9caef3b7c85ffc4a55de79122488b1b513135b0536b24772c483c8d0cab'
- 'b8b3d9d4432198e34a281f24c0ffedb4a9f69ce8ee36c30125b83b4a6c6358f6'
- 'e4ad9b7a0b77e0ca00136159f8f7c8e5940d26918421f18114ad5657fbf32359')
+ 'd3e0c4f74341746bf271efa6a62f3f0e2a72072afd86c032a9a5a1a565cf28f0'
+ '540f6e92877165c06ce70d2c7ac5c28ec95632520941b645f63ffa5d77541693'
+ 'd754596d2c17a3d12fa38abb373f4a58b2ca7a0b8df8fdf7ba9e991753998b6b'
+ '77db48d1a823f345a170c0632d3bfa0a962c92f6c662117e2a96a172d48732e9'
+ '415ba07ff99f9b97106aa806c6c1b40b68be3c39096ecd08cd2e0d40e6ea2fc3'
+ 'fa142fa282ae3e2482e7c39ffa07382d68ad732f32468eae5aa67d4378efc144'
+ '71b62a8c8c61779d914ce8e10bb5594dd0ed8bfecc1d6007263870393bb89955'
+ '09bf685f7367b05ac2d756e22c3b8d7a1ba931bca7ef4d6096852bbcdd203f8b'
+ 'e2034c00d456cf04843f84ee36eca991498a9580d52d15fafebe63f61642afb2'
+ '12bb2b0873b14f7878b9ec05b36a18156879b770da5ba47505bf3d6004038092'
+ '9eca0d8c3de4088ed02b40b5269ce709077f0b810eaa570050d9f41c320e79ee'
+ '1d91f515a4fcfb88119e02a71f4a5185a6765991296cd1d4760e36a642c29ff1'
+ '3185b3e4b42423fb51ef007e9f36f193ef7bd54bb83efdb242e7ba3c6fb67532'
+ 'ca46c01fbe2183916e20e990c23991148e878e401cec6d9ddabf7aa6bfdc6933')
b2sums=('0f6203610dbef2fd2d43c6465502459337eb99da00b494d7bfcab245b8fdb3d9f9179018e6d9b2f927024f6a21fba4d5cfb51e9e14049d1a56ce8aabaea2312d'
- '1a1f4de4f70564216a99f1a27c6321c85187eaea80d9a2a47c66be07fa4a1d825eeef526167aaeb89e4bd67a376a56728af95ee00ee8c1bcc7556afce5f126b0'
- '56fa362f1a79e735377b85b1a5303d0761b0b022b9b4a6063af8aee19643bcef0663105cefd969e746ace5cf7e13f3d0da2b7fc696ba0b500f2c21bb57f1bddb'
- 'fde24f909b7f639ac4b1d113710a0e4fb2b1fde97bdbdd905c76fc864bd016fa13965452d5d63dd522ac40663ed8a2e609b93d391e01891f5e780e712f3169c4'
- 'd1a5dd49df142d5bc352240e5674aab30f94775a645598328f4dcc4db17ed208b8cfb818b8f7510d4d031511191290920bd2ebc7ed3776b031febd4ddc94e0bc'
- '1ec46e7b28ab00ef696d06f5c0ba6d5fdfe9dc448d9be415239a8013f92334603be8b577c7c3b406648c8e6fe1738933d40b335fb777bc5e90dd623abab05061'
- '2249bb65fab1dd4f01077ffa530dfa15d5612c47436819a266c307a16699d978a5fbd5beea9ca066d8877177264095a18af030cc1e7bd3376fc1c4b0f9566647'
- '38b9ee28c6453f190c1325846b91f7760ceec3ad2708bc63d6ca46aa58b93b04b21112eab14c07a6ce624f3974f224a7d398a2b392a83f25df8af02b40448b4b'
- '5a5fbb58d92e550000c02b26dcca6c0d5bc1b2aa1d5ad93ea303f71a03a67391a06ae3e0f015392c08c35ffb413900fca383834c113fdd90d3db8c74db28db01'
- 'aef00c485858c07953ef1e1ed9d1ea8871a1ee25bb156eaebf6bdf006a3e7ce06bba350ba8aa2c521500dbfafb236b71fff2807b0d516e74179781b12b0fcaf9'
- 'efe5fcf5065a93bab4a9442eca8c57d780e55a21fbda895cfdda95c1d751834805b49418752578125fb0317136528485d1be6e0d2b6e0d7c971608e38137ca18'
- '19a81a9c442272e7d0123bc99b93be8cafab1a84a7a9bbb58e92e5a6624277e85b33c41183e739ebb8898aa886d477854c9075457a4da9266a5a8a0b26387ae0'
- '1d434b3eb400af3b4db9ad1fd3f40d8cfcae6d7adcb0912f3fb243f5f824f1df72b6ccd044fc22d7ca5b7476e58ce3ffce0eadbe5d9e8f5a07ab9fcecc85b776'
- '34176c1fd0e8e22daab5a986b67a6732170376a618a2e59cf0a3b6ca33c6f1407f61c8a1c92f00cdce1bee850ade295d8092691191d4c2c7cbc05016c4c791d6'
- '084628e44473a2ddb5fdcffb5ddab5dabf02aee46de01a3a0f22f0ffab958be3980494078a7b4b2fcd2168a4d048de13ac14cecd26dda97ff00037e41ca50c11')
+ '2b8c411347c4b27b21cddf7f4543beeaa229968e95f59f762b872264afd23cb5cea8074bd606b8e56df1a84473ada13720f8fb097fcfb80303495a89ed9052ef'
+ '97302dc99edebe5f35d5d469b2a2a9172eb7357248fb2bcc4510507de59a4d1db32cbfaf18acbba29b5046011615f57eb6ab322346560ec2777172c6b08a30b9'
+ 'c951ce3d6172c0a916c13fa53c682336a74d229c6e903f26c40f7a6e91a6b3ff54241178f85e4945d621210d23f54503b95e69d0f05e40246165eb23422aafb9'
+ '88e40b301961daef2e493b71cbd497aeb63035e9ed1ff2078c98c6a2c0e17f7c23a712905cd335ad3cc518b7b53b503441b261bc04ee6a27cb8531f74ec019f8'
+ '8ef8933c5dc6acb0881ddb51f959530eeda80c7d7d0a1e26ce5878e19b082746e95af8bee53e5937276e500473bbd56137cf68e5901b2a0a48d9255e11016cbf'
+ '96708a30229163849cefc4e7e13db571fe2529f08952a999a2176f99b4748869391184345780ef22d74ae8c93fb18b0a8831fcb5f3b043bcb63b545e90396205'
+ '7c8979e9549b03f0535d5760d9929acfb0d954b027253ec42ce910033c5aac60a34af3bbe92b6b07b9a3d0c0e66a43373b74697bdbc91e2ca6ae42ae4866352d'
+ '947d3cba2c9e1c4c430f9623a13f5275613491ac1125c88b042dc4bb0fa6905c8955731e75e954850035f3605df12fdf5f77b5caec7495b3d321aa6eb357bd57'
+ '3e2431d7b0175a7ec0ac452d0201222a26d16cb02191aa7a65a14cfb6af5a99109e82efeb8125f5b8b76314bfbc8ede5d055da5955cfa5d0238870d9de3bd73c'
+ '76ee674dcbcd52c698924cbcd547d2b8a4b3761cf2ade8d7c463b2a5bdc9f741537485ce9db12968d3b43a28cca1508223e3a363fc7c0b7b9483e107d77155e7'
+ '6ebaf49099a78adb59c0f9c601410529b8709377ec1c6eacf9510bdf5fba5027cdd81bae6422425cceab6ee1ebb4709a3edf9d818fcce2a5b475e009153a7842'
+ 'f56cec862ace8a1499a1a718f3c88488661b7d683d4e9bafc027d20fcb6542ce91a70f11ad46dd7a5ad0e61f2cd8dff6247617ad8d51b378e96fdc5e0c1ae94a'
+ '78333747e508f28293c85175e0f9d0624b8303c1f4f5491304e79c3dbc104fedf4eaac9065f0876a968d379898eb5810cd802350adae44de5f44673b0949f1ba'
+ '5e59c732a417775984cd85755b7a1810b33fb8a09cb3a8542c048958e7788d1aac3ecef5f28266278ca6444e1f59421b1d167a305eda9e70c0ae62155c01274b')
prepare() {
for patch in "${srcdir}"/*.patch; do
@@ -90,6 +90,7 @@ prepare() {
build() {
_pyver=$(python -c "from sys import version_info; print(\"%d%d\" % (version_info.major,version_info.minor))")
CMAKE_FLAGS+=("-DPYTHON_V=${_pyver}")
+ CMAKE_FLAGS+=("-DCMAKE_BUILD_TYPE=Release")
cmake "${CMAKE_FLAGS[@]}" -S "${srcdir}"/${_name} -B build -G Ninja
# shellcheck disable=SC2086
ninja $(grep -oP -- '-+[A-z]+ ?[0-9]*'<<<"${MAKEFLAGS:--j1}") -C "${srcdir}/build"