From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4E5F5138334 for ; Tue, 5 Jun 2018 15:52:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11C47E0930; Tue, 5 Jun 2018 15:52:35 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B78AFE0930 for ; Tue, 5 Jun 2018 15:52:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A9090335C86 for ; Tue, 5 Jun 2018 15:52:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C47BC2AE for ; Tue, 5 Jun 2018 15:52:29 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1528213944.e0b2ded8695ba9c9d1e9a1c1b5d35337390db278.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/qrencode/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/qrencode/Manifest media-gfx/qrencode/qrencode-4.0.1.ebuild X-VCS-Directories: media-gfx/qrencode/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e0b2ded8695ba9c9d1e9a1c1b5d35337390db278 X-VCS-Branch: master Date: Tue, 5 Jun 2018 15:52:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c5fa179c-bb69-453c-934a-d78173e74cd1 X-Archives-Hash: 40efae53405bb20acb6dc4b22fe20f24 commit: e0b2ded8695ba9c9d1e9a1c1b5d35337390db278 Author: Michał Górny gentoo org> AuthorDate: Tue Jun 5 15:47:35 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jun 5 15:52:24 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0b2ded8 media-gfx/qrencode: Bump to 4.0.1 media-gfx/qrencode/Manifest | 1 + media-gfx/qrencode/qrencode-4.0.1.ebuild | 56 ++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/media-gfx/qrencode/Manifest b/media-gfx/qrencode/Manifest index 15ca20000cf..37ade00b7c6 100644 --- a/media-gfx/qrencode/Manifest +++ b/media-gfx/qrencode/Manifest @@ -1,2 +1,3 @@ DIST qrencode-3.4.4.tar.bz2 369136 BLAKE2B 19e9a2089c6c22284da61dda57d1150573b72833c3e9d96d1aa8742a69cb7495b3c39b8162b0dd268e94412bbc618d1358dcfd969f12c0b3e9701414955aed46 SHA512 4835d462542e37e5460635e0dd84e291ff0976a6aec61c63f9950c1e60b446bc913220726e14f6379322bfd32ccd9bcd5fceed9ca10cb95343c952d8472b983d DIST qrencode-4.0.0.tar.bz2 429244 BLAKE2B 45fe8afe602e7ff20b750b5a0de8a3b52b61340ebf0bbcad2ae00e4a0ff2976077b5add4e2c1358d4ca852f79f4cdb27d9dab8c726bf72ff53964661335b5a0a SHA512 d4140d77fce3a1c39735cc3e98e3a19018daaa08c870644f71727d27ffb17711e76b4ed4e51718d90d812e78df75fe575617580ea9b1bf210438f8fd1734204e +DIST qrencode-4.0.1.tar.bz2 430198 BLAKE2B 40c374c4619a9556fcd921b913cbc80d18d89683aa2be7316efd51561491df1d43fa0d386bc5a6fa7e7534be4bf645e2912004bba24d9c97840a6128c02d6033 SHA512 ee1d43f2f791757a7dd0c38364d0661daf1784a1bdd2c7a7fd1200d1cdde249fd9fcad4c8d2fa919db14e6f8e464badae88ec01ed646c693eddea69c97fcf9a0 diff --git a/media-gfx/qrencode/qrencode-4.0.1.ebuild b/media-gfx/qrencode/qrencode-4.0.1.ebuild new file mode 100644 index 00000000000..2a5a96d032f --- /dev/null +++ b/media-gfx/qrencode/qrencode-4.0.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="C library for encoding data in a QR Code symbol" +HOMEPAGE="https://fukuchi.org/works/qrencode/" +SRC_URI="https://fukuchi.org/works/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0/4" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="test" + +RDEPEND="media-libs/libpng:0=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + local myconf=( + $(use_with test tests) + # TODO: figure out how to make SDL check fail as the SDL test + # program is not useful + ) + + econf "${myconf[@]}" +} + +src_test() { + # from upstream's test_basic.sh, which they failed to include + # in dist tarball + local t tests=( + test_bitstream + test_estimatebit + test_qrencode + test_qrinput + test_qrspec + test_rs + test_split + test_mask + test_mqrspec + test_mmask + test_monkey + ) + + cd tests || die + for t in "${tests[@]}"; do + einfo "Running test: ${t} ..." + "./${t}" || die "Test failed: ${t}" + done +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +}