Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-emulation/virtualjaguar: virtualjaguar-2.1.2-r1.ebuild ChangeLog virtualjaguar-2.1.2.ebuild
Date: Fri, 06 Feb 2015 19:43:18
Message-Id: 20150206194312.C581011330@oystercatcher.gentoo.org
1 mr_bones_ 15/02/06 19:43:12
2
3 Modified: ChangeLog
4 Added: virtualjaguar-2.1.2-r1.ebuild
5 Removed: virtualjaguar-2.1.2.ebuild
6 Log:
7 revbump to push changes
8
9 (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
10
11 Revision Changes Path
12 1.21 games-emulation/virtualjaguar/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/virtualjaguar/ChangeLog?rev=1.21&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/virtualjaguar/ChangeLog?rev=1.21&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/virtualjaguar/ChangeLog?r1=1.20&r2=1.21
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/ChangeLog,v
21 retrieving revision 1.20
22 retrieving revision 1.21
23 diff -u -r1.20 -r1.21
24 --- ChangeLog 6 Feb 2015 19:22:00 -0000 1.20
25 +++ ChangeLog 6 Feb 2015 19:43:12 -0000 1.21
26 @@ -1,6 +1,12 @@
27 # ChangeLog for games-emulation/virtualjaguar
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/ChangeLog,v 1.20 2015/02/06 19:22:00 mr_bones_ Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/ChangeLog,v 1.21 2015/02/06 19:43:12 mr_bones_ Exp $
31 +
32 +*virtualjaguar-2.1.2-r1 (06 Feb 2015)
33 +
34 + 06 Feb 2015; Michael Sterrett <mr_bones_@g.o>
35 + +virtualjaguar-2.1.2-r1.ebuild, -virtualjaguar-2.1.2.ebuild:
36 + revbump to push changes
37
38 06 Feb 2015; Michael Sterrett <mr_bones_@g.o>
39 virtualjaguar-2.1.2.ebuild:
40
41
42
43 1.1 games-emulation/virtualjaguar/virtualjaguar-2.1.2-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/virtualjaguar/virtualjaguar-2.1.2-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/virtualjaguar/virtualjaguar-2.1.2-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: virtualjaguar-2.1.2-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/games-emulation/virtualjaguar/virtualjaguar-2.1.2-r1.ebuild,v 1.1 2015/02/06 19:43:12 mr_bones_ Exp $
53
54 EAPI=5
55 inherit eutils versionator qt4-r2 gnome2-utils toolchain-funcs games
56
57 DESCRIPTION="an Atari Jaguar emulator"
58 HOMEPAGE="http://www.icculus.org/virtualjaguar/"
59 SRC_URI="http://www.icculus.org/virtualjaguar/tarballs/${P}.tar.bz2"
60
61 LICENSE="GPL-3"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE=""
65
66 RDEPEND="media-libs/libsdl[joystick,opengl,sound,video]
67 sys-libs/zlib
68 virtual/opengl
69 dev-qt/qtcore:4
70 dev-qt/qtgui:4
71 dev-qt/qtopengl:4[-egl]
72 dev-libs/libcdio"
73 DEPEND="${RDEPEND}
74 >=sys-devel/gcc-4.4"
75
76 S=${WORKDIR}/${PN}
77
78 pkg_pretend() {
79 local ver=4.4
80
81 if ! version_is_at_least ${ver} $(gcc-version); then
82 die "${PN} needs at least gcc ${ver} selected to compile."
83 fi
84 }
85
86 src_prepare() {
87 sed -i \
88 -e '/^Categories/s/$/;/' \
89 virtualjaguar.desktop || die
90 eqmake4 virtualjaguar.pro -o makefile-qt
91 }
92
93 src_compile() {
94 emake -j1 libs
95 emake
96 }
97
98 src_install() {
99 dogamesbin ${PN}
100 dodoc README docs/{TODO,WHATSNEW}
101 doman docs/virtualjaguar.1
102 domenu virtualjaguar.desktop
103 newicon -s 128 res/vj-icon.png ${PN}.png
104 prepgamesdirs
105 }
106
107 pkg_preinst() {
108 games_pkg_preinst
109 gnome2_icon_savelist
110 }
111
112 pkg_postinst() {
113 games_pkg_postinst
114 elog "The ${PN} ROM path is no-longer hardcoded, "
115 elog "set it from within, the ${PN} GUI."
116 elog
117 elog "The ROM extension supported by ${PN} is .j64, "
118 elog ".jag files will be interpreted as Jaguar Server executables."
119 gnome2_icon_cache_update
120 }
121
122 pkg_postrm() {
123 gnome2_icon_cache_update
124 }