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 0769C138332 for ; Fri, 26 Jan 2018 21:23:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 389C5E09F3; Fri, 26 Jan 2018 21:23:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 04A91E09F2 for ; Fri, 26 Jan 2018 21:23:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2264C335C33 for ; Fri, 26 Jan 2018 21:23:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DBECA1D2 for ; Fri, 26 Jan 2018 21:23:09 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1517001780.11d59ce716b33e5ec2c44fa2bb020fa7e2909cde.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/punes/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/punes/Manifest app-emulation/punes/metadata.xml app-emulation/punes/punes-0.102.ebuild X-VCS-Directories: app-emulation/punes/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 11d59ce716b33e5ec2c44fa2bb020fa7e2909cde X-VCS-Branch: master Date: Fri, 26 Jan 2018 21:23:09 +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: 1bf0669c-6555-4115-a5f6-b1e5f533549d X-Archives-Hash: 7f940e374bf70eda581a8e82bedad543 commit: 11d59ce716b33e5ec2c44fa2bb020fa7e2909cde Author: Azamat H. Hackimov gmail com> AuthorDate: Fri Jan 12 05:55:57 2018 +0000 Commit: Patrice Clement gentoo org> CommitDate: Fri Jan 26 21:23:00 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11d59ce7 app-emulation/punes: new package. puNES is Nintendo Entertainment System emulator. Package-Manager: Portage-2.3.13, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/6838 app-emulation/punes/Manifest | 1 + app-emulation/punes/metadata.xml | 21 ++++++++++++++ app-emulation/punes/punes-0.102.ebuild | 53 ++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) diff --git a/app-emulation/punes/Manifest b/app-emulation/punes/Manifest new file mode 100644 index 00000000000..d9771043899 --- /dev/null +++ b/app-emulation/punes/Manifest @@ -0,0 +1 @@ +DIST punes-0.102.tar.gz 4670534 BLAKE2B 04576110e4fcd9aeaa3dfb6812ab7a21305200c82651be00defcb59b91374b155b279818f2e09d217841aa8567c41e06067252538fb68b7b907d5ab29b02c678 SHA512 dff95b25f64ed03060b6dd187d7a283acfddb6bea4168df5be4d309bd6aabdcaa5d0ea0312d0824205bf134cd0ddabf014e82a81c8a901a59258475ec24bd394 diff --git a/app-emulation/punes/metadata.xml b/app-emulation/punes/metadata.xml new file mode 100644 index 00000000000..c8d6de05051 --- /dev/null +++ b/app-emulation/punes/metadata.xml @@ -0,0 +1,21 @@ + + + + + azamat.hackimov@gmail.com + Azamat H. Hackimov + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Nintendo Entertainment System (NES) emulator + + + Add support for Nvidia CG Toolkit + + + punesemu/puNES + + diff --git a/app-emulation/punes/punes-0.102.ebuild b/app-emulation/punes/punes-0.102.ebuild new file mode 100644 index 00000000000..cb13a854923 --- /dev/null +++ b/app-emulation/punes/punes-0.102.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools xdg-utils + +DESCRIPTION="Nintendo Entertainment System (NES) emulator" +HOMEPAGE="https://github.com/punesemu/puNES" +SRC_URI="https://github.com/punesemu/puNES/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cg" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + cg? ( media-gfx/nvidia-cg-toolkit ) + media-libs/alsa-lib + media-libs/libsdl[opengl] + virtual/opengl" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/puNES-${PV}" + +src_prepare() { + default + + sed -i "/update-desktop-database/d" misc/Makefile.am || die + eautoreconf + # FIXME why eautoreconf can't handle this? + cd "src/extra/lib7zip-1.6.5" || die + eautoreconf +} + +src_configure() { + econf \ + --enable-qt5 \ + $(use_with cg opengl-nvidia-cg) +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}