diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-29 21:51:28 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-29 23:02:02 +0100 |
commit | 2afd1614ad79f4724bbade719f634bec90a16bfe (patch) | |
tree | 7d08be10fc38a999d2f9c8b9a5edd533d2dce716 /media-gfx/nomacs | |
parent | media-libs/libextractor: Fix CVE-2018-20430, CVE-2018-20431 (diff) | |
download | gentoo-2afd1614ad79f4724bbade719f634bec90a16bfe.tar.gz gentoo-2afd1614ad79f4724bbade719f634bec90a16bfe.tar.bz2 gentoo-2afd1614ad79f4724bbade719f634bec90a16bfe.zip |
media-gfx/nomacs: 3.12 version bump
Closes: https://bugs.gentoo.org/672486
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/nomacs')
-rw-r--r-- | media-gfx/nomacs/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/nomacs/metadata.xml | 1 | ||||
-rw-r--r-- | media-gfx/nomacs/nomacs-3.12.ebuild | 70 |
3 files changed, 72 insertions, 0 deletions
diff --git a/media-gfx/nomacs/Manifest b/media-gfx/nomacs/Manifest index c1c1c77ff1fc..ce05039a465d 100644 --- a/media-gfx/nomacs/Manifest +++ b/media-gfx/nomacs/Manifest @@ -1,2 +1,3 @@ DIST nomacs-3.10.2.tar.gz 32302506 BLAKE2B 14f9eb9188f74c91cf088bac757a4023f6590bc05687b4809794a70bdd1e2dbcc2b58ad65062db14cfec9f4c639ceb21e64df19f1c1584256ee9586ab588d8af SHA512 977dbe24e09b00001dd8a33b18c1dbbb3a59106715746b07892f289918205818664fd7b4213028d4288009bcf14a0195759ac1eafca076f81ee72a1e2ae027dd +DIST nomacs-3.12.tar.gz 1736648 BLAKE2B 533e18dec4be5d945213ccd629262a2cbae1eba93599f43be0a98d32d0b54d9caad7d963809f2fc9bb5c1ba682a39f44763b5d04e50c6e86658f6cd84324f3d2 SHA512 4508354d48a6115cd40f701cc90cbbcb84490e99eaac0295db48f6fea99550d5e2b3e7365128d0c9cc4eeb621906f55e275603d84cb8b6bb164d0b5e2e192119 DIST nomacs-3.8.1.tar.gz 32184536 BLAKE2B 3ba4e0b0220797991c5999164e27fb3c57218d87d17858f5cf6098d8b91ddd0b3330836642999ce953f3ce9b538dcb35ecb48400f94f11805cd8eedeed05b110 SHA512 ff27570bc15096d0e331ad2c871b2f504a414927b8e64166668dedbbbc41f8cd031d9fb142c89c22cff76bf79156f93decf1038e30eecfc3de3e328a325f0134 diff --git a/media-gfx/nomacs/metadata.xml b/media-gfx/nomacs/metadata.xml index b27b6fcfc0e4..462a1644b167 100644 --- a/media-gfx/nomacs/metadata.xml +++ b/media-gfx/nomacs/metadata.xml @@ -11,6 +11,7 @@ <remote-id type="sourceforge">nomacs</remote-id> </upstream> <use> + <flag name="heif">Enable support for ISO/IEC 23008-12:2017 HEIF/HEIC image format using <pkg>media-libs/libheif</pkg></flag> <flag name="opencv">Build support for <pkg>media-libs/opencv</pkg></flag> </use> </pkgmetadata> diff --git a/media-gfx/nomacs/nomacs-3.12.ebuild b/media-gfx/nomacs/nomacs-3.12.ebuild new file mode 100644 index 000000000000..cd9011453890 --- /dev/null +++ b/media-gfx/nomacs/nomacs-3.12.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils xdg-utils + +DESCRIPTION="Qt-based image viewer" +HOMEPAGE="https://nomacs.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="heif +jpeg +opencv raw tiff zip" + +REQUIRED_USE=" + raw? ( opencv ) + tiff? ( opencv ) +" + +RDEPEND=" + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5[jpeg?] + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + media-gfx/exiv2:= + heif? ( media-libs/libheif:= ) + opencv? ( >=media-libs/opencv-3.4:= ) + raw? ( media-libs/libraw:= ) + tiff? ( + dev-qt/qtimageformats:5 + media-libs/tiff:0 + ) + zip? ( dev-libs/quazip[qt5(+)] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig +" + +S="${WORKDIR}/${P}/ImageLounge" + +DOCS=( src/changelog.txt ) + +src_configure() { + local mycmakeargs=( + -DENABLE_CODE_COV=OFF + -DUSE_SYSTEM_QUAZIP=ON + -DENABLE_TRANSLATIONS=ON + -DENABLE_HEIF=$(usex heif) + -DENABLE_OPENCV=$(usex opencv) + -DENABLE_RAW=$(usex raw) + -DENABLE_TIFF=$(usex tiff) + -DENABLE_QUAZIP=$(usex zip) + ) + cmake-utils_src_configure +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} |