Skip to content

Commit

Permalink
media-gfx/nomacs: Version bump, add USE=qt5
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20.1
  • Loading branch information
a17r committed Oct 4, 2015
1 parent afd3761 commit af3da8f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
1 change: 1 addition & 0 deletions media-gfx/nomacs/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DIST nomacs-2.4.2-source.tar.bz2 1443270 SHA256 b0f52b919025a48a0e0300ea15c90b40d6ad892b055088fca02a8137e229bc3a SHA512 e3fae11ae8c385f9548bda32b2364967a457e9645fa4375da9d1cf85dc8fb150a56a19c3eab12ddef90d58f20a57d02a8720ddb8fef22c569ab6c28d54654f02 WHIRLPOOL ac21dd3afe3b45324daa6e07030203611c9f2de4ad1427ce4bb388d84ade5e38a686b42e0d757adbaa3a91fbb658d94f9f47de61e9ccf4ccc339af4ce1c4fd8d
DIST nomacs-2.4.4-source.tar.bz2 1448716 SHA256 01b0cb48936ca0214c120a126069c50a9b8fe7ecbdb69bb4e5fe283d6b198257 SHA512 76cd5efaba09584757843e895b5b8293adcdab7df68a7d5bdcf38e9e5df04e38382944cf64293c9820815b9e6328793dd8e46afef5ffeaa80ddc4f7d43290fc2 WHIRLPOOL d858887f66cbbed858c1985313107839a8162052bfb825bc48f344516444a1e184e839c9a067283d7503b98a6993126ade3f39c0a85b50ca534f963335c85513
DIST nomacs-2.4.6-source.tar.bz2 1457529 SHA256 b846e335c768593e9f36cdee1a5c186e7794c76770ea3cadc87cf264153e8960 SHA512 9389df46635e619e198388e8b161a840d15227dd902cf04c250e71211098a10fd808d710ebab71f3e9a437bdca9451f966c46d22c2ce2379b94b678e79e92d71 WHIRLPOOL 97ccd02cbeabda62888ed25065cd24ce9a297b7bae3f9343e903d0223e8107cab601834fbc6dcf31a0b7f8d9e93052ba5a1a08e9c5e006027994c27bdb6f3940
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,51 @@ EAPI=5

inherit cmake-utils fdo-mime

DESCRIPTION="Qt4-based image viewer"
DESCRIPTION="Qt-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"
IUSE="opencv qt5 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] )
>=media-gfx/exiv2-0.25:=
qt5? (
dev-qt/qtconcurrent:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtprintsupport:5
dev-qt/qtwidgets:5
opencv? ( media-libs/opencv:=[qt5] )
zip? ( dev-libs/quazip[qt5] )
)
!qt5? (
dev-qt/qtcore:4
dev-qt/qtgui:4
opencv? ( >=media-libs/opencv-2.4:=[qt4] )
zip? ( dev-libs/quazip[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}
qt5? ( dev-qt/linguist-tools:5 )
virtual/pkgconfig
"

src_configure() {
local mycmakeargs=(
-DENABLE_QT5=OFF
$(cmake-utils_use_enable opencv)
$(cmake-utils_use_enable qt5)
$(cmake-utils_use_enable raw)
$(cmake-utils_use_enable tiff)
$(cmake-utils_use_enable webp)
Expand Down

0 comments on commit af3da8f

Please sign in to comment.