diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-11 17:44:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-11 17:44:39 +0000 |
commit | 3b4acc0bc0b77136b371d8a3119066f80f221efe (patch) | |
tree | 783e83143e3a293f008138b22980d2351aaf60a5 /games-emulation/nestopia/nestopia-1.52.0.ebuild | |
parent | df26c7469c1f2af2e643d43e2e32a6c9142e4885 (diff) |
gentoo auto-resync : 11:01:2023 - 17:44:39
Diffstat (limited to 'games-emulation/nestopia/nestopia-1.52.0.ebuild')
-rw-r--r-- | games-emulation/nestopia/nestopia-1.52.0.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/games-emulation/nestopia/nestopia-1.52.0.ebuild b/games-emulation/nestopia/nestopia-1.52.0.ebuild new file mode 100644 index 000000000000..646a1b125a96 --- /dev/null +++ b/games-emulation/nestopia/nestopia-1.52.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic xdg + +DESCRIPTION="Portable Nintendo Entertainment System emulator written in C++" +HOMEPAGE="http://0ldsk00l.ca/nestopia/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/0ldsk00l/nestopia.git" +else + SRC_URI="https://github.com/0ldsk00l/nestopia/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" +IUSE="doc" + +RDEPEND=" + app-arch/libarchive:= + media-libs/libglvnd + media-libs/libsdl2[joystick,sound] + sys-libs/zlib:= + x11-libs/fltk:1[opengl]" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/autoconf-archive + virtual/pkgconfig" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # silence the narrowing warnings on clang (#830469) + append-cxxflags -Wno-narrowing + + econf $(use_enable doc) +} |