nextcloud-client: simplify using librsvg-convert

This commit is contained in:
Tim Biermann 2022-03-12 12:08:53 +01:00
parent 7fef2d63ac
commit af037c2eef
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF35h1Hf1Mfl76jHDHtpDmbKS0etp5DIS8oeMWzF+eCYQwKfYwYh6hxO+dAMYEKOqJO2fR8BGUbxjHTqAEMoXgKQo=
SHA256 (Pkgfile) = a2b1f4f265d97e28e035344c5577a2d88cccc7255472f0fe2b7a296e2bf8ffb2
RWSagIOpLGJF38isuVvRFctbhkrldOn+TtmK+l3rUPLSmUBT+Tf9jgLonCLw/+QyCtdAWbcQItYm9SR4jIpsd/LKq/aWJImiHQk=
SHA256 (Pkgfile) = 76b6da7e22434c3b1197362d3384898afb8a83b446deea86772f969cd8bed850
SHA256 (.footprint) = 1941908b9faff0f4ce16be2b7f0b4d60daa97a821b8fb2019586f1af31973fbb
SHA256 (nextcloud-client-3.4.3-1.tar.gz) = 3251737259bf6b32020ae09d725cca5d7caa4389503db2250df349e2961355d4

View File

@ -11,9 +11,9 @@ source=(https://github.com/nextcloud/desktop/archive/v$version/$name-$version-$r
build() {
# you need both librsvg and qtwebengine to build the gui client
prt-get isinst librsvg qtwebengine || PKGMK_NCC+=' -D BUILD_GUI=OFF'
# always use librsvg-convert to generate icons, if building the gui
sed -i -e 's/inkscape inkscape.exe//' desktop-$version/src/gui/CMakeLists.txt
prt-get isinst librsvg qtwebengine && \
PKGMK_NCC+=' -D SVG_CONVERTER=/usr/bin/rsvg-convert' || \
PKGMK_NCC+=' -D BUILD_GUI=OFF'
cmake -S desktop-$version -B build -G Ninja $PKGMK_NCC \
-D CMAKE_INSTALL_PREFIX=/usr \