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