summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-02-20 23:30:12 +0100
committerDavid Seifert <soap@gentoo.org>2021-02-20 23:30:12 +0100
commit03626bb5462ec1b661118284e49a50f051c0e351 (patch)
treec38c1b9fc9eeee48b460f47a498bd7d5ff0b67f5 /games-emulation/nestopia
parentgames-emulation/nestopia: Version bump to 1.50 (diff)
downloadgentoo-03626bb5462ec1b661118284e49a50f051c0e351.tar.gz
gentoo-03626bb5462ec1b661118284e49a50f051c0e351.tar.bz2
gentoo-03626bb5462ec1b661118284e49a50f051c0e351.zip
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 <soap@gentoo.org>
Diffstat (limited to 'games-emulation/nestopia')
-rw-r--r--games-emulation/nestopia/nestopia-9999.ebuild42
1 files changed, 14 insertions, 28 deletions
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)
}