1 |
thev00d00 11/10/03 20:53:53 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: playonlinux-4.0.12.ebuild |
5 |
Log: |
6 |
Version bump to 4.0.12, close bug #383095 |
7 |
|
8 |
(Portage version: 2.2.0_alpha60/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.15 app-emulation/playonlinux/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/playonlinux/ChangeLog?rev=1.15&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/playonlinux/ChangeLog?rev=1.15&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/playonlinux/ChangeLog?r1=1.14&r2=1.15 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/ChangeLog,v |
20 |
retrieving revision 1.14 |
21 |
retrieving revision 1.15 |
22 |
diff -u -r1.14 -r1.15 |
23 |
--- ChangeLog 25 May 2011 14:29:40 -0000 1.14 |
24 |
+++ ChangeLog 3 Oct 2011 20:53:53 -0000 1.15 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-emulation/playonlinux |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/ChangeLog,v 1.14 2011/05/25 14:29:40 volkmar Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/ChangeLog,v 1.15 2011/10/03 20:53:53 thev00d00 Exp $ |
30 |
+ |
31 |
+*playonlinux-4.0.12 (03 Oct 2011) |
32 |
+ |
33 |
+ 03 Oct 2011; Ian Whyman <thev00d00@g.o> +playonlinux-4.0.12.ebuild: |
34 |
+ version bump to 4.0.12, close bug #383095 |
35 |
|
36 |
25 May 2011; Mounir Lamouri <volkmar@g.o> playonlinux-3.8.12.ebuild: |
37 |
Add missing games_pkg_setup. |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-emulation/playonlinux/playonlinux-4.0.12.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/playonlinux/playonlinux-4.0.12.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/playonlinux/playonlinux-4.0.12.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: playonlinux-4.0.12.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/playonlinux-4.0.12.ebuild,v 1.1 2011/10/03 20:53:53 thev00d00 Exp $ |
51 |
|
52 |
EAPI="3" |
53 |
PYTHON_DEPEND="2" |
54 |
|
55 |
inherit eutils python games |
56 |
|
57 |
MY_PN="PlayOnLinux" |
58 |
|
59 |
DESCRIPTION="set of scripts to easily install and use Windows games and software" |
60 |
HOMEPAGE="http://playonlinux.com/" |
61 |
SRC_URI="http://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-3" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="" |
67 |
|
68 |
DEPEND="" |
69 |
RDEPEND="app-emulation/wine |
70 |
app-arch/cabextract |
71 |
app-arch/unzip |
72 |
dev-python/wxpython:2.8 |
73 |
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) |
74 |
net-misc/wget |
75 |
x11-apps/mesa-progs |
76 |
x11-terms/xterm" |
77 |
|
78 |
S=${WORKDIR}/${PN} |
79 |
|
80 |
# TODO: |
81 |
# Having a real install script and let playonlinux use standard filesystem |
82 |
# architecture to prevent having everything installed into GAMES_DATADIR |
83 |
# It will let using LANGUAGES easily |
84 |
# How to deal with Microsoft Fonts installation asked every time ? |
85 |
# How to deal with wine version installed ? (have a better mgmt of system one) |
86 |
# Look at debian pkg: http://packages.debian.org/sid/playonlinux |
87 |
|
88 |
pkg_setup() { |
89 |
python_set_active_version 2 |
90 |
python_pkg_setup |
91 |
games_pkg_setup |
92 |
} |
93 |
|
94 |
src_prepare() { |
95 |
sed -i -e "s/\(Categories=\).*/\1Game;Emulator;/" etc/PlayOnLinux.desktop \ |
96 |
|| die "sed failed" |
97 |
sed -e 's/PYTHON="python"/PYTHON="python2"/' -i lib/variables || die "sed failed" |
98 |
python_convert_shebangs -r 2 . |
99 |
} |
100 |
|
101 |
src_install() { |
102 |
# all things without exec permissions |
103 |
insinto "${GAMES_DATADIR}/${PN}" |
104 |
doins -r resources lang lib etc plugins || die "doins failed" |
105 |
|
106 |
# bash/ install |
107 |
exeinto "${GAMES_DATADIR}/${PN}/bash" |
108 |
doexe bash/* || die "doexe failed" |
109 |
exeinto "${GAMES_DATADIR}/${PN}/bash/terminals" |
110 |
doexe bash/terminals/* || die "doexe failed" |
111 |
exeinto "${GAMES_DATADIR}/${PN}/bash/expert" |
112 |
doexe bash/expert/* || die "doexe failed" |
113 |
|
114 |
# python/ install |
115 |
exeinto "${GAMES_DATADIR}/${PN}/python" |
116 |
doexe python/* || die "doexe failed" |
117 |
# sub dir without exec permissions |
118 |
insinto "${GAMES_DATADIR}/${PN}/python" |
119 |
doins -r python/lib || die "doins failed" |
120 |
|
121 |
# main executable files |
122 |
exeinto "${GAMES_DATADIR}/${PN}" |
123 |
doexe ${PN}{,-pkg,-bash,-shell,-url_handler} || die "doexe failed" |
124 |
|
125 |
# making a script to run playonlinux from ${GAMES_BINDIR} |
126 |
echo "#!/bin/bash" > ${PN}_launcher |
127 |
echo "cd \"${GAMES_DATADIR}/${PN}\" && ./${PN} \$*" >> ${PN}_launcher |
128 |
newgamesbin playonlinux_launcher playonlinux || die "newgamesbin failed" |
129 |
|
130 |
# making a script to run playonlinux-cmd from ${GAMES_BINDIR} |
131 |
echo "#!/bin/bash" > ${PN}_cmd_launcher |
132 |
echo "cd \"${GAMES_DATADIR}/${PN}\" && ./${PN}-cmd \$*" >> ${PN}_cmd_launcher |
133 |
newgamesbin playonlinux_cmd_launcher playonlinux-cmd || die "newgamesbin failed" |
134 |
|
135 |
dodoc CHANGELOG || die "dodoc failed" |
136 |
|
137 |
doicon etc/${PN}.png || die "doicon failed" |
138 |
domenu etc/${MY_PN}.desktop || die "domenu failed" |
139 |
prepgamesdirs |
140 |
} |
141 |
|
142 |
pkg_postinst() { |
143 |
games_pkg_postinst |
144 |
python_mod_optimize "${GAMES_DATADIR}/${PN}" |
145 |
} |
146 |
|
147 |
pkg_postrm() { |
148 |
python_mod_cleanup "${GAMES_DATADIR}/${PN}" |
149 |
|
150 |
ewarn "Installed softwares and games with playonlinux have not been removed." |
151 |
ewarn "To remove them, you can re-install playonlinux and remove them using it" |
152 |
ewarn "or do it manually by removing .PlayOnLinux/ in your home directory." |
153 |
} |