summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-02-14 07:11:40 +0000
committerMichael Weber <xmw@gentoo.org>2013-02-14 07:11:40 +0000
commitf5f2a1d16e548b48c69656a3c1152feded472cd3 (patch)
treea37a4d8d3ca71ef8d7cea824f52aad4ef5595afa /app-emulation/playonlinux
parentVersion bump. (diff)
downloadgentoo-2-f5f2a1d16e548b48c69656a3c1152feded472cd3.tar.gz
gentoo-2-f5f2a1d16e548b48c69656a3c1152feded472cd3.tar.bz2
gentoo-2-f5f2a1d16e548b48c69656a3c1152feded472cd3.zip
Version bump (bug 424207)
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'app-emulation/playonlinux')
-rw-r--r--app-emulation/playonlinux/ChangeLog103
-rw-r--r--app-emulation/playonlinux/playonlinux-4.1.9.ebuild120
2 files changed, 125 insertions, 98 deletions
diff --git a/app-emulation/playonlinux/ChangeLog b/app-emulation/playonlinux/ChangeLog
index c6ab9b9b6b13..ba45560622af 100644
--- a/app-emulation/playonlinux/ChangeLog
+++ b/app-emulation/playonlinux/ChangeLog
@@ -1,102 +1,9 @@
# 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.19 2012/07/14 18:22:55 hwoarang Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/ChangeLog,v 1.20 2013/02/14 07:11:40 xmw Exp $
-*playonlinux-4.1.1-r1 (14 Jul 2012)
+*playonlinux-4.1.9 (14 Feb 2013)
- 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
+ 14 Feb 2013; Michael Weber <xmw@gentoo.org> +playonlinux-4.1.9.ebuild:
+ Version bump (bug 424207)
-*playonlinux-4.1.1 (16 Jun 2012)
-
- 16 Jun 2012; Pacho Ramos <pacho@gentoo.org> +playonlinux-4.1.1.ebuild,
- -playonlinux-4.0.14.ebuild, metadata.xml:
- Version bump, remove old.
-
- 16 Jun 2012; Pacho Ramos <pacho@gentoo.org> -playonlinux-3.8.12.ebuild,
- -playonlinux-3.8.8.ebuild, metadata.xml:
- Drop maintainer as he is not able to maintain this anymore, drop old.
-
-*playonlinux-4.0.14 (15 Dec 2011)
-
- 15 Dec 2011; Ian Whyman <thev00d00@gentoo.org> -playonlinux-4.0.12.ebuild,
- +playonlinux-4.0.14.ebuild:
- Bump to 4.0.14, fix bug #392575
-
-*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.
-
-*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:
- Use Python 2 (bug #363879).
-
-*playonlinux-3.8.8 (26 Dec 2010)
-
- 26 Dec 2010; Mounir Lamouri <volkmar@gentoo.org>
- +playonlinux-3.8.8.ebuild:
- Version bump to 3.8.8, bug 349639
-
- 09 Nov 2010; Mounir Lamouri <volkmar@gentoo.org>
- -playonlinux-3.7-r1.ebuild:
- Removing old ebuilds.
-
-*playonlinux-3.8.5 (09 Nov 2010)
-
- 09 Nov 2010; Mounir Lamouri <volkmar@gentoo.org>
- +playonlinux-3.8.5.ebuild:
- Version bump to 3.8.5. Fix bug 338764.
-
-*playonlinux-3.7.6 (11 Jul 2010)
-
- 11 Jul 2010; Fabio Erculiani <lxnay@gentoo.org> -playonlinux-3.7.3.ebuild,
- +playonlinux-3.7.6.ebuild:
- version bump to 3.7.6, close bug #316925
-
-*playonlinux-3.7.3 (11 Apr 2010)
-
- 11 Apr 2010; Mounir Lamouri <volkmar@gentoo.org> -playonlinux-3.6.ebuild,
- +playonlinux-3.7.3.ebuild:
- Version bump to 3.7.3, adding media-gfx/graphicsmagick to the deps.
- Fixing bug 305457 and bug 314209.
-
-*playonlinux-3.7-r1 (16 Nov 2009)
-
- 16 Nov 2009; Mounir Lamouri <volkmar@gentoo.org> -playonlinux-3.7.ebuild,
- +playonlinux-3.7-r1.ebuild:
- Add mesa-progs dependency, fix bug 291303
-
-*playonlinux-3.7 (31 Oct 2009)
-
- 31 Oct 2009; Mounir Lamouri <volkmar@gentoo.org> -playonlinux-3.5.ebuild,
- +playonlinux-3.7.ebuild:
- Version bump to 3.7 and remove oldest version. Fix bug 288935
-
-*playonlinux-3.6 (13 Jul 2009)
-
- 13 Jul 2009; Mounir Lamouri <volkmar@gentoo.org> +playonlinux-3.6.ebuild:
- Version bump to 3.6. Fix bug 277469
-
- 13 Jun 2009; Torsten Veller <tove@gentoo.org> playonlinux-3.5.ebuild:
- Add missing die: "..." -> die "..."
-
- 24 May 2009; Markus Meier <maekke@gentoo.org> playonlinux-3.5.ebuild:
- add ~amd64, bug #270163
-
-*playonlinux-3.5 (16 May 2009)
-
- 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/playonlinux-4.1.9.ebuild b/app-emulation/playonlinux/playonlinux-4.1.9.ebuild
new file mode 100644
index 000000000000..6983ef23f821
--- /dev/null
+++ b/app-emulation/playonlinux/playonlinux-4.1.9.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/playonlinux-4.1.9.ebuild,v 1.1 2013/02/14 07:11:40 xmw Exp $
+
+EAPI="4"
+PYTHON_DEPEND="2"
+
+inherit eutils python games gnome2-utils
+
+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
+ || ( net-analyzer/netcat net-analyzer/netcat6 )
+ 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() {
+ sed -e 's/PYTHON="python"/PYTHON="python2"/' -i playonlinux || die
+ python_convert_shebangs -r 2 .
+
+ # remove playonmac
+ rm etc/{playonmac.icns,terminal.applescript} || die
+
+ # remove desktop integration
+ rm etc/{PlayOnLinux.desktop,PlayOnLinux.directory,playonlinux-Programmes.menu} || die
+}
+
+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/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}
+
+ # icons
+ doicon -s 128 etc/${PN}.png
+ for size in 16 22 32; do
+ newicon -s $size etc/${PN}$size.png ${PN}.png
+ done
+
+ dodoc CHANGELOG
+
+ games_make_wrapper ${PN} "./${PN}" "${GAMES_DATADIR}/${PN}"
+ make_desktop_entry ${PN} ${MY_PN} ${PN} Game
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ python_mod_optimize "${GAMES_DATADIR}/${PN}"
+ gnome2_icon_cache_update
+}
+
+pkg_prerm() {
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ 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."
+ fi
+}
+
+pkg_postrm() {
+ python_mod_cleanup "${GAMES_DATADIR}/${PN}"
+ gnome2_icon_cache_update
+}