diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2015-10-04 15:09:14 +0200 |
---|---|---|
committer | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2015-10-04 16:21:51 +0200 |
commit | fb989d0d6694b579fe859ea17b1d9d29537d9b11 (patch) | |
tree | 17481c90cd7f833bafa90660f869061c242f08d1 /media-gfx/nomacs | |
parent | media-gfx/exiv2: Version bump (diff) | |
download | gentoo-fb989d0d6694b579fe859ea17b1d9d29537d9b11.tar.gz gentoo-fb989d0d6694b579fe859ea17b1d9d29537d9b11.tar.bz2 gentoo-fb989d0d6694b579fe859ea17b1d9d29537d9b11.zip |
media-gfx/nomacs: Revision bump for compatibility with exiv2-0.25
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'media-gfx/nomacs')
-rw-r--r-- | media-gfx/nomacs/nomacs-2.4.4-r1.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/media-gfx/nomacs/nomacs-2.4.4-r1.ebuild b/media-gfx/nomacs/nomacs-2.4.4-r1.ebuild new file mode 100644 index 000000000000..d45dba7f19c8 --- /dev/null +++ b/media-gfx/nomacs/nomacs-2.4.4-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils fdo-mime + +DESCRIPTION="Qt4-based image viewer" +HOMEPAGE="http://www.nomacs.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~amd64-linux" +IUSE="opencv raw tiff webp zip" + +REQUIRED_USE=" + raw? ( opencv ) + tiff? ( opencv ) +" + +RDEPEND=" + dev-qt/qtcore:4 + dev-qt/qtgui:4 + >=media-gfx/exiv2-0.25:=[png] + opencv? ( >=media-libs/opencv-2.4:=[qt4] ) + raw? ( >=media-libs/libraw-0.14:= ) + tiff? ( media-libs/tiff:0 ) + webp? ( >=media-libs/libwebp-0.3.1:= ) + zip? ( dev-libs/quazip ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_configure() { + local mycmakeargs=( + -DENABLE_QT5=OFF + $(cmake-utils_use_enable opencv) + $(cmake-utils_use_enable raw) + $(cmake-utils_use_enable tiff) + $(cmake-utils_use_enable webp) + $(cmake-utils_use_enable zip QUAZIP) + -DUSE_SYSTEM_WEBP=ON + -DUSE_SYSTEM_QUAZIP=ON + ) + cmake-utils_src_configure +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} |