diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-21 00:11:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-21 00:11:18 +0100 |
commit | bed3b604e16fc6075e29f1af8d47507a07035bd3 (patch) | |
tree | 1f5d57fd86e90db37f62afb463f4b4c08a2b6eda /media-gfx/qrencode | |
parent | d6ca4e4f90cb75c323b5988eefa96a04c0d36908 (diff) |
gentoo auto-resync : 21:06:2024 - 00:11:18
Diffstat (limited to 'media-gfx/qrencode')
-rw-r--r-- | media-gfx/qrencode/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/qrencode/qrencode-4.1.1-r1.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/media-gfx/qrencode/Manifest b/media-gfx/qrencode/Manifest index 40b01217e06a..bca909326cbc 100644 --- a/media-gfx/qrencode/Manifest +++ b/media-gfx/qrencode/Manifest @@ -1,3 +1,4 @@ DIST qrencode-4.1.1.tar.bz2 461562 BLAKE2B ae3abb4a162518c0204d09c9df7434fb348e24c20e790a261841220b0a7165168137d5acbdbc53e40558724eac2e1e21786f11013f384b545d56a1c9caaff61d SHA512 981b3242c213e1b40ac88711912dd8c27ea11f3437d1a04b6b226499a6e991a8f0b3b10f818bcc104812192a1dac4ce05f16ecd847a50cb03d4859b84bad89b8 +EBUILD qrencode-4.1.1-r1.ebuild 1074 BLAKE2B 4b0c0dccffabce32d095705fc4e627b9b4ab021727db3849e3461912a73783b79b311b684cdcabad50cee47ede726d4b1a05b11fc5e9e07a520484d7be94f087 SHA512 6e5c75da2c5a17dd2a5ede6b98881ed5fcf2232a7dd0f578e9d11eb1697d6eaa0cb49708ac08915d04474986f513fa9f3e6fd301204a40d425b347f9a4b044e6 EBUILD qrencode-4.1.1.ebuild 875 BLAKE2B 26e222237d7b18426ad57d67ddfbd8b0b76116f6607a06c6f7a639f34e2d2536994de7e4387b0c8987d208caf9869cbf1c5447be02267bacedf05d86ce9ca6b7 SHA512 05ab5537833fcb2529c56cb35369f1ff6b9dbdf513a48286cb30f07fe2d9d00426d66b1637123ceeb1efefe93698924fad0a77bcd196ea0a169019f7b79cb66d MISC metadata.xml 440 BLAKE2B 9f73217513f5128180c5e50f29f3e55399b728446d55332b9f80ac5dde854ca052b8f0e882fedc5a3c26f2a013f594023d708ce741fdd2660abc2233ac50c22c SHA512 46951797c3472c850d0572c644a11ba513ae8769f4c5e70f55f7af4c838d13320e16e83dc34d1cd7460f8ae295fe53eba0480d8601d0685a46ae6a19de056c67 diff --git a/media-gfx/qrencode/qrencode-4.1.1-r1.ebuild b/media-gfx/qrencode/qrencode-4.1.1-r1.ebuild new file mode 100644 index 000000000000..50397719faa4 --- /dev/null +++ b/media-gfx/qrencode/qrencode-4.1.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal + +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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="png test" +RESTRICT="!test? ( test )" + +RDEPEND="png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +multilib_src_configure() { + local myconf=( + $(multilib_native_with tools) + $(use_with png) + $(use_with test tests) + # TODO: figure out how to make SDL check fail as the SDL test + # program is not useful + ) + + ECONF_SOURCE="${S}" econf "${myconf[@]}" +} + +multilib_src_test() { + cp "${S}"/tests/test_basic.sh "${BUILD_DIR}"/tests || die + cd tests || die + ./test_basic.sh || die +} + +multilib_src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |