From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DE6E8139086 for ; Thu, 5 Jan 2017 13:30:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAB6EE0CAD; Thu, 5 Jan 2017 13:30:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89CEEE0CC8 for ; Thu, 5 Jan 2017 13:30:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7E17E3411D7 for ; Thu, 5 Jan 2017 13:30:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AFCDA261B for ; Thu, 5 Jan 2017 13:30:25 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1483623003.7ef4424f16e54d7c4b72d88b8c7bbc27d1394005.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/nestopia/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/nestopia/Manifest games-emulation/nestopia/metadata.xml games-emulation/nestopia/nestopia-1.47_p20170105.ebuild X-VCS-Directories: games-emulation/nestopia/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 7ef4424f16e54d7c4b72d88b8c7bbc27d1394005 X-VCS-Branch: master Date: Thu, 5 Jan 2017 13:30:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5376537b-4e42-4d22-b799-b5ad7fa93e8a X-Archives-Hash: 58dd71a00da5d40bb9e077e8429273c2 commit: 7ef4424f16e54d7c4b72d88b8c7bbc27d1394005 Author: David Seifert gentoo org> AuthorDate: Thu Jan 5 13:09:45 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Thu Jan 5 13:30:03 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ef4424f games-emulation/nestopia: Add new snapshot Package-Manager: Portage-2.3.3, Repoman-2.3.1 games-emulation/nestopia/Manifest | 1 + games-emulation/nestopia/metadata.xml | 5 +- .../nestopia/nestopia-1.47_p20170105.ebuild | 54 ++++++++++++++++++++++ 3 files changed, 59 insertions(+), 1 deletion(-) diff --git a/games-emulation/nestopia/Manifest b/games-emulation/nestopia/Manifest index a13c7e2..bd71c59 100644 --- a/games-emulation/nestopia/Manifest +++ b/games-emulation/nestopia/Manifest @@ -1,2 +1,3 @@ DIST nestopia-1.46.2.tgz 1223407 SHA256 4a5065726ad9e7a120a2c6aa39b9c0904090119998a4d690d4deb5e374118fc0 SHA512 3aa87e98aa24b71e5feac5ffe8229e97d407fc0b14567b0ddbe7cc1eaca08a08f435a6fe294fbbd7066054befdfd27602db7c3c0577246b0e8addfe296404a23 WHIRLPOOL 25c43194797e5edca3abc5cb75dba126d9d246e9ab12270521e7fe6c13427b371ba9f92a71ed557271f159711411286b5ac5ab3fe06144760320531c33bf0c02 DIST nestopia-1.47.tgz 1306183 SHA256 84624d30ab05d609db2734db0065616b268f79d4aa35f1cd90cb35ee8d96be0c SHA512 27155a82ca9631623c4800110371ec374de2c3d649d3274c9495b58ddede36bfb4a6f52e39552d55e0e90795cd779c3331c488c557aba6b738998e19f1d3bf72 WHIRLPOOL 4f30b66e1eb229419fa4862db2b3828cb983dcba9f0cac531f84e45a885db2bfdbb24cc33a87729f524922c42aa761d0294e53c5ffa00540dd20765a79e08c41 +DIST nestopia-1.47_p20170105.tar.gz 1283456 SHA256 621b5f686d98b81ce9a720be40083b80a76d2ebae0089556cf5dc7df2b26d4f4 SHA512 58d1a932a6b90589c66503b2013b1a8162072e77e0416851a1430fa146e7fd85ff7363b70292c69d4c4513e3750aa53436a312c0240a843e42fbb89b554e7a70 WHIRLPOOL 14b3bc921f0f57a8049a02b863d3a25f017f31668875f02ec4472f877d248fdfd9c1325930b5138e17bf24adc92c76fdf399abcb9deab4d1155572c5f774e942 diff --git a/games-emulation/nestopia/metadata.xml b/games-emulation/nestopia/metadata.xml index d64dbba..6c6cefd 100644 --- a/games-emulation/nestopia/metadata.xml +++ b/games-emulation/nestopia/metadata.xml @@ -6,6 +6,9 @@ Gentoo Games Project - nestopiaue + rdanbrook/nestopia + + Enable GUI + diff --git a/games-emulation/nestopia/nestopia-1.47_p20170105.ebuild b/games-emulation/nestopia/nestopia-1.47_p20170105.ebuild new file mode 100644 index 00000000..9e91e2b --- /dev/null +++ b/games-emulation/nestopia/nestopia-1.47_p20170105.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils gnome2-utils + +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" +else + inherit vcs-snapshot + SRC_URI="https://github.com/rdanbrook/${PN}/archive/d7fae2aff1a93eac997d2b480652a1d068a2b6cf.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2+" +SLOT="0" +IUSE="doc gui" + +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" + +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 +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}