gentoo/games-emulation/nestopia/nestopia-1.53.2.ebuild
Michał Górny f42710561c
*/*: update the remaining packages for virtual/zlib
Update done using:

```
git grep -l sys-libs/zlib sys-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g
git grep -l virtual/zlib-ng sys-* | xargs sed -i -e s@virtual/zlib-ng@sys-libs/zlib-ng@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
```

Plus reverts in sys-libs/minizip-ng, sys-libs/zlib-ng and profiles.

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

43 lines
746 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools xdg
DESCRIPTION="Portable Nintendo Entertainment System emulator written in C++"
HOMEPAGE="http://0ldsk00l.ca/nestopia/"
SRC_URI="
https://github.com/0ldsk00l/nestopia/archive/refs/tags/${PV}.tar.gz
-> ${P}.tar.gz
"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="
app-arch/libarchive:=
media-libs/libepoxy
media-libs/libsamplerate
media-libs/libsdl2[joystick,sound]
virtual/zlib:=
>=x11-libs/fltk-1.4:1=[opengl]
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-build/autoconf-archive
virtual/pkgconfig
"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf $(use_enable doc)
}