Thank you asphantix, the PKGBUILD has been updated.
Search Criteria
Package Details: xnviewmp 1.8.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/xnviewmp.git (read-only, click to copy) |
---|---|
Package Base: | xnviewmp |
Description: | An efficient multimedia viewer, browser and converter. |
Upstream URL: | https://www.xnview.com/en/xnviewmp/ |
Keywords: | graphics |
Licenses: | custom |
Submitter: | oliwer |
Maintainer: | Corax |
Last Packager: | Corax |
Votes: | 310 |
Popularity: | 2.92 |
First Submitted: | 2008-07-25 19:01 (UTC) |
Last Updated: | 2024-10-19 21:05 (UTC) |
Dependencies (2)
- qt5-multimedia
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (optional) – support for moving files to trash
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 19 20 21 22 23 24 25 26 27 Next › Last »
<deleted-account> commented on 2012-06-26 14:13 (UTC)
<deleted-account> commented on 2012-06-26 13:29 (UTC)
md5sums are outdated. These are the new ones:
565f20bdd6bb46130324cb5a74b24f45 XnViewMP-linux.tgz
8889f9e5392ca140c9de10504581dfa0 XnViewMP-linux-x64.tgz
<deleted-account> commented on 2012-06-13 12:46 (UTC)
@Meow
Actually, Pierre, the author of Xnview, uses its custom version of Qt. That's why there is a lot of Qt libraries in the Xnview package and there is no direct dependency with the Qt package thus. I suggest to keep the custom Qt libs to guarantee all the features of XnviewMP. However, I've updated the PKGBUILD according to your suggestions. Thank you.
Meow commented on 2012-06-13 11:59 (UTC)
and this is the install file:
#############################
post_install() {
update-desktop-database -q /usr/share/applications
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
#############################
P.S variable reference without double quotes is a very bad habit if you can't guarantee that definitely no white space there in it.
Meow commented on 2012-06-13 11:44 (UTC)
I made a little tweak of your PKGBUILD:
######################################
pkgname=xnviewmp
pkgver=0.50
pkgrel=9
pkgdesc='An efficient multimedia viewer, browser and converter (beta release).'
url='http://newsgroup.xnview.com/viewtopic.php?f=60&t=25892'
arch=('x86_64' 'i686')
license=('custom')
depends=('glib2' 'expat' 'libpng12' 'qtwebkit')
source=('http://download.xnview.com/XnViewMP-linux.tgz')
md5sums=('bc26ba6427fc969c823c28813fe32724')
[ "$CARCH" = 'x86_64' ] && source[0]='http://download.xnview.com/XnViewMP-linux-x64.tgz' \
&& md5sums[0]='c3271268196486ae4505f362722213dc'
install=$pkgname.install
package() {
install -d -m755 "${pkgdir}"/opt/${pkgname}
install -d -m755 "${pkgdir}"/usr/bin
install -d -m755 "${pkgdir}"/usr/share/applications
rm "$srcdir"/XnView/lib/libQt*
rm "$srcdir"/XnView/lib/libphonon*
cp -R "${srcdir}"/XnView/* "${pkgdir}"/opt/${pkgname}
ln -s /opt/${pkgname}/xnview.sh "${pkgdir}"/usr/bin/${pkgname}
cat <<-_EOF_ > "$pkgdir"/usr/share/applications/xnviewmp.desktop
[Desktop Entry]
Encoding=UTF-8
Terminal=0
Exec=xnviewmp
Icon=/opt/xnviewmp/xnview.png
Type=Application
Categories=Graphics;
StartupNotify=true
Name=XnView Multi Platform
GenericName=XnViewMP
MimeType=image/bmp;image/gif;image/x-portable-bitmap;image/x-portable-pixmap;image/x-psd;image/x-tga;image/x-xbitmap;image/tiff;image/jpeg;image/x-psd;image/png;image/x-icon;image/x-xpixmap;image/svg+xml;
_EOF_
}
<deleted-account> commented on 2012-06-13 08:53 (UTC)
Pierre has updated all the packages this morning. md5sum checksums: fixed.
Thank you karol_007.
karol_007 commented on 2012-06-13 08:30 (UTC)
==> Validating source files with md5sums...
XnViewMP-linux.tgz ... FAILED
XnView.desktop ... Passed
The correct one seems to be bc26ba6427fc969c823c28813fe32724.
<deleted-account> commented on 2012-06-13 06:13 (UTC)
Fixed! Thank you mehanoid.
mehanoid commented on 2012-06-12 23:30 (UTC)
It requires libpng12, please add in dependencies
<deleted-account> commented on 2012-06-12 21:34 (UTC)
fuchs24, thank you for the flag. The package has been updated.
Pinned Comments
Corax commented on 2017-01-21 15:34 (UTC) (edited on 2017-02-12 19:23 (UTC) by Corax)
Corax commented on 2017-01-20 21:49 (UTC) (edited on 2023-10-30 20:39 (UTC) by Corax)
If makepkg fails because the checksum is incorrect, please flag the package out-of-date and I will update the PKGBUILD.
The PKGBUILD now references the latest versioned archive, as a result of which it should keep working if a new version is released. However, upstream sometimes updates released archives in place, in which case the checksum will fail and a manual intervention is required.