gentoo-ebuilds/media-gfx/apngasm/apngasm-3.1.10-r1.ebuild
Michał Górny 93b8ec20c5
media-*/*: update for virtual/zlib
Update done using:

```
git grep -l sys-libs/zlib media-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g
git diff --name-only | xargs copybump
git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead
pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error
```

Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-11-04 09:10:32 +01:00

41 lines
782 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="create an APNG from multiple PNG files"
HOMEPAGE="https://github.com/apngasm/apngasm"
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-libs/boost:=
media-libs/libpng:0=
virtual/zlib:=
"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-3.1.10-static.patch"
"${FILESDIR}/${PN}-3.1.10-boost-1.89.patch"
)
src_prepare() {
sed -i -e 's|man/man1|share/man/man1|g' cli/CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DLIB_INSTALL_DIR=$(get_libdir)
-DJAVA=OFF
-DRUBY=OFF
)
cmake_src_configure
}