diff options
Diffstat (limited to 'dev-libs/qr-code-generator')
-rw-r--r-- | dev-libs/qr-code-generator/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/qr-code-generator/metadata.xml | 16 | ||||
-rw-r--r-- | dev-libs/qr-code-generator/qr-code-generator-1.8.0.ebuild | 28 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/qr-code-generator/Manifest b/dev-libs/qr-code-generator/Manifest new file mode 100644 index 000000000000..430b93181c57 --- /dev/null +++ b/dev-libs/qr-code-generator/Manifest @@ -0,0 +1,4 @@ +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 +EBUILD qr-code-generator-1.8.0.ebuild 714 BLAKE2B 1a4ada25ad86502d3d3762b1c0f8be9f3d7eaf088d4b794da365f29873ba60cae63e5095e95e0f4a98f37fcb5d195d46a665dd255cc6d701aa74b04bfaf9cac6 SHA512 a04660a3dde28bfbea9c66e3b76f866b9278eab27519ebe8ad32abfb27eec0bfe5251f39f3d50fd6d5e1a96668ee90256744db1715e5beaa42d575fa1b946908 +MISC metadata.xml 602 BLAKE2B b64d0fe7a660ae29b3cafae032139ff5f5e2a51651f8091bb48b36f33a8e627b14e7fbb223243f71ebb0b4e1cbf4489a5e6df9307f3cac61b73356ce731ac041 SHA512 eb0abf9d8095d705be741e9f1b57d9d3a9fb25b26b671533c8c30297b876b1bea9738c6e256b156eb3387d3b6eaea9cee331f35bd662904c2d1d848445f88b6b diff --git a/dev-libs/qr-code-generator/metadata.xml b/dev-libs/qr-code-generator/metadata.xml new file mode 100644 index 000000000000..5d36bf5a3c0d --- /dev/null +++ b/dev-libs/qr-code-generator/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chiitoo@gentoo.org</email> + <description>Primary maintainer</description> + </maintainer> + <longdescription> + Package combining the nayuki/QR-Code-generator upstream with the + CMake files from EasyCoding/qrcodegen-cmake upstream. + </longdescription> + <upstream> + <remote-id type="github">EasyCoding/qrcodegen-cmake</remote-id> + <remote-id type="github">nayuki/QR-Code-generator</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/qr-code-generator/qr-code-generator-1.8.0.ebuild b/dev-libs/qr-code-generator/qr-code-generator-1.8.0.ebuild new file mode 100644 index 000000000000..61a40ffe65b0 --- /dev/null +++ b/dev-libs/qr-code-generator/qr-code-generator-1.8.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 2023 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 +" +SRC_URI=" + https://github.com/EasyCoding/qrcodegen-cmake/archive/v${PV}-cmake2.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" +KEYWORDS="~amd64" + +src_prepare() { + # Move the CMake files into the project root. + mv ../qrcodegen-cmake-${PV}-cmake2/* . || die + + cmake_src_prepare +} |