From e1b5c2dede8d858d5786b4d5daac7cb683d25f3c Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Sun, 11 Aug 2024 21:35:29 +0300 Subject: media-libs/libspng: new package, add 0.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alfred Wingate Signed-off-by: Michał Górny --- media-libs/libspng/Manifest | 1 + media-libs/libspng/libspng-0.7.4.ebuild | 37 +++++++++++++++++++++++++++++++++ media-libs/libspng/metadata.xml | 15 +++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 media-libs/libspng/Manifest create mode 100644 media-libs/libspng/libspng-0.7.4.ebuild create mode 100644 media-libs/libspng/metadata.xml (limited to 'media-libs/libspng') diff --git a/media-libs/libspng/Manifest b/media-libs/libspng/Manifest new file mode 100644 index 000000000000..3374526c3ee2 --- /dev/null +++ b/media-libs/libspng/Manifest @@ -0,0 +1 @@ +DIST libspng-0.7.4.tar.gz 159230 BLAKE2B 3deaf6b1687fc6951aa4ccc844d1716e37ecaac3954894c3e601bc702ef184e7b7a553498afce79ae033a035b5d9eb19d0dea74fd00bed9218094cb4b583b3ce SHA512 cd729653599ed97f80d19f3048c1b3bc2ac16f922b3465804b1913bc45d9fc8b28b56bc2121fda36e9d3dcdd12612cced5383313b722a5342b613f8781879f1a diff --git a/media-libs/libspng/libspng-0.7.4.ebuild b/media-libs/libspng/libspng-0.7.4.ebuild new file mode 100644 index 000000000000..71dd3ff3fc37 --- /dev/null +++ b/media-libs/libspng/libspng-0.7.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Simple, modern libpng alternative" +HOMEPAGE="https://github.com/randy408/libspng" +SRC_URI=" + https://github.com/randy408/libspng/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + sys-libs/zlib +" +DEPEND=" + ${RDEPEND} + test? ( + >=media-libs/libpng-1.6.0 + ) +" + +src_configure() { + local emesonargs=( + $(meson_use test dev_build) + ) + + meson_src_configure +} diff --git a/media-libs/libspng/metadata.xml b/media-libs/libspng/metadata.xml new file mode 100644 index 000000000000..f6a0ccb4a893 --- /dev/null +++ b/media-libs/libspng/metadata.xml @@ -0,0 +1,15 @@ + + + + + parona@protonmail.com + Alfred Wingate + + + proxy-maint@gentoo.org + Proxy Maintainers + + + randy408/libspng + + -- cgit v1.2.3-65-gdbad