Version bump to 4.0.12, close bug #383095
authorIan Whyman <thev00d00@gentoo.org>
Mon, 3 Oct 2011 20:53:53 +0000 (20:53 +0000)
committerIan Whyman <thev00d00@gentoo.org>
Mon, 3 Oct 2011 20:53:53 +0000 (20:53 +0000)
Package-Manager: portage-2.2.0_alpha60/cvs/Linux x86_64

app-emulation/playonlinux/ChangeLog
app-emulation/playonlinux/Manifest
app-emulation/playonlinux/playonlinux-4.0.12.ebuild [new file with mode: 0644]

index df955bf800a94839863f753ab7a787dcef462f7b..c7d9993eb7fbc4388951cf6c10a02123fc1624de 100644 (file)
@@ -1,6 +1,11 @@
 # 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.14 2011/05/25 14:29:40 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/ChangeLog,v 1.15 2011/10/03 20:53:53 thev00d00 Exp $
+
+*playonlinux-4.0.12 (03 Oct 2011)
+
+  03 Oct 2011; Ian Whyman <thev00d00@gentoo.org> +playonlinux-4.0.12.ebuild:
+  version bump to 4.0.12, close bug #383095
 
   25 May 2011; Mounir Lamouri <volkmar@gentoo.org> playonlinux-3.8.12.ebuild:
   Add missing games_pkg_setup.
index dfd06fcf29541cb7fa9206796931f05f812a43ee..df30ac114a4664156352eddd6e89a8de54d59448 100644 (file)
@@ -1,18 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
 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
+DIST PlayOnLinux_4.0.12.tar.gz 3019423 RMD160 72221403cc06c06a3424484ea69aaeb2cb4078de SHA1 ce9709202a5a1696b2ab74ee915204b5101f5835 SHA256 45e097eea7846f93ac4d51032a8d87e019c085683652f3f01bb19f44ba67e42a
 EBUILD playonlinux-3.8.12.ebuild 3457 RMD160 f2d64401f27550aa830f83354ca3b15ab10c2b06 SHA1 9359480f025a2d3d9ab9896c05dcc3990460b757 SHA256 50a714b248d2a511f9581b64d0882e62adde08d43a91c71de8e466bd58914976
 EBUILD playonlinux-3.8.8.ebuild 3427 RMD160 16dc7e42addb23448bdf39815ca28e8130fdd290 SHA1 44452fcde6170f5ed231658ffc50a9e7d4c84f19 SHA256 055322c2c2f6e6a68fd982c6a07c3f8ad2e10b75630b1f4c5353c8bd4fa886d1
-MISC ChangeLog 2366 RMD160 54d41e50c96069193a326f7a62ff1703f6f9eb35 SHA1 6b8599dbf8856d64425ea7ce45c699943d654fb9 SHA256 a17c84542da9d36f2922a67b03fcb37079fa66117fbf5edf997105c0812b4901
+EBUILD playonlinux-4.0.12.ebuild 3366 RMD160 f659a98e0ec48b99663239e58a3e83332eb04cb8 SHA1 8e28a63b9d578e87857f8d2b8da3d7c3631eb0e5 SHA256 b29c3edac9e25cb060b39bf03b93743d87dd702eb70e36a5ea65021b4851a483
+MISC ChangeLog 2525 RMD160 2dd415c384a0f9aaecfc3e5cc9630bc94e1d810e SHA1 ca7175b10df8c5db50312c8623e7d85915a275c4 SHA256 7394de6a838f4dae40d02f08753ff340846779741c6a94fb98b210453744d5c5
 MISC metadata.xml 235 RMD160 912c18d651c89ab875721e672c8662991d236400 SHA1 852f7407ca9c454656d8ddaf0d09a1d1d86de5c3 SHA256 731d30622973e26ae3360298fa4123a3b96b9af206ad3be463c0d541613272ad
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iJwEAQEIAAYFAk58/TQACgkQfXuS5UK5QB15AgP+MlVaCUjaLkqHNKdlAJoN9Hbj
-M7CltqzNH48yLTFGtoRIlCnydqSp25VN8dtaRAcDTWZLB6kUXVPNIM/XMzMkz0Nf
-uUfm2Q12pgZkzqchRcwXSRRbfjgCOUhMdDG/ze9E6ly2Ce5D+lkeUc7ZrtAc92TD
-9lQvTGY/uiZvxynY6z8=
-=n2Ly
------END PGP SIGNATURE-----
diff --git a/app-emulation/playonlinux/playonlinux-4.0.12.ebuild b/app-emulation/playonlinux/playonlinux-4.0.12.ebuild
new file mode 100644 (file)
index 0000000..34a3234
--- /dev/null
@@ -0,0 +1,106 @@
+# 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-4.0.12.ebuild,v 1.1 2011/10/03 20:53:53 thev00d00 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
+       games_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 resources 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"
+
+       # 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,-bash,-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."
+}