diff options
author | Jimi Huotari <chiitoo@gentoo.org> | 2023-11-22 18:09:38 +0200 |
---|---|---|
committer | Jimi Huotari <chiitoo@gentoo.org> | 2023-11-24 17:51:42 +0200 |
commit | 59c510ba99c2a2ced71681793d39f2109ebd63f1 (patch) | |
tree | 8e40e9d2ef3379d1d92ee02b66f142b6a3591d75 /dev-libs/qr-code-generator | |
parent | dev-python/xxhash: Stabilize 3.4.1 arm64, #918387 (diff) | |
download | gentoo-59c510ba99c2a2ced71681793d39f2109ebd63f1.tar.gz gentoo-59c510ba99c2a2ced71681793d39f2109ebd63f1.tar.bz2 gentoo-59c510ba99c2a2ced71681793d39f2109ebd63f1.zip |
dev-libs/qr-code-generator: new package, add 1.8.0
Dependency of '>=media-video/obs-studio-30.0.0[websocket]'.
Combines two upstreams with source code from one, and the
CMake files from the other.
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'dev-libs/qr-code-generator')
-rw-r--r-- | dev-libs/qr-code-generator/Manifest | 2 | ||||
-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, 46 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..488e61001477 --- /dev/null +++ b/dev-libs/qr-code-generator/Manifest @@ -0,0 +1,2 @@ +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/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 +} |