From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2334D1584AD for ; Sun, 11 May 2025 01:46:36 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id E0809343015 for ; Sun, 11 May 2025 01:46:35 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 14E401102C5; Sun, 11 May 2025 01:46:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 0BB311102C5 for ; Sun, 11 May 2025 01:46:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ADB91343015 for ; Sun, 11 May 2025 01:46:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED557DA7 for ; Sun, 11 May 2025 01:46:29 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1746927922.094cb5fe86f42a5db0d027ac5d3ada0381981ffe.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/nomacs/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/nomacs/Manifest media-gfx/nomacs/nomacs-3.21.1.ebuild X-VCS-Directories: media-gfx/nomacs/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 094cb5fe86f42a5db0d027ac5d3ada0381981ffe X-VCS-Branch: master Date: Sun, 11 May 2025 01:46:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2393017e-389e-48a1-b25d-2525445bb2a5 X-Archives-Hash: cdee343e31d96cc1d2b18c06fb313ca9 commit: 094cb5fe86f42a5db0d027ac5d3ada0381981ffe Author: Daniel Novomeský gmail com> AuthorDate: Fri May 9 18:46:29 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun May 11 01:45:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=094cb5fe media-gfx/nomacs: add 3.21.1 Signed-off-by: Daniel Novomeský gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42008 Closes: https://github.com/gentoo/gentoo/pull/42008 Signed-off-by: Sam James gentoo.org> media-gfx/nomacs/Manifest | 2 + media-gfx/nomacs/nomacs-3.21.1.ebuild | 77 +++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/media-gfx/nomacs/Manifest b/media-gfx/nomacs/Manifest index d31a5b58d60e..cf448c3f9140 100644 --- a/media-gfx/nomacs/Manifest +++ b/media-gfx/nomacs/Manifest @@ -1,4 +1,6 @@ DIST nomacs-3.19.1.tar.gz 1928697 BLAKE2B ee8a10ebd777a589df179b51591893fe083505b066bf409e11a54a4bc21054d6d61d8c5e397cf01fa7907fd2e4b69401729a8fab7f1a8079769bfef53692230b SHA512 7cbe80d6c336547a00761c64e591444827998aa79a52d51219ca69aacca4d3361c1e7cbccba1f9c06c7e93f09f4b732abd25757107e1c50d8a43eb45ced0ee97 DIST nomacs-3.21.0.tar.gz 1958531 BLAKE2B b0a82aaf8c29e631bc3e9123fd0e81ccc277843ab2fd19e42f27c46c115f22fe91304a4c01109e98d40975bf331f39acd43455ab442d25f166df44433c713265 SHA512 7e19d2ecedd700aa141a6975de6edfe836e2c36fe8511b933dd77100a1cd8201f8b1988b081d8c5d3383f2e66f636201d68417ef003a7321026ab6c48c509291 +DIST nomacs-3.21.1.tar.gz 4616883 BLAKE2B 631dfdd2ceececd60e219fac2dc38b6fa2255964ed0f68308607de85bbfa6e4ae5d649843768c64ef4fbdca770d67666f6152aa195680e57fab930400461e3a3 SHA512 127c2c04403d8a731e76db4182c33d0b005ed1484e6d00ee5cf59f55c319b836d38d877673f1d9a82f98dbcc1fe83674001eb8379814657a4b9b3d68ed82037b DIST nomacs-plugins-3.19.0.tar.gz 559925 BLAKE2B 4e3d8e07974d418510d2e806980bc9793567813b9418c0754dcaaa9e6f43e88d76e35264f05e05b2e21345467c8038db3c37ce3d1b003adcd3b019796a737080 SHA512 36b96b0270cb7cc34ee3f9f948eb1f2e5b4facd1f6eb273afe1fbf865c7712fb6487ef59f3d4e7723b9bca7930255f4247a8381c05ee8cfb9acf2b5cc225303c DIST nomacs-plugins-3.21.0.tar.gz 559915 BLAKE2B 83627d27a345a29c17155bb6496464e847cfc7d3b30174ac855aaff87bd018fd6651f0bfa3220b64dd36d9e6c53250e8799d96ff3cafeefde9e2818789b48ff7 SHA512 abf0b0ba479b97ae8e10889f6c6ab18ae722189236a97be5c29a7252de8123d0744fb859bf6b57a2dc02f27c83d4f988cb1f22bb1d1df21802bd618437f6eed3 +DIST nomacs-plugins-3.21.1.tar.gz 559978 BLAKE2B ab451e01ffa1e878023bdda978bf2c9270a2b4717ba8819d4e4cbc81cb32fd410c1fa42bf6953181cafbb41494c4b57c8a466aac86549f171eb8ea2a04078a36 SHA512 c1a802e327a7ef6b06ddc4cb8e3127c655d5c5ef01a0540ea7d8d9b42a1372e88ce69b8d33425f49df5e96444d381fb7268f81ca9d41e86f0b39aea13a081106 diff --git a/media-gfx/nomacs/nomacs-3.21.1.ebuild b/media-gfx/nomacs/nomacs-3.21.1.ebuild new file mode 100644 index 000000000000..df51fe61cf1e --- /dev/null +++ b/media-gfx/nomacs/nomacs-3.21.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_BUILD_TYPE="Release" # buildsys: what a mess +PLUGIN_PKG="${PN}-plugins-${PV}" +inherit cmake xdg + +DESCRIPTION="Qt-based image viewer" +HOMEPAGE="https://nomacs.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz +plugins? ( https://github.com/novomesk/${PN}-plugins/archive/refs/tags/${PV}.tar.gz -> ${PLUGIN_PKG}.tar.gz )" +CMAKE_USE_DIR="${S}/ImageLounge" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux" +IUSE="+opencv plugins raw +tiff test zip" +REQUIRED_USE=" + raw? ( opencv ) + tiff? ( opencv ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-qt/qt5compat:6 + dev-qt/qtbase:6[concurrent,cups,gui,network,widgets] + dev-qt/qtsvg:6 + media-gfx/exiv2:= + opencv? ( >=media-libs/opencv-3.4:= ) + raw? ( media-libs/libraw:= ) + tiff? ( + dev-qt/qtimageformats:6 + media-libs/tiff:= + ) + zip? ( dev-libs/quazip:0=[qt6(+)] ) +" +DEPEND="${RDEPEND} + test? ( dev-cpp/gtest ) +" +BDEPEND=" + dev-qt/qttools:6[linguist] + virtual/pkgconfig +" + +DOCS=( src/changelog.txt ) + +src_prepare() { + if use plugins ; then + rmdir ImageLounge/plugins || die + mv -v ../${PLUGIN_PKG} ImageLounge/plugins || die + fi + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DQT_VERSION_MAJOR=6 + -DENABLE_CODE_COV=OFF + -DUSE_SYSTEM_QUAZIP=ON + -DENABLE_TRANSLATIONS=ON + -DENABLE_OPENCV=$(usex opencv) + -DENABLE_PLUGINS=$(usex plugins) + -DENABLE_RAW=$(usex raw) + -DENABLE_TESTING=$(usex test) + -DENABLE_TIFF=$(usex tiff) + -DENABLE_QUAZIP=$(usex zip) + ) + cmake_src_configure +} + +src_test() { + cmake_build core_tests + cmake_src_test +}