summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir Lamouri <volkmar@gentoo.org>2011-04-17 12:17:10 +0000
committerMounir Lamouri <volkmar@gentoo.org>2011-04-17 12:17:10 +0000
commit8ebf253176318efac88967b22e3d70ae31f1b6a2 (patch)
treea7bf51a38ea56e5d068d467c06bb61ebe90ae6fb /app-emulation
parentFix for gcc-4.6 changes, #362545 (diff)
downloadhistorical-8ebf253176318efac88967b22e3d70ae31f1b6a2.tar.gz
historical-8ebf253176318efac88967b22e3d70ae31f1b6a2.tar.bz2
historical-8ebf253176318efac88967b22e3d70ae31f1b6a2.zip
Version bump to 3.8.12. Bug 360555.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/playonlinux/ChangeLog8
-rw-r--r--app-emulation/playonlinux/Manifest24
-rw-r--r--app-emulation/playonlinux/playonlinux-3.8.12.ebuild107
3 files changed, 117 insertions, 22 deletions
diff --git a/app-emulation/playonlinux/ChangeLog b/app-emulation/playonlinux/ChangeLog
index 56f10fe00090..4cf3e013876e 100644
--- a/app-emulation/playonlinux/ChangeLog
+++ b/app-emulation/playonlinux/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/playonlinux
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/ChangeLog,v 1.12 2011/04/16 20:28:27 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/ChangeLog,v 1.13 2011/04/17 12:17:10 volkmar Exp $
+
+*playonlinux-3.8.12 (17 Apr 2011)
+
+ 17 Apr 2011; Mounir Lamouri <volkmar@gentoo.org>
+ +playonlinux-3.8.12.ebuild:
+ Version bump to 3.8.12, bug 360555
16 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
playonlinux-3.8.8.ebuild:
diff --git a/app-emulation/playonlinux/Manifest b/app-emulation/playonlinux/Manifest
index a889c44923c0..e98349a9d345 100644
--- a/app-emulation/playonlinux/Manifest
+++ b/app-emulation/playonlinux/Manifest
@@ -1,24 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+DIST PlayOnLinux_3.8.12.tar.gz 2511896 RMD160 24eb700c3749b7685db321cf8b0d629c7f285a4b SHA1 2c88d67b2b62c917b9b280c5a7decd19f39af23c SHA256 0f82580e8ccad2129c94e6b02546b8bf1317936b8705d9844379d6a3268d714c
DIST PlayOnLinux_3.8.8.tar.gz 2467359 RMD160 c9ba63d9483e087eeea49450a095df5575d751e5 SHA1 063e0235f1ee9e619b068c95ea2038dfe2489f29 SHA256 385408b54b2d02290846e8952d850d40cfd087afbad3dbd149db62f69a922a58
+EBUILD playonlinux-3.8.12.ebuild 3440 RMD160 fbe2206a20ee977ae11664387787c82997430e97 SHA1 5b263501b6dfc463a7ee0f1134890fc3221ca677 SHA256 d13ee1db9bf88dc9aa36201fdeeb05f1525ef4fc8a12025a15e6768c524d01ee
EBUILD playonlinux-3.8.8.ebuild 3427 RMD160 16dc7e42addb23448bdf39815ca28e8130fdd290 SHA1 44452fcde6170f5ed231658ffc50a9e7d4c84f19 SHA256 055322c2c2f6e6a68fd982c6a07c3f8ad2e10b75630b1f4c5353c8bd4fa886d1
-MISC ChangeLog 2103 RMD160 4bb3782b882a859eab3ffde27394a995ec70a8ea SHA1 320e8f099a373fa47a234478d000fcac13c5e252 SHA256 a4ac307a221a8291a4dbfe6436b19f7ebc951017e5c8b33fbcdc8329fac7eada
+MISC ChangeLog 2256 RMD160 9758dbf68121fd6347cee6ba3017f7cfa668366c SHA1 aec468355c050b09ed2fde50e0ca6f20148cd6ee SHA256 ac1773fef8ced9418115cbebe396e51250afad9fde4a54475ef17ae35790305b
MISC metadata.xml 257 RMD160 224ee82bfe66c5da4a2dc1dd697b1782e7f03cb9 SHA1 6b583c76750b206bd133403d1a4685a14f8e6b95 SHA256 45f231de4d8bc5ed6309ba83d2eb9a06b8e13f828d7b74e909a144439356cd62
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iQIcBAEBAgAGBQJNqfvyAAoJENgZr6v6gHY0wkUQAM6EWJrt2YnaClx0SDZ95euz
-S0xUGFsl36HL7i6rB98l1N2OkkxG3XSmBblmeP1lqMoP+wivIma2YrA/5KOolCVa
-6QZboBZHUy3Uy2PHYyPCcLLIyA6lDuHQ6DuieXg2FQODqoGcDgvUAruKnqChbm4s
-//ddwlGzigHQD9s0PvFUvVX7ZwI0yA4xQ5e3XGDGq48Om+35Kuav7ooubUzq2OW9
-H3busZfJCSn4RnGm01rvUuRm1BnmmT/6D/R5PMMwc2X5oDt9XWreSA8UniBG+ndT
-qKtDq4SYbe//70MX+d39umR2FxqwxrJxMG+02yhP4iMz3LHPtbyiHgpcUVGiDjTc
-fnDTmI6svc4RIW8xOhVUew1Y6N18MP72Q8MoshxbtEnFF4Iw8EcyIe+T5jDcbPCl
-lIS8AqTdVIQhNFP7n/UB+yzvgihosOlTOVqNACezk/XW2Inkjh4fpmUhA49k+42p
-H80dgmTxyrj34xh1+s8KOqILHUpFFb5rTfnkyWvGFQh/zjk5Jka79Ufpvn1CbqwT
-Ouu1gWhcp9wCWtT1kX+D6P1ItwU2XFHL1mVMhnxXXjaG79kEt3sEpac+4mVF2tiX
-beL2mIH0gvV519i6RKhgV4S9jmBKg9+hslElDNHnYj37EUC3lH8xDO4h3nFt/I39
-dfFQ3OwMOUm+rbJE2LMv
-=+uHb
------END PGP SIGNATURE-----
diff --git a/app-emulation/playonlinux/playonlinux-3.8.12.ebuild b/app-emulation/playonlinux/playonlinux-3.8.12.ebuild
new file mode 100644
index 000000000000..654bdb0bb1ae
--- /dev/null
+++ b/app-emulation/playonlinux/playonlinux-3.8.12.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/playonlinux-3.8.12.ebuild,v 1.1 2011/04/17 12:17:10 volkmar Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+
+inherit eutils python games
+
+MY_PN="PlayOnLinux"
+
+DESCRIPTION="set of scripts to easily install and use Windows games and software"
+HOMEPAGE="http://playonlinux.com/"
+SRC_URI="http://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="app-emulation/wine
+ app-arch/cabextract
+ app-arch/unzip
+ dev-python/wxpython:2.8
+ || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
+ net-misc/wget
+ x11-apps/mesa-progs
+ x11-terms/xterm"
+
+S=${WORKDIR}/${PN}
+
+# TODO:
+# Having a real install script and let playonlinux use standard filesystem
+# architecture to prevent having everything installed into GAMES_DATADIR
+# It will let using LANGUAGES easily
+# How to deal with Microsoft Fonts installation asked every time ?
+# How to deal with wine version installed ? (have a better mgmt of system one)
+# Look at debian pkg: http://packages.debian.org/sid/playonlinux
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ sed -i -e "s/\(Categories=\).*/\1Game;Emulator;/" etc/PlayOnLinux.desktop \
+ || die "sed failed"
+ sed -e 's/PYTHON="python"/PYTHON="python2"/' -i lib/variables || die "sed failed"
+ python_convert_shebangs -r 2 .
+}
+
+src_install() {
+ # all things without exec permissions
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r themes lang lib etc plugins || die "doins failed"
+
+ # bash/ install
+ exeinto "${GAMES_DATADIR}/${PN}/bash"
+ doexe bash/* || die "doexe failed"
+ exeinto "${GAMES_DATADIR}/${PN}/bash/terminals"
+ doexe bash/terminals/* || die "doexe failed"
+ exeinto "${GAMES_DATADIR}/${PN}/bash/expert"
+ doexe bash/expert/* || die "doexe failed"
+ exeinto "${GAMES_DATADIR}/${PN}/bash/daemon"
+ doexe bash/daemon/* || die "doexe failed"
+
+ # python/ install
+ exeinto "${GAMES_DATADIR}/${PN}/python"
+ doexe python/* || die "doexe failed"
+ # sub dir without exec permissions
+ insinto "${GAMES_DATADIR}/${PN}/python"
+ doins -r python/lib || die "doins failed"
+
+ # main executable files
+ exeinto "${GAMES_DATADIR}/${PN}"
+ doexe ${PN}{,-pkg,-daemon,-cmd,-shell,-url_handler} || die "doexe failed"
+
+ # making a script to run playonlinux from ${GAMES_BINDIR}
+ echo "#!/bin/bash" > ${PN}_launcher
+ echo "cd \"${GAMES_DATADIR}/${PN}\" && ./${PN} \$*" >> ${PN}_launcher
+ newgamesbin playonlinux_launcher playonlinux || die "newgamesbin failed"
+
+ # making a script to run playonlinux-cmd from ${GAMES_BINDIR}
+ echo "#!/bin/bash" > ${PN}_cmd_launcher
+ echo "cd \"${GAMES_DATADIR}/${PN}\" && ./${PN}-cmd \$*" >> ${PN}_cmd_launcher
+ newgamesbin playonlinux_cmd_launcher playonlinux-cmd || die "newgamesbin failed"
+
+ dodoc CHANGELOG || die "dodoc failed"
+
+ doicon etc/${PN}.png || die "doicon failed"
+ domenu etc/${MY_PN}.desktop || die "domenu failed"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ python_mod_optimize "${GAMES_DATADIR}/${PN}"
+}
+
+pkg_postrm() {
+ python_mod_cleanup "${GAMES_DATADIR}/${PN}"
+
+ ewarn "Installed softwares and games with playonlinux have not been removed."
+ ewarn "To remove them, you can re-install playonlinux and remove them using it"
+ ewarn "or do it manually by removing .PlayOnLinux/ in your home directory."
+}