diff options
author | Alfred Wingate <parona@protonmail.com> | 2024-08-11 21:35:29 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-08-17 21:16:20 +0200 |
commit | e1b5c2dede8d858d5786b4d5daac7cb683d25f3c (patch) | |
tree | 3462e53fdc64a2b0de01dd224af28eb9c23449a4 /media-libs/libspng | |
parent | net-libs/enet: add 1.3.18 (diff) | |
download | gentoo-e1b5c2dede8d858d5786b4d5daac7cb683d25f3c.tar.gz gentoo-e1b5c2dede8d858d5786b4d5daac7cb683d25f3c.tar.bz2 gentoo-e1b5c2dede8d858d5786b4d5daac7cb683d25f3c.zip |
media-libs/libspng: new package, add 0.7.4
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-libs/libspng')
-rw-r--r-- | media-libs/libspng/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libspng/libspng-0.7.4.ebuild | 37 | ||||
-rw-r--r-- | media-libs/libspng/metadata.xml | 15 |
3 files changed, 53 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>parona@protonmail.com</email> + <name>Alfred Wingate</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">randy408/libspng</remote-id> + </upstream> +</pkgmetadata> |