From a6df4ed2f90827f8dac83158e500a93626adbfe8 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Sun, 7 Aug 2016 04:51:34 -0400 Subject: media-gfx/viewnior: version bump to 1.6 --- media-gfx/viewnior/Manifest | 1 + media-gfx/viewnior/viewnior-1.6.ebuild | 46 ++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 media-gfx/viewnior/viewnior-1.6.ebuild (limited to 'media-gfx') diff --git a/media-gfx/viewnior/Manifest b/media-gfx/viewnior/Manifest index f5574d1284a4..3f336fbf835c 100644 --- a/media-gfx/viewnior/Manifest +++ b/media-gfx/viewnior/Manifest @@ -1,2 +1,3 @@ DIST viewnior-1.3.tar.gz 525015 SHA256 46c97c1a85361519b42fe008cfb8911e66f709f3a3a988c11047ab3726889f10 SHA512 1047422f73fc9bc7b7cbef1298f52bd1e59c0430bdcfa219061ec929c9c874f7872d3d6fbfcb44681f031deffd7fa5c2ffe2e98002df47ada8f432203feefa33 WHIRLPOOL 899a6f40fb4da994335cee5f21ee0613e60f7bbb3b1331730c25c44278f93da3c28abe08e3ddd61a1566c1c9117b24a743bf8336c4b72a0945fa333d6e5cfb03 DIST viewnior-1.4.tar.gz 566470 SHA256 ea14f27d384962c0c429e123f1275938bacd2a636b995645aadf3d78c708616f SHA512 eef2efdbcb828f18b4fc4b6a63d191728dbb696b26a3bf4b0fd58c136182dc43486edd52f564f20fb5f773e472c9d7736d4ab7ae483f90c029071867cede9228 WHIRLPOOL 624ea88bdf4da57cfb7f740ef5b43468af2211895fd91a22338d7caef7458bbec86306bfbce738fc39219893451df866d1c1eeaa2fac92aeaef245b7276e5ff2 +DIST viewnior-1.6.tar.gz 168966 SHA256 89013f6d30c1c121d8cb6327d3ffc35a757fba1d777c24849d632afe244e60a0 SHA512 4b150078573bfd3b8c5863d73087a51cd3b7ed5781e26c842fab44eec3e67ea9aea3feba064538578878df1ccb386525a6a84362dae7f92315fb7de735ace617 WHIRLPOOL cc65f782617318902a90ee8e1b0fc7f3b8de7918f3f81375f08c98c5ce0149fbd01b5521f080ea38aefa0feae5c493fef16baaec5b2a543df05a9d57a5c6de5d diff --git a/media-gfx/viewnior/viewnior-1.6.ebuild b/media-gfx/viewnior/viewnior-1.6.ebuild new file mode 100644 index 000000000000..aff1db8c66fb --- /dev/null +++ b/media-gfx/viewnior/viewnior-1.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit fdo-mime gnome2-utils autotools + +MY_PN=Viewnior +DESCRIPTION="Fast and simple image viewer" +HOMEPAGE="http://siyanpanayotov.com/project/viewnior/ https://github.com/xsisqox/Viewnior" +SRC_URI="https://github.com/xsisqox/${MY_PN}/archive/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-libs/glib:2 + media-gfx/exiv2 + >=x11-libs/gtk+-2.20:2 + x11-misc/shared-mime-info" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_PN}-${P} + +src_prepare() { + # fix for bug #454230 + sed -r -i "s:(PKG_CHECK_MODULES):AC_CHECK_LIB([m],[cos])\n\n\1:" configure.ac + + eautoreconf + default +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad