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 9CF9A1582EF for ; Wed, 05 Mar 2025 11:41:11 +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 88AB0342FA1 for ; Wed, 05 Mar 2025 11:41:11 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 96A22110473; Wed, 05 Mar 2025 11:40:46 +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 8FA5C110473 for ; Wed, 05 Mar 2025 11:40:46 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4A043343007 for ; Wed, 05 Mar 2025 11:40:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A8AD2893 for ; Wed, 05 Mar 2025 11:40:42 +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: <1741174715.e3175e7d5bf6f5c0f088c602c3ff645aabfba70d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/zint/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/zint/Manifest media-libs/zint/zint-2.15.0.ebuild X-VCS-Directories: media-libs/zint/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e3175e7d5bf6f5c0f088c602c3ff645aabfba70d X-VCS-Branch: master Date: Wed, 05 Mar 2025 11:40:42 +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: b3a70778-04c2-4280-9d2d-237d86c6d94c X-Archives-Hash: 7714f833feb30f6ba273ce5ceca589b0 commit: e3175e7d5bf6f5c0f088c602c3ff645aabfba70d Author: Alfred Wingate protonmail com> AuthorDate: Fri Feb 28 15:42:33 2025 +0000 Commit: Sam James gentoo org> CommitDate: Wed Mar 5 11:38:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3175e7d media-libs/zint: add 2.15.0 Signed-off-by: Alfred Wingate protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/40818 Signed-off-by: Sam James gentoo.org> media-libs/zint/Manifest | 1 + media-libs/zint/zint-2.15.0.ebuild | 58 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/media-libs/zint/Manifest b/media-libs/zint/Manifest index de2859089c15..0da97c660c1e 100644 --- a/media-libs/zint/Manifest +++ b/media-libs/zint/Manifest @@ -1 +1,2 @@ DIST zint-2.14.0-src.tar.gz 6261059 BLAKE2B 77bed36f42536fa96f1a69206c221d6f5b09eb25008bfe5e389b3f713eefc0299cf5dbb76f98037bb2af01bf21d6dd0c471ccc24876f7be0829e5d331822dde5 SHA512 ef6b7eb32f7df94ad277877741fbfd0e4f3e534107eeb2938425c51a4e83002a87571dbabe0d6449c41bd42978be575a69955105d6323a0b41b58f7bb8e7ab97 +DIST zint-2.15.0-src.tar.gz 6355115 BLAKE2B 15fd6521a504250f6c53e00790e162e1d2ad607dd9162288052b64eb695f62006ef8bb4f4024dacfd0fcfd50c66b0dd7826de2cdd2f7a86e3c522d81ec4a82f9 SHA512 7b5f44837a3a16637be5871ce848747ef520d623d86c88602c4ba8f0fe76705836ccee67a83e7ad0544e56b041dadbe88c5ed0b3219946be924213be18d74e2a diff --git a/media-libs/zint/zint-2.15.0.ebuild b/media-libs/zint/zint-2.15.0.ebuild new file mode 100644 index 000000000000..543ef8d6fd42 --- /dev/null +++ b/media-libs/zint/zint-2.15.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake desktop xdg + +DESCRIPTION="Barcode encoding library supporting over 50 symbologies" +HOMEPAGE="https://www.zint.org.uk/" +SRC_URI=" + https://downloads.sourceforge.net/${PN}/${P}-src.tar.gz +" +S="${WORKDIR}/${P}-src" + +# see LICENSE +LICENSE="BSD GPL-3+" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64" +IUSE="gui png test" +RESTRICT="!test? ( test )" + +DEPEND=" + gui? ( + dev-qt/qtbase:6[gui,widgets] + dev-qt/qtsvg:6 + dev-qt/qttools:6[widgets] + ) + png? ( + media-libs/libpng:= + ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DZINT_FRONTEND=ON + -DZINT_QT6=$(usex gui) + -DZINT_TEST=$(usex test) + -DZINT_UNINSTALL=OFF + -DZINT_USE_PNG=$(usex png) + -DZINT_USE_QT=$(usex gui) + ) + cmake_src_configure +} + +src_test() { + local -x QT_QPA_PLATFORM=offscreen + cmake_src_test -j1 # parallel tests cause failures to each other +} + +src_install() { + cmake_src_install + einstalldocs + if use gui; then + domenu zint-qt.desktop + doicon zint-qt.png + fi +}