Install this version:
emerge -a =media-libs/libspng-0.7.4
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-libs/libspng-0.7.4
Or alternatively:
emerge --autounmask-write -a =media-libs/libspng-0.7.4
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.7.4 | 8 | ~amd64 | 0 |
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Simple, modern libpng alternative."
HOMEPAGE="https://libspng.org"
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 )"
DEPEND="virtual/zlib
test? ( media-libs/libpng )"
RDEPEND="${DEPEND}"
src_configure() {
local emesonargs=(
"$(meson_use amd64 enable_opt)"
"$(meson_use test dev_build)"
)
meson_src_configure
}
Manage flags for this package:
euse -i <flag> -p media-libs/libspng |
euse -E <flag> -p media-libs/libspng |
euse -D <flag> -p media-libs/libspng
virtual/zlib test? ( media-libs/libpng )
virtual/zlib test? ( media-libs/libpng )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libspng-0.7.4.tar.gz | 159230 bytes | https://github.com/randy408/libspng/archive/refs/tags/v0.7.4.tar.gz |