summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/photoqt/Manifest1
-rw-r--r--media-gfx/photoqt/photoqt-1.5.1.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/media-gfx/photoqt/Manifest b/media-gfx/photoqt/Manifest
index f7122d97ae15..bfd3f01a031a 100644
--- a/media-gfx/photoqt/Manifest
+++ b/media-gfx/photoqt/Manifest
@@ -1 +1,2 @@
DIST photoqt-1.4.1.tar.gz 1526368 SHA256 d78e26485bbf54823ee0eae93261bb44347c4cef905e4d31df935cf285baf9bd SHA512 1138c6e69d830a4df298440e38217785f4025be623f47d32e7f2ca101b2b6442d916f872fa438ba3b8af050722332f23b76f2135ce55a29941bdb21c8aaf0cfa WHIRLPOOL c0e41227ece32e1f03af9db7e7a1ac2185504dc40e50c117265d527d2d02f15e7332a783942f0fb2634fbed479a30ee90f65bef372ba59ac83f7cf4de9d1bc9d
+DIST photoqt-1.5.1.tar.gz 1596831 SHA256 61018feba7e3e0b82b0bc845cab4740ea3e26339cd4b69847ed1ba5fe7bf739e SHA512 ccb4ada12e76b611475ec66ceaa2ad3a15f92311d2b7c22aa8b94cd145a062bf502af6ff40fa9bb681c5dad97b2941c2a8203da4ac937c8d86c34d805084ec7c WHIRLPOOL af9bb0adfb602a270da0b754ee665e53108b1bc5584a47e779bf79b27ae262f1e5b65d4bc03ea420d55f04504f85dea6a9f27d1997c3a84aefaf1ccddac94cb6
diff --git a/media-gfx/photoqt/photoqt-1.5.1.ebuild b/media-gfx/photoqt/photoqt-1.5.1.ebuild
new file mode 100644
index 000000000000..5d63d0f0364a
--- /dev/null
+++ b/media-gfx/photoqt/photoqt-1.5.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 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/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
+}