summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/playonlinux/ChangeLog10
-rw-r--r--app-emulation/playonlinux/Manifest26
-rw-r--r--app-emulation/playonlinux/files/playonlinux-4.1.1-not-exclude-ipv6.patch27
-rw-r--r--app-emulation/playonlinux/metadata.xml4
-rw-r--r--app-emulation/playonlinux/playonlinux-4.1.1-r1.ebuild111
5 files changed, 173 insertions, 5 deletions
diff --git a/app-emulation/playonlinux/ChangeLog b/app-emulation/playonlinux/ChangeLog
index aeb6f8a6f49f..c6ab9b9b6b13 100644
--- a/app-emulation/playonlinux/ChangeLog
+++ b/app-emulation/playonlinux/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-emulation/playonlinux
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/ChangeLog,v 1.18 2012/06/16 19:12:24 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/ChangeLog,v 1.19 2012/07/14 18:22:55 hwoarang Exp $
+
+*playonlinux-4.1.1-r1 (14 Jul 2012)
+
+ 14 Jul 2012; Markos Chandras <hwoarang@gentoo.org>
+ +files/playonlinux-4.1.1-not-exclude-ipv6.patch, +playonlinux-4.1.1-r1.ebuild,
+ metadata.xml:
+ Add Ipv6 support thanks to Michael Mol <mikemol@gmail.com>. Bug #425330
*playonlinux-4.1.1 (16 Jun 2012)
@@ -93,4 +100,3 @@
16 May 2009; Mounir Lamouri <volkmar@gentoo.org> +metadata.xml,
+playonlinux-3.5.ebuild:
Initial commit. See bug 213287
-
diff --git a/app-emulation/playonlinux/Manifest b/app-emulation/playonlinux/Manifest
index e80158b8f7d7..8a8488f324e4 100644
--- a/app-emulation/playonlinux/Manifest
+++ b/app-emulation/playonlinux/Manifest
@@ -1,4 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX playonlinux-4.1.1-not-exclude-ipv6.patch 976 SHA256 0064e7c74e90650d5bd6d7e030369f67096e0b04b4a6657946686b56666820b7 SHA512 158e1b47dc017d84c1679707dbf2eaf941ce04abad9ce0afee0dc6ad3702e1aa2b1673cd343c1e50e1514e8efcb3edde4d98650546086b204964491bf8a843ac WHIRLPOOL 0b2399035ce01ffd482457581270fb347e2901818305cdd1cad5942fa1297f016a9b54382a8b685f48ec47020ccf92c549a2b21e5d8c23d2fbb12ab3dd0fb5e3
DIST PlayOnLinux_4.1.1.tar.gz 4010031 SHA256 eb314836ac798c7cbafdc76dc0660b2178610d3dc557d97aa7c72dfc0dee8e63 SHA512 4062f6a507e613bc46a118571fc0c6560b20adf3dd4707f581730bf1877a1fbbb234558bedd2b3be81c5ff8f9429dbc6c2030f9ad5b3b5174ff3908c3d0c43fd WHIRLPOOL 87270a50bc356cccd7347aca78d2fd63812701c8cc407b33b94636e11601d5d1bf9e7fefbf4c86195e1e4fd62506ba8c1a0e4107e93185552410ae6ec5004011
+EBUILD playonlinux-4.1.1-r1.ebuild 3219 SHA256 957b1ea749917e5ec6f895ed41cdf9dd4c3540845b6511544385c5fc054eef1d SHA512 4c3447afb0deed7fafb4ac98d276d0d32447471e36dd71c06c04af4a45be3821b265ffabaece1e4b8db8c7da35bf3e10dba19b9613cdd92b6d92bda465db9a92 WHIRLPOOL 1d31fa4be4b505199a270f54095f12571d917791c34c02f79b96d77e1249c168ef736ac6e6b3dffb63a64297fe0d6749b20668c24004f3b65a7fab13d44a5b55
EBUILD playonlinux-4.1.1.ebuild 3163 SHA256 59205f96005eaad222c07875089a7bccc81587f5d3e9705440a0b41c8e5f0767 SHA512 55375c3c7ab5641df2a1d5997c78eac660e09f5cf8636a042e1a17e531ff8935226936816aad53d73ce69acb488815e4d7484ebc0be6aad97326f55853bb5452 WHIRLPOOL 087b8efe8be4eea069f68a830cada845fa0bee604b3d09c57fcad265ea27e3cbfcbf467ac3f88f09c27c06d0399379cdd0183bb0068f6dd2a73401388141c390
-MISC ChangeLog 3068 SHA256 3ddd0992a9b6c59c10757332edd7f29cb3d9b6b7fc5456b89745c301ce712ad7 SHA512 58ae298a8a2de8577e4fb5aa2e0d95428fb6d3c512affab39a29ceb5e62fabdf9534c9d41eb146247112d22babe21c5418760ae5ca6b421fcd77e292513a9f63 WHIRLPOOL d4e673bf1820e2fe4098cbc1271a618fe1fcd4ece211f034adfc1abd915bc497db77fbb72f2f677cbb802a347326ebbbd252b12fd9d11823cd8ea1c6d7281304
-MISC metadata.xml 301 SHA256 131f8da4bc3a0348f25dac5522bef5e52e6877f941535e82ad3b9df6abcf9945 SHA512 60c245f1c3ff65b3a9f202a871431bacff7e7f5caa8bc91c0a75935bac0ef25fd6f259dd3c4cc2d312fd7a096803cdd45b9fbc8e3b89e29efba7ce6db5d42349 WHIRLPOOL e9e50083837bbcb945e076f9b6e1d72bd7f0b1dc8e8d7142225671b670cca3316fb68f9b7cabc99027c5f92b7751321c760707fe743d3bbc877bb74641f0efcc
+MISC ChangeLog 3332 SHA256 ca391aa61a956118eabaf3037d4e483abd0ab68747281290071c0c873df078dc SHA512 7e91cf42ce3c798843f56036aadc6b12ff4014d01d56ab02cea8bd97f9b2675146ed78c0f93b51cb9a81cdd6612159a4b41282e4fd9c478bf091c9dfd700ced8 WHIRLPOOL ed5c625cc8c23da3768c363a2a085e1c0fd50684d6a896a16b65ee3a344b714915d2e92c472a2979e8c212f98084fe68ce1c666afb3e3165631a3e4d3378bb41
+MISC metadata.xml 349 SHA256 533abdc56b3ce793ec1cd836a87f45fbc3f4b90202618e4bae3887ea6d2cc00b SHA512 3280af5d9614fd76deb16ab50b6afc6d08020c17d997df16780850b2d21fcc1f04ddf72849c4e58f6f10163647dcfffc664d489b601aaa4e797021d7d5db12a7 WHIRLPOOL 05d6e6f7e7e60de7cee3b1d6456a2b2bab6193e557dc202b161ac340970d745fe670ce50ffa1f6b1e12498ae1374a554285b231e8fec21347894491a136a2b62
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCAAGBQJQAbkFAAoJEPqDWhW0r/LCAMgP/0rY00dkQDeLtuJWoegn/dmt
+ZoDIkR3KiFPcWx1r7uNRiiek4AOJNwzwJFrSwGw+LQ1CIbIdVnscJfZfPHwr1Nqd
+wicPbPBVRwp29pFlFGM0DB7KiM7k1+Kvcdd7pwPk2vmEcapOuM2ITXlNDfdMpA2h
+V537MwlCQXEJVLWVR4XnmxxPMqRdE45q6tTbrq7GWw+nKb5GPVEL+ZwryJ1/QpmR
+7ztBO/VFebK5mfEOh+KeJSfs0Tq9bWq30/NI5b/rH3I9iDuU1P4EUW2bdzfL9H1w
+B11s7NU7DxqxdhI1UcKqEjDN5mERwbeujzq3KDDp4a4aR1iK6udD3GAkZf/f1h9b
+qee9+5P/0KSrPbfiMwd+lbrmCfpFiUFvH3JFpdH5OoN1tC8XGrO/fhap8arqML5Z
+TjJw1Img9vcmKTMN617tY6Dik4FBysf+v25EbZN5BcfqGfTAjSaCcE/EFOUoYu2B
+h+1oPOi4Q/YGgTyHiXF2spFeo5dETYOI4uOXSLejFqthE8MOSdKQudMDwhPM43dO
+iRBwsIVjtBJ5G3gkGIvwrCPTfnXIVnubrDevxApjWJ353A/CcJLLV/3oOdNt1xk6
+RMIhOICQCx195Xp2YUEV8m/7gDY+WdnpNAzdKU7+TESNHWMLcXzHVHesBIZPeqCY
+N+a1ib3oLD4yXO88+9X4
+=CGLC
+-----END PGP SIGNATURE-----
diff --git a/app-emulation/playonlinux/files/playonlinux-4.1.1-not-exclude-ipv6.patch b/app-emulation/playonlinux/files/playonlinux-4.1.1-not-exclude-ipv6.patch
new file mode 100644
index 000000000000..c783173115c3
--- /dev/null
+++ b/app-emulation/playonlinux/files/playonlinux-4.1.1-not-exclude-ipv6.patch
@@ -0,0 +1,27 @@
+# Changes wget usage to _allow_ IPv6, but to prefer IPv4. This way, DNS64 and
+# IPv6-only http_proxy scenarios should work.
+# Patch written by Michael Mol <mikemol@gmail.com>
+# Patch based on dialog with upstream, ascertaining their purpose for using
+# -4, and coming up with an agreed-upon workaround. Upstream equivalent is
+# committed to their vcs, and will probably appear in release 4.1.4.
+
+*** python/lib/Variables.py 2012-07-10 20:43:56.968567114 -0400
+--- python/lib/Variables-patched.py 2012-07-10 20:44:21.491898941 -0400
+*************** if (os.environ["POL_OS"] == "Mac"):
+*** 26,28 ****
+ os_name = "darwin"
+! os.environ["POL_WGET"] = "wget -4 -q"
+
+--- 26,28 ----
+ os_name = "darwin"
+! os.environ["POL_WGET"] = "wget --prefer-family=IPv4 -q"
+
+*************** if (os.environ["POL_OS"] == "Linux"):
+*** 39,41 ****
+ else:
+! os.environ["POL_WGET"] = "wget -4 -q"
+
+--- 39,41 ----
+ else:
+! os.environ["POL_WGET"] = "wget --prefer-family=IPv4 -q"
+
diff --git a/app-emulation/playonlinux/metadata.xml b/app-emulation/playonlinux/metadata.xml
index 31b9eb325aad..598cfa299b71 100644
--- a/app-emulation/playonlinux/metadata.xml
+++ b/app-emulation/playonlinux/metadata.xml
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <herd>proxy-maintainers</herd>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
+ <email>mikemol@gmail.com</email>
+ <name>Michael Mol</name>
</maintainer>
<use>
<flag name="winbind">Enables support for the winbind auth daemon</flag>
diff --git a/app-emulation/playonlinux/playonlinux-4.1.1-r1.ebuild b/app-emulation/playonlinux/playonlinux-4.1.1-r1.ebuild
new file mode 100644
index 000000000000..ced9306fd9bc
--- /dev/null
+++ b/app-emulation/playonlinux/playonlinux-4.1.1-r1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/playonlinux-4.1.1-r1.ebuild,v 1.1 2012/07/14 18:22:55 hwoarang Exp $
+
+EAPI="4"
+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="winbind"
+
+DEPEND=""
+RDEPEND="app-emulation/wine
+ app-arch/cabextract
+ app-arch/p7zip
+ app-arch/unzip
+ app-crypt/gnupg
+ dev-python/wxpython:2.8
+ || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
+ net-misc/wget
+ x11-apps/mesa-progs
+ x11-terms/xterm
+ media-gfx/icoutils
+ winbind? ( net-fs/samba[winbind] ) "
+
+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() {
+ epatch "${FILESDIR}/${P}-not-exclude-ipv6.patch"
+ sed -i -e "s/\(Categories=\).*/\1Game;Emulator;/" etc/PlayOnLinux.desktop \
+ || die
+ sed -e 's/PYTHON="python"/PYTHON="python2"/' -i lib/variables playonlinux || die
+ python_convert_shebangs -r 2 .
+}
+
+src_install() {
+ # all things without exec permissions
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r resources lang lib etc plugins
+
+ # bash/ install
+ exeinto "${GAMES_DATADIR}/${PN}/bash"
+ doexe bash/*
+ exeinto "${GAMES_DATADIR}/${PN}/bash/terminals"
+ doexe bash/terminals/*
+ exeinto "${GAMES_DATADIR}/${PN}/bash/expert"
+ doexe bash/expert/*
+
+ # python/ install
+ exeinto "${GAMES_DATADIR}/${PN}/python"
+ doexe python/*
+ # sub dir without exec permissions
+ insinto "${GAMES_DATADIR}/${PN}/python"
+ doins -r python/lib
+
+ # main executable files
+ exeinto "${GAMES_DATADIR}/${PN}"
+ doexe ${PN}{,-pkg,-bash,-shell,-url_handler}
+
+ # 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
+
+ # 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
+
+ dodoc CHANGELOG
+
+ doicon etc/${PN}.png
+ domenu etc/${MY_PN}.desktop
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ python_mod_optimize "${GAMES_DATADIR}/${PN}"
+}
+
+pkg_postrm() {
+ python_mod_cleanup "${GAMES_DATADIR}/${PN}"
+
+ elog "Installed softwares and games with playonlinux have not been removed."
+ elog "To remove them, you can re-install playonlinux and remove them using it"
+ elog "or do it manually by removing .PlayOnLinux/ in your home directory."
+}