Commit d2a6db40 authored by José Mª. Fernández's avatar José Mª. Fernández

Bump release media-gfx/xnviewmp-0.92

parent 6d675fa5
......@@ -2,5 +2,7 @@ DIST XnViewMP-087-linux-x64.tgz 56496040 BLAKE2B 5a4417c51021b3ed208fd4badad84cc
DIST XnViewMP-087-linux.tgz 58725281 BLAKE2B 58326f6e3df8f57ed7e1acc0e909d4a81c718f1f3da1a033a9aa5ca500187d471590c96c72d04451c9c2344851b1fa95c6b4468ce23484c800f0cdac951dc4a0 SHA512 10c6fa5b67306add17c2102001f4ebac9969e2660a1c77bf0759637b2c078b66a5661ca51357bb48da11bcc8db3a8a85e82a58f24aecf61dbedd74769ba01127
DIST XnViewMP-089-linux-x64.tgz 57449945 BLAKE2B 3be25e6c43c648fad296c4289557a7032cca087063ab4a3dd16b88e7e110f7a4ff718ee72d4cae99edeb339fc6b8990edca4fcffa9a1715e8a19e8b570eca4e2 SHA512 fd18e53c6998f3243b0229ba805529a511021b6efc2321f00e75a976adee9f387cabe1254221e605789f9f86819b0ff6d046dff272a1ec4b2f7a1cdc3bc48ea9
DIST XnViewMP-089-linux.tgz 59154492 BLAKE2B c5b7b094600c3f2e9222bce641dea7d88cd7ef7917bab2f91dc6d0bdbab3f286fcde2027d9b2f6f7411f14773b955c979d4a5a0914089216b571bf34f018ee51 SHA512 d39c30ef4d4a1cb922be18b73daba1d1ef348741181c0c29fadd457a5527cf617265b63c3725c98e0f6f0abdc1db24015e0e9243b9f342a22c96a753572be9cd
DIST XnViewMP-092-linux-x64.tgz 61763243 BLAKE2B 661d00c3e9dfa40615493d99e0ac79ce9de0bebb11e02684540233a33a28bcba7ac615cbddb0da94c6a48a663a76e7b3150e1435fddca3a1105795bf0b1b170a SHA512 420a7a05baf204dd95d9b556f5e54c4c57649070f9a65435be5ca97d894d90f1137cf85f9677d996ad5fcf3693736583d9a118b42ac8988432289e6b4e78d459
EBUILD xnviewmp-0.87-r1.ebuild 3669 BLAKE2B f5e22f18870f4535373861bc0448b82d64820b3b735e97dd348bb9c6c445fa9895ade709e2f59ae361a216b84c7165e095710423c2393e0eb2c1c3683ab5899f SHA512 6a0fa62a83d9a4763cf821de03f64efcb6d4f31b4eed487dd32440287cf4ccbc33876c2b5a50be1c0e86022bc86b23b710a26bc3f0fe560fbe4f6385654f6680
EBUILD xnviewmp-0.89.ebuild 3899 BLAKE2B 46ef6a8e46dc05d6f42d1fd9e519dd3f125a9c9f843ef663cfeda111a551e8283602c96988bdebd4c06ee8b0ef1549c909248b49d783f56e7cf96cc24daa97bd SHA512 65ed4072f78d0a3fb7e30353c3a2257e1e054215e8b72627ef6cfd672a0f74b4cf94c6c30fe0dccb1400503dc0c71b01c2507bd5519c2a5e28240a3805af65fe
EBUILD xnviewmp-0.92.ebuild 4754 BLAKE2B 014f19a85fe8f3ad223107dfebaab3f59f1cef126cd8e5e5c14a580d5c7995726ded0152b6bad4c73d8b5e5de1fc486280f41430093ab56bdd0e5a22aa34746a SHA512 232bd08e299ed29071cbb8d2edc2801a6265fdaa0ecee5e285f38389ddc03bd9b985731de2dd916f0f4aaf804495666274c3055c94f617bfb670155ee4c324e1
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
#inherit eutils rpm xdg-utils
inherit eutils xdg-utils
DESCRIPTION="XnView MP image viewer/converter"
HOMEPAGE="http://www.xnview.com/"
MY_PV=${PV/./}
#SRC_URI="http://download.xnview.com/old_versions/XnViewMP-${MY_PV}-linux.x86_64.rpm"
SRC_URI="http://download.xnview.com/old_versions/XnViewMP-${MY_PV}-linux-x64.tgz"
SLOT="0"
LICENSE="free-noncomm as-is"
KEYWORDS="~amd64"
IUSE="openexr bundled-libs"
B_QT_VERSION=5.9.5
B_QT_WK_VERSION=5.9.0
B_ICU_VERSION=56
BUNDLED_LIBS="
libQt5Concurrent.so.5 libQt5Concurrent.so.${B_QT_VERSION}
libQt5Core.so.5 libQt5Core.so.${B_QT_VERSION}
libQt5DBus.so.5 libQt5DBus.so.${B_QT_VERSION}
libQt5Gui.so.5 libQt5Gui.so.${B_QT_VERSION}
libQt5Multimedia.so.5 libQt5Multimedia.so.${B_QT_VERSION}
libQt5MultimediaWidgets.so.5 libQt5MultimediaWidgets.so.${B_QT_VERSION}
libQt5Network.so.5 libQt5Network.so.${B_QT_VERSION}
libQt5OpenGL.so.5 libQt5OpenGL.so.${B_QT_VERSION}
libQt5Positioning.so.5 libQt5Positioning.so.${B_QT_VERSION}
libQt5PrintSupport.so.5 libQt5PrintSupport.so.${B_QT_VERSION}
libQt5Qml.so.5 libQt5Qml.so.${B_QT_VERSION}
libQt5Quick.so.5 libQt5Quick.so.${B_QT_VERSION}
libQt5Sensors.so.5 libQt5Sensors.so.${B_QT_VERSION}
libQt5Sql.so.5 libQt5Sql.so.${B_QT_VERSION}
libQt5Svg.so.5 libQt5Svg.so.${B_QT_VERSION}
libQt5WebChannel.so.5 libQt5WebChannel.so.${B_QT_VERSION}
libQt5WebKit.so.5 libQt5WebKit.so.${B_QT_WK_VERSION}
libQt5WebKitWidgets.so.5 libQt5WebKitWidgets.so.${B_QT_WK_VERSION}
libQt5Widgets.so.5 libQt5Widgets.so.${B_QT_VERSION}
libQt5X11Extras.so.5 libQt5X11Extras.so.${B_QT_VERSION}
libQt5XcbQpa.so.5 libQt5XcbQpa.so.${B_QT_VERSION}
libQt5Xml.so.5 libQt5Xml.so.${B_QT_VERSION}
libQtAV.so.1 libQtAV.so.1.12.0
libQtAVWidgets.so.1 libQtAVWidgets.so.1.12.0
libavcodec.so.58
libavfilter.so.7
libavformat.so.58
libavutil.so.56
libicudata.so libicudata.so.${B_ICU_VERSION} libicudata.so.${B_ICU_VERSION}.1
libicui18n.so libicui18n.so.${B_ICU_VERSION} libicui18n.so.${B_ICU_VERSION}.1
libicuio.so libicuio.so.${B_ICU_VERSION} libicuio.so.${B_ICU_VERSION}.1
libicule.so libicule.so.${B_ICU_VERSION} libicule.so.${B_ICU_VERSION}.1
libiculx.so libiculx.so.${B_ICU_VERSION} libiculx.so.${B_ICU_VERSION}.1
libicutest.so libicutest.so.${B_ICU_VERSION} libicutest.so.${B_ICU_VERSION}.1
libicutu.so libicutu.so.${B_ICU_VERSION} libicutu.so.${B_ICU_VERSION}.1
libicuuc.so libicuuc.so.${B_ICU_VERSION} libicuuc.so.${B_ICU_VERSION}.1
libqgsttools_p.so libqgsttools_p.so.1 libqgsttools_p.so.1.0.0
libswresample.so.3
libswscale.so.5
libva-drm.so.1
libva-x11.so.1
libva.so.1
libvdpau.so.1
libwebp.so libwebp.so.6
audio/ platforms/ printsupport/"
BUNDLED_LIBS_DEPEND="dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtmultimedia:5[widgets]
dev-qt/qtwidgets:5
dev-qt/qtnetwork:5
dev-qt/qtprintsupport:5
dev-qt/qtsvg:5
dev-qt/qtx11extras:5
dev-qt/qtconcurrent:5
dev-qt/qtxml:5
dev-qt/qtopengl:5
dev-qt/qtsql:5
dev-qt/qtdbus:5
dev-qt/qtwebkit:5
dev-qt/qtimageformats:5
media-libs/qtav:0
media-libs/libwebp:0
dev-libs/icu"
RDEPEND=">=dev-libs/glib-2
x11-libs/libX11
x11-libs/libXi
x11-libs/libXt
openexr? ( ~media-libs/ilmbase-1.0.2 )
!bundled-libs? ( ${BUNDLED_LIBS_DEPEND} )
"
DEPEND="$RDEPEND"
RESTRICT="mirror strip"
S="${WORKDIR}/XnView"
#
#src_unpack() {
# rpm_src_unpack ${A}
#}
src_prepare() {
default
if ! use bundled-libs ; then
einfo Removing bundled libraries
for libname in ${BUNDLED_LIBS} ; do
rm -rv "${S}"/lib/${libname} || die "Failed removing bundled ${libname}"
done
rm "${S}"/qt.conf
fi
}
src_install() {
declare XNVIEW_HOME=/opt/XnView
# Install XnView in /opt
dodir ${XNVIEW_HOME%/*}
rm -f "${S}"/xnview.sh
# As this plugin depends on ilmbase, remove it when the dependency is not available
use openexr || rm -f "${S}"/Plugins/IlmImf.so
mv "${S}" "${D}"${XNVIEW_HOME} || die "Unable to install XnView folder"
# Create /opt/bin/xnview
dodir /opt/bin/
cat <<EOF >"${D}"/opt/bin/xnview
#!/bin/sh
EOF
use bundled-libs && cat <<EOF >>"${D}"/opt/bin/xnview
LD_LIBRARY_PATH="/opt/XnView/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
QT_PLUGIN_PATH=/opt/XnView/lib
export QT_PLUGIN_PATH
EOF
cat <<EOF >>"${D}"/opt/bin/xnview
exec /opt/XnView/XnView "\$@"
EOF
fperms 0755 /opt/bin/xnview
# Install icon and .desktop for menu entry
newicon "${D}"${XNVIEW_HOME}/xnview.png ${PN}.png
make_desktop_entry xnview XnviewMP ${PN} "Graphics" || die "desktop file sed failed"
}
pkg_postinst(){
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment