diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emulation/punes | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emulation/punes')
-rw-r--r-- | app-emulation/punes/Manifest | 3 | ||||
-rw-r--r-- | app-emulation/punes/metadata.xml | 21 | ||||
-rw-r--r-- | app-emulation/punes/punes-0.102.ebuild | 53 |
3 files changed, 77 insertions, 0 deletions
diff --git a/app-emulation/punes/Manifest b/app-emulation/punes/Manifest new file mode 100644 index 000000000000..d46e4a186f53 --- /dev/null +++ b/app-emulation/punes/Manifest @@ -0,0 +1,3 @@ +DIST punes-0.102.tar.gz 4670534 BLAKE2B 04576110e4fcd9aeaa3dfb6812ab7a21305200c82651be00defcb59b91374b155b279818f2e09d217841aa8567c41e06067252538fb68b7b907d5ab29b02c678 SHA512 dff95b25f64ed03060b6dd187d7a283acfddb6bea4168df5be4d309bd6aabdcaa5d0ea0312d0824205bf134cd0ddabf014e82a81c8a901a59258475ec24bd394 +EBUILD punes-0.102.ebuild 998 BLAKE2B a62f3eb9ca0c2aa2d992aebffc3d299bec9b0c9112421820013d2292fe54c677b43be307456ee2e2936af0c308745f1ced8ea20c55bd6d39a27319c9048fa45c SHA512 95a359fa66d6087eb886c425ee853f048aa948579500e9e2a5908d4e57804b3b1faaaf7a6ad92074b86b9581bc61386ebce6c92e9ee2786fb022e3e6c1fc30bb +MISC metadata.xml 625 BLAKE2B 3ae9de8ff12a46dd98f0132843cf2fe0f7be77d33497fc2a97b026adba711f2bafd04f71140bf4cddaf6242dc4a9b85ea26f8ec905f0325041dc10b0afa85e4b SHA512 d93f23a57d82c716a4b25526ba184ab135fdd81de106e90b7ba2589607d42f16c28b326e257345f34a85f7cda09cd90cda4dc6989b02b46de6350e343c71c2f6 diff --git a/app-emulation/punes/metadata.xml b/app-emulation/punes/metadata.xml new file mode 100644 index 000000000000..c8d6de050519 --- /dev/null +++ b/app-emulation/punes/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>azamat.hackimov@gmail.com</email> + <name>Azamat H. Hackimov</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + Nintendo Entertainment System (NES) emulator + </longdescription> + <use> + <flag name="cg">Add support for Nvidia CG Toolkit</flag> + </use> + <upstream> + <remote-id type="github">punesemu/puNES</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-emulation/punes/punes-0.102.ebuild b/app-emulation/punes/punes-0.102.ebuild new file mode 100644 index 000000000000..cb13a8549234 --- /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 +} |