Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/punes/
Date: Mon, 11 Mar 2019 10:13:58
Message-Id: 1552299213.5d4db6512cd74d5c6e38a864de74a3ca47b97e1d.monsieurp@gentoo
1 commit: 5d4db6512cd74d5c6e38a864de74a3ca47b97e1d
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Sun Mar 3 15:22:27 2019 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 11 10:13:33 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d4db651
7
8 app-emulation/punes: version bump to 0.103.
9
10 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12 Closes: https://github.com/gentoo/gentoo/pull/11232
13 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
14
15 app-emulation/punes/Manifest | 1 +
16 app-emulation/punes/punes-0.103.ebuild | 52 ++++++++++++++++++++++++++++++++++
17 2 files changed, 53 insertions(+)
18
19 diff --git a/app-emulation/punes/Manifest b/app-emulation/punes/Manifest
20 index d9771043899..146ce82d356 100644
21 --- a/app-emulation/punes/Manifest
22 +++ b/app-emulation/punes/Manifest
23 @@ -1 +1,2 @@
24 DIST punes-0.102.tar.gz 4670534 BLAKE2B 04576110e4fcd9aeaa3dfb6812ab7a21305200c82651be00defcb59b91374b155b279818f2e09d217841aa8567c41e06067252538fb68b7b907d5ab29b02c678 SHA512 dff95b25f64ed03060b6dd187d7a283acfddb6bea4168df5be4d309bd6aabdcaa5d0ea0312d0824205bf134cd0ddabf014e82a81c8a901a59258475ec24bd394
25 +DIST punes-0.103.tar.gz 5366838 BLAKE2B cb4a9a1336293891e06d573f68c52962e79220e7024fad716a957f5423a72703a34efc3fb6129dbe9ffde2c96fe7abd2a1ad4a622aaca89e90f6a2d5af8c1a53 SHA512 db0fbc075b9fd46be8013b17c03fd7abd12b209ce166557c83283c917e53224712ba5838cd8b9e7fad3d21271f29e475460996dd9800b9f759602e289bad4205
26
27 diff --git a/app-emulation/punes/punes-0.103.ebuild b/app-emulation/punes/punes-0.103.ebuild
28 new file mode 100644
29 index 00000000000..a12d37ba11e
30 --- /dev/null
31 +++ b/app-emulation/punes/punes-0.103.ebuild
32 @@ -0,0 +1,52 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +inherit autotools xdg-utils
38 +
39 +DESCRIPTION="Nintendo Entertainment System (NES) emulator"
40 +HOMEPAGE="https://github.com/punesemu/puNES"
41 +SRC_URI="https://github.com/punesemu/puNES/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="cg"
47 +
48 +RDEPEND="
49 + dev-qt/qtcore:5
50 + dev-qt/qtgui:5
51 + dev-qt/qtsvg:5
52 + dev-qt/qtwidgets:5
53 + cg? ( media-gfx/nvidia-cg-toolkit )
54 + media-libs/alsa-lib
55 + virtual/opengl"
56 +
57 +DEPEND="
58 + ${RDEPEND}
59 + virtual/pkgconfig"
60 +
61 +S="${WORKDIR}/puNES-${PV}"
62 +
63 +src_prepare() {
64 + default
65 +
66 + sed -i "/update-desktop-database/d" misc/Makefile.am || die
67 + eautoreconf
68 + # FIXME why eautoreconf can't handle this?
69 + cd "src/extra/lib7zip-1.6.5" || die
70 + eautoreconf
71 +}
72 +
73 +src_configure() {
74 + econf \
75 + $(use_with cg opengl-nvidia-cg)
76 +}
77 +
78 +pkg_postinst() {
79 + xdg_desktop_database_update
80 +}
81 +
82 +pkg_postrm() {
83 + xdg_desktop_database_update
84 +}