1 |
volkmar 09/10/31 10:39:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: playonlinux-3.7.ebuild |
5 |
Removed: playonlinux-3.5.ebuild |
6 |
Log: |
7 |
Version bump to 3.7 and remove oldest version. |
8 |
Fix bug 288935. |
9 |
(Portage version: 14270-svn/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.5 app-emulation/playonlinux/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/playonlinux/ChangeLog?rev=1.5&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/playonlinux/ChangeLog?rev=1.5&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/playonlinux/ChangeLog?r1=1.4&r2=1.5 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/ChangeLog,v |
21 |
retrieving revision 1.4 |
22 |
retrieving revision 1.5 |
23 |
diff -u -r1.4 -r1.5 |
24 |
--- ChangeLog 13 Jul 2009 12:18:46 -0000 1.4 |
25 |
+++ ChangeLog 31 Oct 2009 10:39:33 -0000 1.5 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for app-emulation/playonlinux |
28 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/ChangeLog,v 1.4 2009/07/13 12:18:46 volkmar Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/ChangeLog,v 1.5 2009/10/31 10:39:33 volkmar Exp $ |
31 |
+ |
32 |
+*playonlinux-3.7 (31 Oct 2009) |
33 |
+ |
34 |
+ 31 Oct 2009; Mounir Lamouri <volkmar@g.o> -playonlinux-3.5.ebuild, |
35 |
+ +playonlinux-3.7.ebuild: |
36 |
+ Version bump to 3.7 and remove oldest version. Fix bug 288935 |
37 |
|
38 |
*playonlinux-3.6 (13 Jul 2009) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 app-emulation/playonlinux/playonlinux-3.7.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/playonlinux/playonlinux-3.7.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/playonlinux/playonlinux-3.7.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: playonlinux-3.7.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/playonlinux-3.7.ebuild,v 1.1 2009/10/31 10:39:33 volkmar Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
inherit eutils python games |
57 |
|
58 |
MY_PN="PlayOnLinux" |
59 |
|
60 |
DESCRIPTION="Set of scripts to easily install and use Windows(tm) games and softwares" |
61 |
HOMEPAGE="http://playonlinux.com/" |
62 |
SRC_URI="http://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz" |
63 |
|
64 |
LICENSE="GPL-3" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="" |
68 |
|
69 |
DEPEND="" |
70 |
RDEPEND="app-emulation/wine |
71 |
app-arch/cabextract |
72 |
app-arch/unzip |
73 |
dev-python/wxpython:2.8 |
74 |
media-gfx/imagemagick |
75 |
x11-terms/xterm" |
76 |
|
77 |
S=${WORKDIR}/${PN} |
78 |
|
79 |
# TODO: |
80 |
# Having a real install script and let playonlinux use standard filesystem |
81 |
# architecture to prevent having everything installed into GAMES_DATADIR |
82 |
# It will let using LANGUAGES easily |
83 |
# How to deal with Microsoft Fonts installation asked every time ? |
84 |
# How to deal with wine version installed ? (have a better mgmt of system one) |
85 |
|
86 |
src_prepare() { |
87 |
einfo "Removing temporary files..." |
88 |
rm -f $(find . -name *.pyc) || die "rm -f doesn't die" |
89 |
rm -f $(find . -name *~) || die "rm -f doesn't die" |
90 |
} |
91 |
|
92 |
src_install() { |
93 |
# all things without exec permissions |
94 |
insinto "${GAMES_DATADIR}/${PN}" |
95 |
doins -r themes lang lib etc || die "doins failed" |
96 |
|
97 |
# bash/ install |
98 |
exeinto "${GAMES_DATADIR}/${PN}/bash" |
99 |
doexe bash/* || die "doexe failed" |
100 |
exeinto "${GAMES_DATADIR}/${PN}/bash/terminals" |
101 |
doexe bash/terminals/* || die "doexe failed" |
102 |
exeinto "${GAMES_DATADIR}/${PN}/bash/expert" |
103 |
doexe bash/expert/* || die "doexe failed" |
104 |
|
105 |
# python/ install |
106 |
exeinto "${GAMES_DATADIR}/${PN}/python" |
107 |
doexe python/* || die "doexe failed" |
108 |
# sub dir without exec permissions |
109 |
insinto "${GAMES_DATADIR}/${PN}/python" |
110 |
doins -r python/lib || die "doins failed" |
111 |
|
112 |
# daemon/ install |
113 |
exeinto "${GAMES_DATADIR}/${PN}/daemon" |
114 |
doexe daemon/* || die "doexe failed" |
115 |
|
116 |
# main executable files |
117 |
exeinto "${GAMES_DATADIR}/${PN}" |
118 |
doexe ${PN}{,-pkg,-daemon} || die "doexe failed" |
119 |
|
120 |
# making a script to run app from ${GAMES_BINDIR} |
121 |
echo "#!/bin/bash" > ${PN}_launcher |
122 |
echo "cd \"${GAMES_DATADIR}/${PN}\" && ./${PN}" >> ${PN}_launcher |
123 |
newgamesbin playonlinux_launcher playonlinux || die "newgamesbin failed" |
124 |
|
125 |
dodoc CHANGELOG || die "dodoc failed" |
126 |
|
127 |
doicon etc/${PN}.png || die "doicon failed" |
128 |
domenu etc/${MY_PN}.desktop || die "domenu failed" |
129 |
prepgamesdirs |
130 |
} |
131 |
|
132 |
pkg_postinst() { |
133 |
games_pkg_postinst |
134 |
python_mod_optimize "${ROOT}${GAMES_DATADIR}/${PN}" |
135 |
} |
136 |
|
137 |
pkg_postrm() { |
138 |
python_mod_cleanup "${ROOT}${GAMES_DATADIR}/${PN}" |
139 |
|
140 |
ewarn "Installed softwares and games with playonlinux have not been removed." |
141 |
ewarn "To remove them, you can re-install playonlinux and remove them using it" |
142 |
ewarn "or do it manually." |
143 |
} |