ports/contrib (3.7): nextcloud-client: simplify using librsvg-convert
![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit af037c2eef9d3804e2e6cba58b090227132f166a Author: Tim Biermann <tbier@posteo.de> Date: Sat Mar 12 12:08:53 2022 +0100 nextcloud-client: simplify using librsvg-convert diff --git a/nextcloud-client/.signature b/nextcloud-client/.signature index 2dbe9f392..6f1f65d1c 100644 --- a/nextcloud-client/.signature +++ b/nextcloud-client/.signature @@ -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 diff --git a/nextcloud-client/Pkgfile b/nextcloud-client/Pkgfile index 8554650d2..64e98b4dc 100644 --- a/nextcloud-client/Pkgfile +++ b/nextcloud-client/Pkgfile @@ -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 \
participants (1)
-
crux@crux.nu