public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/qr-code-generator/
Date: Wed, 09 Jul 2025 11:01:02 +0000 (UTC)	[thread overview]
Message-ID: <1752058413.030b7369840a4324938b13c0c10b135d77b5d74e.dlan@gentoo> (raw)

commit:     030b7369840a4324938b13c0c10b135d77b5d74e
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Tue Jul  8 20:36:26 2025 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Jul  9 10:53:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=030b7369

dev-libs/qr-code-generator: Update to -cmake3, set SLOT

The library ships a library with a soversion, which warrants being
slotted. Update to -cmake3 while at it.

Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-libs/qr-code-generator/Manifest                |  1 +
 .../qr-code-generator-1.8.0-r1.ebuild              | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-libs/qr-code-generator/Manifest b/dev-libs/qr-code-generator/Manifest
index 488e61001477..16c0aae3a642 100644
--- a/dev-libs/qr-code-generator/Manifest
+++ b/dev-libs/qr-code-generator/Manifest
@@ -1,2 +1,3 @@
+DIST qr-code-generator-1.8.0-cmake3.tar.gz 5719 BLAKE2B 3c8dfcd52813688c59d33e12c8226f98a10884ce2d94114958822b41a74ef54b75a725666424024bd2a54608b86d13c1063e19450ecadef787a45f6e9bd17210 SHA512 3dad9f19ea412049881e3a2d7f9f561b15ea81b3829fa295be6b67007d620ff29f7415d96c0781e58b7342af3fa4bae1c2ecbf3a8e599b9091edb79f6f2904be
 DIST qr-code-generator-1.8.0.tar.gz 193288 BLAKE2B 2e511baf35fbfdb71ad5e2dc91c1400a113eb9bce51afa022c34b7ad7d3c9be4a862e2caaef89f517fbbf29879223fb078c88fdec27d6a876126c798ac6772c6 SHA512 0cdf0873e71aed124fc7357da86fb26f23fd26432f94c9752fa5a044085b26e5aece2115134d0e50213ff24be7c55818e7dec31205a68751065bc82ab0c2c6ac
 DIST qr-code-generator-cmake-1.8.0.tar.gz 5573 BLAKE2B 206e88a0a2b9c069f5b9ebe78cb570c141ee12ea16c2bea0635b054ebb05c78654175e8391d744cc66bd00326d255acd96e25079d398cbb44569597fcf9797a5 SHA512 cd7da1c5cbb92ad25ee4c4cc820216628f2943268f884acc6c67ee6f74e943c639b74ec05470b6497f606594b5c6544b1ac9ab98d5b2d5196c0f7c627a4ce06e

diff --git a/dev-libs/qr-code-generator/qr-code-generator-1.8.0-r1.ebuild b/dev-libs/qr-code-generator/qr-code-generator-1.8.0-r1.ebuild
new file mode 100644
index 000000000000..f7c8e2c9775a
--- /dev/null
+++ b/dev-libs/qr-code-generator/qr-code-generator-1.8.0-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="QR Code Generator Library in Multiple Languages"
+HOMEPAGE="
+	https://github.com/EasyCoding/qrcodegen-cmake
+	https://github.com/nayuki/QR-Code-generator
+"
+CMAKE_PV="${PV}-cmake3"
+SRC_URI="
+	https://github.com/EasyCoding/qrcodegen-cmake/archive/v${CMAKE_PV}.tar.gz -> qr-code-generator-${CMAKE_PV}.tar.gz
+	https://github.com/nayuki/QR-Code-generator/archive/v${PV}.tar.gz -> ${P}.tar.gz
+"
+S="${WORKDIR}/QR-Code-generator-${PV}"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_prepare() {
+	# Move the CMake files into the project root.
+	mv ../qrcodegen-cmake-${CMAKE_PV}/* . || die
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_TESTS=$(usex test)
+	)
+
+	cmake_src_configure
+}


             reply	other threads:[~2025-07-09 11:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-09 11:01 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-23 19:29 [gentoo-commits] repo/gentoo:master commit in: dev-libs/qr-code-generator/ Arthur Zamarin
2025-08-18 10:27 WANG Xuerui
2025-05-24  2:22 Sam James
2024-04-05  5:16 Arthur Zamarin
2024-01-31  7:18 Joonas Niilola
2023-11-24 15:52 Jimi Huotari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1752058413.030b7369840a4324938b13c0c10b135d77b5d74e.dlan@gentoo \
    --to=dlan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox