summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 11 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f43e59545b1..a61f023fec4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = xnviewmp
pkgdesc = An efficient multimedia viewer, browser and converter.
- pkgver = 0.94.3
+ pkgver = 0.95
pkgrel = 1
url = http://www.xnview.com/en/xnviewmp/
arch = x86_64
@@ -11,9 +11,9 @@ pkgbase = xnviewmp
depends = qt5-x11extras
depends = desktop-file-utils
optdepends = glib2: support for moving files to trash
- source = XnViewMP-linux-x64_0.94.3-rel1.tgz::http://download.xnview.com/XnViewMP-linux-x64.tgz
+ source = XnViewMP-linux-x64_0.95-rel1.tgz::http://download.xnview.com/XnViewMP-linux-x64.tgz
source = xnviewmp.desktop
- md5sums = 9380ae82adbe422dd181b8b9bb63a884
+ md5sums = 78d546aefb66a9b6b11b1d966b9e9ba3
md5sums = 24f44d5a881b94daf48775213a57e4ec
pkgname = xnviewmp
diff --git a/PKGBUILD b/PKGBUILD
index c93278886eb..7afce4bb95f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
# Contributor: Martin Poljak <martin 'at' poljak 'dot' cz>
pkgname=xnviewmp
-pkgver=0.94.3
+pkgver=0.95
srcrel=1 # Incremented when there is a new release for the same version number
pkgrel=1
pkgdesc="An efficient multimedia viewer, browser and converter."
@@ -21,7 +21,7 @@ optdepends=('glib2: support for moving files to trash')
source=("XnViewMP-linux-x64_${pkgver}-rel${srcrel}.tgz::http://download.xnview.com/XnViewMP-linux-x64.tgz"
'xnviewmp.desktop')
-md5sums=('9380ae82adbe422dd181b8b9bb63a884'
+md5sums=('78d546aefb66a9b6b11b1d966b9e9ba3'
'24f44d5a881b94daf48775213a57e4ec')
package() {
@@ -39,6 +39,12 @@ package() {
rm "${pkgdir}/opt/${pkgname}/XnView.desktop"
chmod 644 "${pkgdir}/opt/${pkgname}"/xnview*.png
chmod 755 "${pkgdir}/opt/${pkgname}/XnView"
+
+ # Some old version of libfreetype started getting shipped in 0.95.
+ # libfreetype depends on libfontconfig, but since libfontconfig is not
+ # provided in the archive and the system one is not compatible, we need to
+ # remove it so that the XnView uses the system libfreetype.
+ rm "${pkgdir}/opt/${pkgname}/lib/libfreetype.so"*
}
# vim:set ts=2 sw=2 et: