blob: 4e3b2c7f051e2eab47fa79d5951e81bfe8985812 (
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Kevin MacMartin <prurigro@gmail.com>
# Contributor: mstmob
# Contributor: xiota
_pkgname=cura
pkgname=$_pkgname-bin
pkgver=5.2.1
pkgrel=4
pkgdesc='State-of-the-art slicer app to prepare your 3D models for your 3D printer'
url='https://ultimaker.com/software/ultimaker-cura'
license=('LGPL3')
arch=('x86_64')
_pinned_dependencies=(
'cairo=1.17.8'
'gcc-libs=12.2.1'
'glibc>=2.36'
'gmp=6.2.1'
'gnutls=3.7.8'
'graphite=1:1.3.14'
'gst-plugins-base-libs=1.22.0'
'gstreamer=1.22.0'
'libatk-1.0.so=0'
'libatk-bridge-2.0.so=0'
'libatspi.so=0'
'libavahi-client.so=3'
'libavahi-common.so=3'
'libblkid.so=1'
'libbrotlicommon.so=1'
'libbrotlidec.so=1'
'libcap.so=2'
'libcom_err.so=2'
'libcrypto.so=3'
'libcups=1:2.4.2'
'libdatrie.so=1'
'libdbus-1.so=3'
'libdrm=2.4.114'
'libEGL.so=1'
'libepoxy.so=0'
'libexpat.so=1'
'libffi.so=8'
'libfontconfig.so=1'
'libfreetype.so=6'
'libfribidi.so=0'
'libgcrypt=1.10.1'
'libgdk-3.so=0'
'libgdk_pixbuf-2.0.so=0'
'libgio-2.0.so=0'
'libglib-2.0.so=0'
'libGL.so=1'
'libgmodule-2.0.so=0'
'libgobject-2.0.so=0'
'libgpg-error=1.46'
'libgssapi_krb5.so=2'
'libgthread-2.0.so=0'
'libgtk-3.so=0'
'libharfbuzz.so=0'
'libhogweed.so=6'
'libicudata.so=72'
'libicui18n.so=72'
'libicuuc.so=72'
'libidn2.so=0'
'libjpeg.so=8'
'libk5crypto.so=3'
'libkeyutils.so=1'
'libkrb5.so=3'
'libkrb5support.so=0'
'liblzma.so=5'
'libmount.so=1'
'libnettle.so=8'
'libp11-kit.so=0'
'libpango-1.0.so=0'
'libpangocairo-1.0.so=0'
'libpangoft2-1.0.so=0'
'libpcre2-8.so=0'
'libpixman-1.so=0'
'libpng=1.6.39'
'libreadline.so=8'
'libsasl2.so=3'
'libssl.so=3'
'libsystemd.so=0'
'libtasn1=4.19.0'
'libthai.so=0'
'libtirpc=1.3.3'
'libtool=2.4.7+4+g1ec8fa28'
'libunistring.so=5'
'libuuid.so=1'
'libwayland-client.so=0'
'libwayland-cursor.so=0'
'libwayland-egl.so=1'
'libx11=1.8.3'
'libxcb=1.15'
'libxcomposite=0.4.6'
'libxcursor=1.2.1'
'libxdamage=1.1.6'
'libxext=1.3.5'
'libxfixes=6.0.0'
'libxi=1.8'
'libxinerama=1.1.5'
'libxkbcommon.so=0'
'libxkbcommon-x11.so=0'
'libxrandr=1.5.3'
'libxrender=0.9.11'
'libzstd.so=1'
'lz4=1:1.9.4'
'ncurses=6.4'
'zlib=1:1.2.13'
)
depends=('fuse2' 'xdg-desktop-portal' "${_pinned_dependencies[@]}")
makedepends=('util-linux')
provides=($_pkgname)
conflicts=($_pkgname)
options=('!strip')
source=(
"https://github.com/Ultimaker/Cura/releases/download/${pkgver}/Ultimaker-Cura-${pkgver}-linux-modern.AppImage"
'AppRun-Ultimaker-Cura.patch'
'AppRun-CuraEngine.patch'
)
sha512sums=(
'9274e16e27a35f3308d7555a4a576a4122478006bb0746db2b48b6b6e9ee038ca03cb4a3a1b58c001b933a92aa696e07ffd49151b1a22b04ea56b64cfe59dea8'
'bf5fa289d8f4193e186a0d8d7e5dc5e902789674bf6c2a068655d639f1be1e7c9d9757c4709801f10c86501c6722a94a97051f662f6d1d85294d1cba16145f63'
'76e0a856eec5dfcb7ab8025c07f4665305d717a7f674408a87429583fdf70af86dbbe0d45908f7f3ec0e91833f006cb3eacc8531627ba1acf389921c0d2468e8'
)
prepare() {
[[ -d squashfs-root ]] && rm -rf squashfs-root
chmod 755 Ultimaker-Cura-${pkgver}-linux-modern.AppImage
./Ultimaker-Cura-${pkgver}-linux-modern.AppImage --appimage-extract
patch -Np1 -F5 -o Ultimaker-Cura squashfs-root/AppRun AppRun-Ultimaker-Cura.patch
patch -Np1 -F5 -o CuraEngine squashfs-root/AppRun AppRun-CuraEngine.patch
hardlink --content --maximize squashfs-root
}
package() {
install -Dm755 Ultimaker-Cura "$pkgdir/usr/bin/Ultimaker-Cura"
ln -s /usr/bin/Ultimaker-Cura "$pkgdir/usr/bin/cura"
install -Dm755 CuraEngine "$pkgdir/usr/bin/CuraEngine"
ln -s /usr/bin/CuraEngine "$pkgdir/usr/bin/cura-engine"
install -Dm644 squashfs-root/cura.desktop "$pkgdir/usr/share/applications/cura.desktop"
install -Dm644 squashfs-root/cura-icon.png "$pkgdir/usr/share/pixmaps/cura-icon.png"
install -dm755 "$pkgdir/opt"
mv squashfs-root "$pkgdir/opt/ultimaker-cura"
}
|