/[gentoo-x86]/media-gfx/nomacs/nomacs-2.4.4.ebuild
Gentoo

Contents of /media-gfx/nomacs/nomacs-2.4.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jun 16 00:12:45 2015 UTC (3 years, 3 months ago) by pesa
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/nomacs/nomacs-2.4.2.ebuild,v 1.2 2015/05/21 13:27:08 ago Exp $
4
5 EAPI=5
6
7 inherit cmake-utils fdo-mime
8
9 DESCRIPTION="Qt4-based image viewer"
10 HOMEPAGE="http://www.nomacs.org/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.bz2"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~amd64-linux"
16 IUSE="opencv raw tiff webp zip"
17
18 REQUIRED_USE="
19 raw? ( opencv )
20 tiff? ( opencv )
21 "
22
23 RDEPEND="
24 dev-qt/qtcore:4
25 dev-qt/qtgui:4
26 >=media-gfx/exiv2-0.20:=[zlib]
27 opencv? ( >=media-libs/opencv-2.4:=[qt4] )
28 raw? ( >=media-libs/libraw-0.14:= )
29 tiff? ( media-libs/tiff:0 )
30 webp? ( >=media-libs/libwebp-0.3.1:= )
31 zip? ( dev-libs/quazip )
32 "
33 DEPEND="${RDEPEND}
34 virtual/pkgconfig
35 "
36
37 src_configure() {
38 local mycmakeargs=(
39 -DENABLE_QT5=OFF
40 $(cmake-utils_use_enable opencv)
41 $(cmake-utils_use_enable raw)
42 $(cmake-utils_use_enable tiff)
43 $(cmake-utils_use_enable webp)
44 $(cmake-utils_use_enable zip QUAZIP)
45 -DUSE_SYSTEM_WEBP=ON
46 -DUSE_SYSTEM_QUAZIP=ON
47 )
48 cmake-utils_src_configure
49 }
50
51 pkg_postinst() {
52 fdo-mime_desktop_database_update
53 }
54
55 pkg_postrm() {
56 fdo-mime_desktop_database_update
57 }

  ViewVC Help
Powered by ViewVC 1.1.20