blob: 2ca953b5a7804d882fd8ce461da9bd6950886f7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgbase=moonray-git
pkgname=($pkgbase moonray-gui-git)
_pkgname=openmoonray
pkgver=1.0.0.0.r0.g9b629e0
pkgrel=0
pkgdesc='DreamWorks’ production MCRT renderer'
arch=(x86_64)
license=(Apache2)
url="https://$_pkgname.org"
_url="https://github.com/dreamworksanimation"
depends=(curl
lua53
python)
makedepends=(boost
cmake
cmake
libmicrohttpd
openimageio
openssl
git
qt6-base)
optdepends=('usd: hydra plugins and USD geometry objects')
source=("$_pkgname::git+$_url/$_pkgname"
CMakePresets.json
"$_pkgname+arras+arras4_core::git+$_url/arras4_core.git"
"$_pkgname+arras+arras_render::git+$_url/arras_render.git"
"$_pkgname+arras+distributed+arras4_node::git+$_url/arras4_node.git"
"$_pkgname+arras+distributed+minicoord::git+$_url/minicoord.git"
"$_pkgname+cmake_modules::git+$_url/cmake_modules.git"
"$_pkgname+moonray+hydra+hdMoonray::git+$_url/hdMoonray.git"
"$_pkgname+moonray+hydra+moonray_sdr_plugins::git+$_url/moonray_sdr_plugins.git"
"$_pkgname+moonray+mcrt_denoise::git+$_url/mcrt_denoise.git"
"$_pkgname+moonray+moonray::git+$_url/moonray.git"
"$_pkgname+moonray+moonray_arras+mcrt_computation::git+$_url/mcrt_computation.git"
"$_pkgname+moonray+moonray_arras+mcrt_dataio::git+$_url/mcrt_dataio.git"
"$_pkgname+moonray+moonray_arras+mcrt_messages::git+$_url/mcrt_messages.git"
"$_pkgname+moonray+moonray_dcc_plugins::git+$_url/moonray_dcc_plugins.git"
"$_pkgname+moonray+moonray_gui::git+$_url/moonray_gui.git"
"$_pkgname+moonray+moonshine::git+$_url/moonshine.git"
"$_pkgname+moonray+moonshine_usd::git+$_url/moonshine_usd.git"
"$_pkgname+moonray+render_profile_viewer::git+$_url/render_profile_viewer.git"
"$_pkgname+moonray+scene_rdl2::git+$_url/scene_rdl2.git")
sha256sums=('SKIP'
'ae7c3cec15014ecf94bea90087d42b511d3bf906c9030c713ce01868562c8a4c'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
# git submodule status | cut -c2- | awk '{s=$2; gsub("/", "+", s); gsub(".*/", "", $2); print "\"$_pkgname+" s "::git+$_url/" $2 ".git\"" }'
prepare() {
cd "$_pkgname"
git submodule init
for s in ${source[@]%%::*}; do
case "$s" in
$_pkgname+*)
local module=${s#$_pkgname+}
local path=${module//+//}
git config submodule.$path.url "$srcdir/$s"
;;
esac
done
git -c protocol.file.allow=always submodule update
cp ../CMakePresets.json .
}
pkgver() {
cd "$_pkgname"
git describe --long --abbrev=7 --tags --match="v*" |
sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g;s/\.\([ab]\)/\1/'
}
build() {
cd "$_pkgname"
cmake --preset arch-package
cmake --build
}
package_moonray-git() {
provides=("${pkgname%-git}=$pkgver")
conflicts=(${pkgname%-git})
cd "$_pkgname"
}
package_moonray-gui-git() {
provides=("${pkgname%-git}=$pkgver")
conflicts=(${pkgname%-git})
depends+=($pkgbase
qt6-base)
cd "$_pkgname"
}
|