summaryrefslogtreecommitdiff
path: root/media-gfx/qrencode/qrencode-4.1.1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /media-gfx/qrencode/qrencode-4.1.1.ebuild
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'media-gfx/qrencode/qrencode-4.1.1.ebuild')
-rw-r--r--media-gfx/qrencode/qrencode-4.1.1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/media-gfx/qrencode/qrencode-4.1.1.ebuild b/media-gfx/qrencode/qrencode-4.1.1.ebuild
index e30ccba4b199..147bb0f0b5d4 100644
--- a/media-gfx/qrencode/qrencode-4.1.1.ebuild
+++ b/media-gfx/qrencode/qrencode-4.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -10,15 +10,17 @@ 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 ~riscv sparc x86 ~x64-macos"
-IUSE="test"
+IUSE="png test"
RESTRICT="!test? ( test )"
-RDEPEND="media-libs/libpng:0="
+RDEPEND="
+ png? ( media-libs/libpng:0= )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_configure() {
local myconf=(
+ $(use_with png)
$(use_with test tests)
# TODO: figure out how to make SDL check fail as the SDL test
# program is not useful