From 03626bb5462ec1b661118284e49a50f051c0e351 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 20 Feb 2021 23:30:12 +0100 Subject: games-emulation/nestopia: Update live ebuild Closes: https://bugs.gentoo.org/771729 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: David Seifert --- games-emulation/nestopia/nestopia-9999.ebuild | 42 +++++++++------------------ 1 file changed, 14 insertions(+), 28 deletions(-) (limited to 'games-emulation') diff --git a/games-emulation/nestopia/nestopia-9999.ebuild b/games-emulation/nestopia/nestopia-9999.ebuild index 932f8edc7412..98f2f70517d9 100644 --- a/games-emulation/nestopia/nestopia-9999.ebuild +++ b/games-emulation/nestopia/nestopia-9999.ebuild @@ -1,53 +1,39 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils gnome2-utils +inherit autotools xdg DESCRIPTION="A 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/rdanbrook/nestopia.git" + EGIT_REPO_URI="https://github.com/0ldsk00l/nestopia.git" else - inherit vcs-snapshot - SRC_URI="https://github.com/rdanbrook/${PN}/archive/d7fae2aff1a93eac997d2b480652a1d068a2b6cf.tar.gz -> ${P}.tar.gz" + 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 gui" +IUSE="doc" RDEPEND=" app-arch/libarchive:= - media-libs/libao media-libs/libepoxy media-libs/libsdl2[sound,joystick,video] sys-libs/zlib - gui? ( x11-libs/gtk+:3 )" -DEPEND="${RDEPEND} - virtual/pkgconfig" + x11-libs/gtk+:3" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" -src_configure() { - local mycmakeargs=( - -DENABLE_GTK=$(usex gui) - -DENABLE_DOC=$(usex doc) - -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} - ) - cmake-utils_src_configure -} - -pkg_preinst() { - gnome2_icon_savelist +src_prepare() { + default + eautoreconf } -pkg_postinst() { - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update +src_configure() { + econf $(use_enable doc) } -- cgit v1.2.3-65-gdbad