aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Rui <vowstar@gmail.com>2023-11-02 17:13:30 +0800
committerHuang Rui <vowstar@gmail.com>2023-11-02 17:13:34 +0800
commitf3c8cfbd6c882d32f2ab353b9c9e1b4477a17cca (patch)
tree61bedf759613d686293dad7ec721c34e84961209 /dev-libs/qrcodegen
parentnet-misc/yt-dlg: update SRC_URI, fix QA (diff)
downloadguru-f3c8cfbd6c882d32f2ab353b9c9e1b4477a17cca.tar.gz
guru-f3c8cfbd6c882d32f2ab353b9c9e1b4477a17cca.tar.bz2
guru-f3c8cfbd6c882d32f2ab353b9c9e1b4477a17cca.zip
dev-libs/qrcodegen: add metadata.xml, fix QA
Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'dev-libs/qrcodegen')
-rw-r--r--dev-libs/qrcodegen/metadata.xml8
-rw-r--r--dev-libs/qrcodegen/qrcodegen-1.8.0.ebuild14
2 files changed, 14 insertions, 8 deletions
diff --git a/dev-libs/qrcodegen/metadata.xml b/dev-libs/qrcodegen/metadata.xml
new file mode 100644
index 000000000..a11f800c0
--- /dev/null
+++ b/dev-libs/qrcodegen/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">nayuki/QR-Code-generator</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-libs/qrcodegen/qrcodegen-1.8.0.ebuild b/dev-libs/qrcodegen/qrcodegen-1.8.0.ebuild
index fd75a52bc..c530ac695 100644
--- a/dev-libs/qrcodegen/qrcodegen-1.8.0.ebuild
+++ b/dev-libs/qrcodegen/qrcodegen-1.8.0.ebuild
@@ -5,16 +5,14 @@
EAPI=8
-DESCRIPTION="High-quality QR Code generator library in Java, TypeScript/JavaScript, Python, C++, C, Rust."
+DESCRIPTION="High-quality QR Code generator library"
HOMEPAGE="https://www.nayuki.io/page/qr-code-generator-library"
SRC_URI="https://github.com/nayuki/QR-Code-generator/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
-RDEPEND=""
DEPEND="${RDEPEND}
${PYTHON_DEPS}"
@@ -35,12 +33,12 @@ src_compile() {
src_install() {
pushd c
- emake DESTDIR=${D} install-header
- emake DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install-shared
+ emake DESTDIR="${D}" install-header
+ emake DESTDIR="${D}" LIBDIR="${D}"/usr/$(get_libdir) install-shared
popd
pushd cpp
- emake DESTDIR=${D} install-header
- emake DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install-shared
+ emake DESTDIR="${D}" install-header
+ emake DESTDIR="${D}" LIBDIR="${D}"/usr/$(get_libdir) install-shared
popd
}