1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit cmake-utils gnome2-utils xdg-utils
8 DESCRIPTION="Simple but powerful Qt-based image viewer"
9 HOMEPAGE="https://photoqt.org/"
10 SRC_URI="https://photoqt.org/pkgs/${P}.tar.gz"
15 IUSE="exif graphicsmagick raw"
19 dev-qt/qtdeclarative:5
20 dev-qt/qtgraphicaleffects:5
22 dev-qt/qtimageformats:5
23 dev-qt/qtmultimedia:5[qml]
25 dev-qt/qtquickcontrols:5
30 exif? ( media-gfx/exiv2:= )
31 graphicsmagick? ( >=media-gfx/graphicsmagick-1.3.20:= )
32 raw? ( media-libs/libraw:= )
35 dev-qt/linguist-tools:5
41 -DGM=$(usex graphicsmagick)
44 cmake-utils_src_configure
52 gnome2_icon_cache_update
53 xdg_desktop_database_update
57 gnome2_icon_cache_update
58 xdg_desktop_database_update