diff options
Diffstat (limited to 'app-emulation/punes')
-rw-r--r-- | app-emulation/punes/Manifest | 2 | ||||
-rw-r--r-- | app-emulation/punes/punes-0.104.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/app-emulation/punes/Manifest b/app-emulation/punes/Manifest index 03260ef04155..3a62eb9160b9 100644 --- a/app-emulation/punes/Manifest +++ b/app-emulation/punes/Manifest @@ -1,3 +1,5 @@ DIST punes-0.103.tar.gz 5366838 BLAKE2B cb4a9a1336293891e06d573f68c52962e79220e7024fad716a957f5423a72703a34efc3fb6129dbe9ffde2c96fe7abd2a1ad4a622aaca89e90f6a2d5af8c1a53 SHA512 db0fbc075b9fd46be8013b17c03fd7abd12b209ce166557c83283c917e53224712ba5838cd8b9e7fad3d21271f29e475460996dd9800b9f759602e289bad4205 +DIST punes-0.104.tar.gz 5381182 BLAKE2B fefa6eb85e9cfe5eb10fd987061e6f708a2d29db374552ca217e1e47bfd3a982390d2fdf33f23407bb54d7e1a3491e33cc2c520ff3ead4566f687c6c652bcc6a SHA512 9636440cf66cb9f48b532cebff4342a775ddacffd98748e5669d820e213a648cbfb3e4e94f67389f21f88b4fa618bf514e31738c10df079abe22d4b19593d904 EBUILD punes-0.103.ebuild 967 BLAKE2B 544a6b435b37df81d70cb910306166b9ed8abea34affe35907df7eef299a5afe1d555807badadc5fee5d096c466a46593641b8a6e24e37e9ed086a3d677a7102 SHA512 da0c115bfb8d7d138054e7e5b2cbc29449ff9ed6f63c4ea000fd630ebb87e1e72ccee7e637cc4a741aedc2ebdf68f1e799d58afc9530d3384e9d57948d7a8824 +EBUILD punes-0.104.ebuild 967 BLAKE2B 225fb2763ad92dee3da274b30396bd2a6759666c91689b5cd9f2a88c3097ccd410f24b3ca77437d4541dc57216b7aeaad42a0b7293abde5c5c463fce4d3dbac7 SHA512 40d1905cc954f63040b61dbe33c2864e8ef35c71cd800a39e1edbbb6a50fb09ce022bd876d8496365174e34ac62ab42a2321dfaba21b1feb0f600f1feba02779 MISC metadata.xml 625 BLAKE2B 3ae9de8ff12a46dd98f0132843cf2fe0f7be77d33497fc2a97b026adba711f2bafd04f71140bf4cddaf6242dc4a9b85ea26f8ec905f0325041dc10b0afa85e4b SHA512 d93f23a57d82c716a4b25526ba184ab135fdd81de106e90b7ba2589607d42f16c28b326e257345f34a85f7cda09cd90cda4dc6989b02b46de6350e343c71c2f6 diff --git a/app-emulation/punes/punes-0.104.ebuild b/app-emulation/punes/punes-0.104.ebuild new file mode 100644 index 000000000000..ae456a0a5a28 --- /dev/null +++ b/app-emulation/punes/punes-0.104.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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/qtsvg:5 + dev-qt/qtwidgets:5 + cg? ( media-gfx/nvidia-cg-toolkit ) + media-libs/alsa-lib + 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 \ + $(use_with cg opengl-nvidia-cg) +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} |