1 |
commit: d16edd623bb5f321e45d33b9cb803fc0874cb9cc |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 28 07:20:20 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 28 09:08:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16edd62 |
7 |
|
8 |
media-gfx/qrencode: Bump to 4.1.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
media-gfx/qrencode/Manifest | 1 + |
13 |
media-gfx/qrencode/qrencode-4.1.1.ebuild | 38 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/media-gfx/qrencode/Manifest b/media-gfx/qrencode/Manifest |
17 |
index 81f3a0d3904..22d6e0cf606 100644 |
18 |
--- a/media-gfx/qrencode/Manifest |
19 |
+++ b/media-gfx/qrencode/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST qrencode-4.0.2.tar.bz2 430309 BLAKE2B 1f68d2a921ba60df3a6c7381d7886b27a2876f90771d78c12d5d0fed2d6a4edb4d7da5985e2b244406a0cf3434b351fbec8b12c5944c365078ef2b227edb0acd SHA512 2429c7938e32eacbaf327c029c7745ba33259f879661a8b6470cc617c780daf5bd1d5689599151df62e84badd2568eccab6c12f157331e512ab24a3899e0f002 |
22 |
DIST qrencode-4.1.0.tar.bz2 449040 BLAKE2B cff4e950a436e2bb3a73543ce11639861426840db6861eefd3d641dcb14cd6b4be7c2045468a002f7599a89aa71c77f7dfc971dd726ecce0d524f9b792ea6e91 SHA512 50ccc65f748cc1007dccd8d0eee0063b870c3e8a5fe5b8b2a813881151a86748a36844bcfa6ab08c82674b80e9b5bcbfd564ade92562cc49e01cbfa45376b4a9 |
23 |
+DIST qrencode-4.1.1.tar.bz2 461562 BLAKE2B ae3abb4a162518c0204d09c9df7434fb348e24c20e790a261841220b0a7165168137d5acbdbc53e40558724eac2e1e21786f11013f384b545d56a1c9caaff61d SHA512 981b3242c213e1b40ac88711912dd8c27ea11f3437d1a04b6b226499a6e991a8f0b3b10f818bcc104812192a1dac4ce05f16ecd847a50cb03d4859b84bad89b8 |
24 |
|
25 |
diff --git a/media-gfx/qrencode/qrencode-4.1.1.ebuild b/media-gfx/qrencode/qrencode-4.1.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..0872a133627 |
28 |
--- /dev/null |
29 |
+++ b/media-gfx/qrencode/qrencode-4.1.1.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+DESCRIPTION="C library for encoding data in a QR Code symbol" |
37 |
+HOMEPAGE="https://fukuchi.org/works/qrencode/" |
38 |
+SRC_URI="https://fukuchi.org/works/${PN}/${P}.tar.bz2" |
39 |
+ |
40 |
+LICENSE="LGPL-2" |
41 |
+SLOT="0/4" |
42 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
43 |
+IUSE="test" |
44 |
+RESTRICT="!test? ( test )" |
45 |
+ |
46 |
+RDEPEND="media-libs/libpng:0=" |
47 |
+DEPEND="${RDEPEND} |
48 |
+ virtual/pkgconfig" |
49 |
+ |
50 |
+src_configure() { |
51 |
+ local myconf=( |
52 |
+ $(use_with test tests) |
53 |
+ # TODO: figure out how to make SDL check fail as the SDL test |
54 |
+ # program is not useful |
55 |
+ ) |
56 |
+ |
57 |
+ econf "${myconf[@]}" |
58 |
+} |
59 |
+ |
60 |
+src_test() { |
61 |
+ cd tests || die |
62 |
+ ./test_basic.sh || die |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ default |
67 |
+ find "${D}" -name '*.la' -delete || die |
68 |
+} |