commit:     7d1b88da0c524e1e540aa68e1ef77145e58849e5
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu May 26 12:20:59 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu May 26 12:22:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d1b88da

media-gfx/photoqt: version bump

Package-Manager: portage-2.3.0_rc1

 media-gfx/photoqt/Manifest           |  1 +
 media-gfx/photoqt/photoqt-1.4.ebuild | 60 ++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/media-gfx/photoqt/Manifest b/media-gfx/photoqt/Manifest
index 43dbbb2..87f7379 100644
--- a/media-gfx/photoqt/Manifest
+++ b/media-gfx/photoqt/Manifest
@@ -1 +1,2 @@
 DIST photoqt-1.3.tar.gz 1382474 SHA256 
81baba387538f62a24af1e69ec26b2a62aafd9b4c1841dd952a9ddb25cdf5348 SHA512 
6fdc0c00449519304e0e0da09cabee6f096100ce8054213ca48f5093629328b5f2b6d45215edbbf5419e34189b456eac1389b561840077b3b8320461a1591762
 WHIRLPOOL 
7989d53468e5f94a4ae5d160feb928c11790d381c5395e97eea2e5e715f76a7c95bfff34f3879cfc5bed2a5d29a3140cd8c978c3a08757cd5efd933363fc9489
+DIST photoqt-1.4.tar.gz 1499903 SHA256 
9df3392f0bd746778f119a4da98a32e8ae9ae215564df97d7bcf52efa4d08604 SHA512 
6f8e8caafa9edc4c7ec9892d763ad38251ecda964df6fef731ef2ba55c1f56b7b225ba74aebc09720dec2f9a5fa115978d301a5eb5153fa65895f9bd9685f79b
 WHIRLPOOL 
4c863fa82619c64670403cf33087872eb9d4c234c1a1fd46c7ecd235525af5dbcf053f539addcf636f64ab6e75087d58ae47152794b5a04d4dfcbd631438c43e

diff --git a/media-gfx/photoqt/photoqt-1.4.ebuild 
b/media-gfx/photoqt/photoqt-1.4.ebuild
new file mode 100644
index 0000000..b7f2829
--- /dev/null
+++ b/media-gfx/photoqt/photoqt-1.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils xdg-utils
+
+DESCRIPTION="Simple but powerful Qt-based image viewer"
+HOMEPAGE="http://photoqt.org/";
+SRC_URI="http://photoqt.org/pkgs/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="exiv2 graphicsmagick raw"
+
+RDEPEND="
+       dev-qt/qtcore:5
+       dev-qt/qtdeclarative:5
+       dev-qt/qtgraphicaleffects:5
+       dev-qt/qtgui:5
+       dev-qt/qtimageformats:5
+       dev-qt/qtmultimedia:5[qml]
+       dev-qt/qtnetwork:5
+       dev-qt/qtquickcontrols:5
+       dev-qt/qtsql:5
+       dev-qt/qtsvg:5
+       dev-qt/qtwidgets:5
+       dev-qt/qtxml:5
+       exiv2? ( media-gfx/exiv2:= )
+       graphicsmagick? ( >=media-gfx/graphicsmagick-1.3.20 )
+       raw? ( media-libs/libraw:= )
+"
+DEPEND="${RDEPEND}
+       dev-qt/linguist-tools:5
+"
+
+src_configure() {
+       local mycmakeargs=(
+               -DEXIV2=$(usex exiv2)
+               -DGM=$(usex graphicsmagick)
+               -DRAW=$(usex raw)
+       )
+       cmake-utils_src_configure
+}
+
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}

Reply via email to