diff options
author | Kevin Brodsky | 2017-10-04 00:06:02 +0100 |
---|---|---|
committer | Kevin Brodsky | 2017-10-04 00:06:02 +0100 |
commit | f1b873374e14ecbc486fdd8f1228fdf70ae2b3a7 (patch) | |
tree | f77199b4c21564bd45737381afc71e5560d89ca3 | |
parent | b19d74510b2006823c131070d0ce53c6f8901fe5 (diff) | |
download | aur-f1b873374e14ecbc486fdd8f1228fdf70ae2b3a7.tar.gz |
upgpkg: 0.87-2
As pointed out by Marcouney (thanks for the tip!), it can be useful to
symlink plugins/styles as well, so that theme engines such as qt5ct can
be used for XnView as well without additional hacks. Note that xnview.sh
would have to be modified for that purpose, as it overrides
QT_QPA_PLATFORMTHEME.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 9 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Thu Sep 7 22:27:31 UTC 2017 +# Tue Oct 3 23:05:08 UTC 2017 pkgbase = xnviewmp-system-libs pkgdesc = An efficient multimedia viewer, browser and converter (using system libraries). pkgver = 0.87 - pkgrel = 1 + pkgrel = 2 url = http://www.xnview.com/en/xnviewmp/ arch = x86_64 arch = i686 @@ -4,7 +4,7 @@ pkgname=xnviewmp-system-libs _pkgname=xnviewmp pkgver=0.87 srcrel=1 # Incremented when there is a new release for the same version number -pkgrel=1 +pkgrel=2 pkgdesc="An efficient multimedia viewer, browser and converter (using system libraries)." url="http://www.xnview.com/en/xnviewmp/" @@ -49,6 +49,12 @@ package() { rm -r "${dir}" ln -s "/usr/lib/qt/plugins/$(basename "${dir}")" "${dir}" done + # Since system directories are not looked up, it may be useful to have + # additional symlinks for other plugin directories, even though they are not + # normally provided with XnView. + for dir in "styles"; do + ln -s "/usr/lib/qt/plugins/${dir}" "${pkgdir}/opt/${_pkgname}/lib/" + done # XnView MP does a weird font lookup with random results under certain # circumstances, when not using the bundled libs. It seems that forcing # QT_QPA_PLATFORMTHEME to be the shipped platform theme solves the issue. |