Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/punes/
Date: Sat, 08 Aug 2020 09:04:41
Message-Id: 1596877444.56bf8b6a7e58810b7f3399e4ec33963d936c3cd6.juippis@gentoo
1 commit: 56bf8b6a7e58810b7f3399e4ec33963d936c3cd6
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Tue Jul 28 13:33:32 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 8 09:04:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56bf8b6a
7
8 app-emulation/punes: update to 0.106
9
10 Update package to 0.106, which fixes gcc10 compilation issue (#710612).
11 Additional fixes compilation error #734276.
12 Closes: https://bugs.gentoo.org/710612
13 Closes: https://bugs.gentoo.org/734276
14 Package-Manager: Portage-2.3.103, Repoman-2.3.23
15 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
16 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
17
18 app-emulation/punes/Manifest | 1 +
19 app-emulation/punes/punes-0.106.ebuild | 58 ++++++++++++++++++++++++++++++++++
20 2 files changed, 59 insertions(+)
21
22 diff --git a/app-emulation/punes/Manifest b/app-emulation/punes/Manifest
23 index bb1aecade63..1f866af056f 100644
24 --- a/app-emulation/punes/Manifest
25 +++ b/app-emulation/punes/Manifest
26 @@ -1,2 +1,3 @@
27 DIST punes-0.104.tar.gz 5381182 BLAKE2B fefa6eb85e9cfe5eb10fd987061e6f708a2d29db374552ca217e1e47bfd3a982390d2fdf33f23407bb54d7e1a3491e33cc2c520ff3ead4566f687c6c652bcc6a SHA512 9636440cf66cb9f48b532cebff4342a775ddacffd98748e5669d820e213a648cbfb3e4e94f67389f21f88b4fa618bf514e31738c10df079abe22d4b19593d904
28 DIST punes-0.105.tar.gz 5376203 BLAKE2B 9008ee14189d669c4c4c815de1c5498e3af22cbae52a25b538ae658fdc3fe9d39600a431e6652c84b24e20b1e713847462e4b802021a635c8f14f7d91317678f SHA512 4ce1487554218b17b0e3e2966c7b4ac0852e0b0bc83aeabbb0e3127d4952f0ef921374a97ce59990d01b5e0ac08204cca5f13476cd7e4a1e7a238850e8305d29
29 +DIST punes-0.106.tar.gz 5595484 BLAKE2B aa3bb5c869e679b19829a3d1de970517d6d626e0ed2404a9ed09d16af8fabb1ee3258ec8fbb4027fb6b70b5449b2bb7ac6880f43c3ba846687c65d8a0eeaf3f2 SHA512 f35c5cee05464cb11f130938cf7aa519d4dea35dbf52ce3606c3c6bb2596bc59b75e11816a5b44c7b1c9d402a299b4db49727087b4c93c3cb2ba473adfdd4fa2
30
31 diff --git a/app-emulation/punes/punes-0.106.ebuild b/app-emulation/punes/punes-0.106.ebuild
32 new file mode 100644
33 index 00000000000..1cdb9cc4f01
34 --- /dev/null
35 +++ b/app-emulation/punes/punes-0.106.ebuild
36 @@ -0,0 +1,58 @@
37 +# Copyright 1999-2020 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=7
41 +
42 +inherit autotools xdg-utils
43 +
44 +DESCRIPTION="Nintendo Entertainment System (NES) emulator"
45 +HOMEPAGE="https://github.com/punesemu/puNES"
46 +SRC_URI="https://github.com/punesemu/puNES/archive/v${PV}.tar.gz -> ${P}.tar.gz"
47 +
48 +LICENSE="GPL-2+"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +IUSE="cg"
52 +
53 +RDEPEND="
54 + dev-qt/qtcore:5
55 + dev-qt/qtgui:5
56 + dev-qt/qtsvg:5
57 + dev-qt/qtwidgets:5
58 + media-libs/alsa-lib
59 + virtual/glu
60 + virtual/opengl"
61 +DEPEND="${RDEPEND}"
62 +BDEPEND="
63 + cg? ( media-gfx/nvidia-cg-toolkit )
64 + dev-qt/linguist-tools:5
65 + virtual/pkgconfig"
66 +
67 +S="${WORKDIR}/puNES-${PV}"
68 +
69 +src_prepare() {
70 + default
71 +
72 + sed -i "/update-desktop-database/d" misc/Makefile.am || die
73 + eautoreconf
74 + # FIXME why eautoreconf can't handle this?
75 + cd "src/extra/lib7zip-1.6.5" || die
76 + eautoreconf
77 +}
78 +
79 +src_configure() {
80 + econf \
81 + $(use_with cg opengl-nvidia-cg)
82 +}
83 +
84 +pkg_postinst() {
85 + xdg_icon_cache_update
86 + xdg_desktop_database_update
87 + xdg_mimeinfo_database_update
88 +}
89 +
90 +pkg_postrm() {
91 + xdg_icon_cache_update
92 + xdg_desktop_database_update
93 + xdg_mimeinfo_database_update
94 +}