diff options
Diffstat (limited to 'app-emulation/playonlinux')
-rw-r--r-- | app-emulation/playonlinux/Manifest | 10 | ||||
-rw-r--r-- | app-emulation/playonlinux/playonlinux-4.1.0.ebuild | 106 | ||||
-rw-r--r-- | app-emulation/playonlinux/playonlinux-4.1.1.ebuild | 106 | ||||
-rw-r--r-- | app-emulation/playonlinux/playonlinux-4.1.3.ebuild | 110 | ||||
-rw-r--r-- | app-emulation/playonlinux/playonlinux-4.1.4.ebuild | 110 | ||||
-rw-r--r-- | app-emulation/playonlinux/playonlinux-4.1.5.ebuild | 110 | ||||
-rw-r--r-- | app-emulation/playonlinux/playonlinux-4.1.6.ebuild | 132 | ||||
-rw-r--r-- | app-emulation/playonlinux/playonlinux-4.1.8.ebuild | 133 | ||||
-rw-r--r-- | app-emulation/playonlinux/playonlinux-4.2.1.ebuild | 133 | ||||
-rw-r--r-- | app-emulation/playonlinux/playonlinux-4.2.5.ebuild | 133 | ||||
-rw-r--r-- | app-emulation/playonlinux/playonlinux-4.2.6.ebuild | 133 |
11 files changed, 0 insertions, 1216 deletions
diff --git a/app-emulation/playonlinux/Manifest b/app-emulation/playonlinux/Manifest deleted file mode 100644 index 5698820c..00000000 --- a/app-emulation/playonlinux/Manifest +++ /dev/null @@ -1,10 +0,0 @@ -DIST PlayOnLinux_4.1.0.tar.gz 4010023 SHA256 d4131068ff86342b3fdd3a9e0613aef80500a103f6c5c4f5f4eb7393931e36e5 SHA512 b01cbf25bbb59f606dff7fd5ced5b5f96bf0d856f23353987e667fe2cc168909683cb819b4d8789f2b7561f608dad888f495b7cd679d3c826549871f8fbe673d WHIRLPOOL a19e083a8086203ca18791524a309d63c52910e21afcf06c36b3c7f170f6437550c4ca70900ed1f457bf82d58b26eb04a67a906c4b79261b77cfdcd0f9df1da3 -DIST PlayOnLinux_4.1.1.tar.gz 4010031 SHA256 eb314836ac798c7cbafdc76dc0660b2178610d3dc557d97aa7c72dfc0dee8e63 SHA512 4062f6a507e613bc46a118571fc0c6560b20adf3dd4707f581730bf1877a1fbbb234558bedd2b3be81c5ff8f9429dbc6c2030f9ad5b3b5174ff3908c3d0c43fd WHIRLPOOL 87270a50bc356cccd7347aca78d2fd63812701c8cc407b33b94636e11601d5d1bf9e7fefbf4c86195e1e4fd62506ba8c1a0e4107e93185552410ae6ec5004011 -DIST PlayOnLinux_4.1.3.tar.gz 4191726 SHA256 499bb79067237c238115fb3225d9bcc3b2d2fc62b6b9e2455feeac7a2c783ecd SHA512 0c67241ba659246ffd6b18421e482e028b4871ba0da98ec329599a81587ad18dbd983e3ea419a0c983a330771c78b3c28b76177f67bae530954f8f6419a86439 WHIRLPOOL ac596572aadf7e5a9fbbad3ddf5eec739af1555032e7d60a27840204cf201799684a38cc3d9761fae3f240d92fd886cab5d3d72e19a458c1b378111c0785568e -DIST PlayOnLinux_4.1.4.tar.gz 3999026 SHA256 304b2bb3431bc3d516976938bc633d4bbe2327e04c869f3bdfba05e232edab53 SHA512 f330602116efa25910f9e459a07ec59938fbc85e8d400fd6def7b48cac525ebd187b19eb9202f1801b56cd9d3dd8e6a5f8d664840afb973774ed540953705204 WHIRLPOOL d8bd7ad3e9b7b9ca27799fbfa7a651458e6569688c1d828c36e530c3119304d4f2331fb69f762e31285e5f5f35a8a37c5faf2bed05cf4fbed16d9dc642ce521f -DIST PlayOnLinux_4.1.5.tar.gz 3994564 SHA256 8a01cbb39bf6bae6d763bcf561bd8231eb462a85c73b804b599aab9561f8a981 SHA512 ae9e906a19a0daf26dee5656eb758f8fc6b864ca5a8fb88281b3b2c9543a06b352df72428e7028ec77cb1656aae01bc62ce443f45e62177c3a80e45d813e6de0 WHIRLPOOL 83137f970375ad9d061d741048ba928e6fd4ae489a3ef90aac57e16d00403f367925fc5ccb23fa5f11aa07503288a0097b77516196722245e5385b2b89c23774 -DIST PlayOnLinux_4.1.6.tar.gz 3994906 SHA256 e245d7b2f8255df21c3866cab45d2445b5759da6066e9c29b6b92cb4b0d2997c SHA512 a8a150d80b0c4eeb56809286b9f71360aaebca9a7ce7ad5d81fb4cd47e8c889dcdfaaa4d9b3fd0448541248e53b7c9103c49f2cf71346cd9ad2b3a054fac1983 WHIRLPOOL aa7977224ad3a55da79f4a0054c716b8916c5b76ab005341519021ea6d498857fc5a501f9a54309ee84ef7f47acc63a6de0801e415e61dcc870da7c3a2cf1bfe -DIST PlayOnLinux_4.1.8.tar.gz 4001263 SHA256 da7c5a92f19e3d72f393979a37b8c7ac7104765081c092ffeb855190742b2ec3 SHA512 027ff8adfc7bc9392c4353fbbf36f3b7adb2e0d64f550abca00d3f77d5b8fa387fce4965aa48f147b0492ba07a79f2271a5ab4b05f501752f9d8b94e3016ce43 WHIRLPOOL 1abe6b84da2455f06706f41bcd4e6c3f6f504a26e8eb8891d876fcb118825e51ee0fcf4043c63248869c78875e79f8732f38bd7a7c581d1d3ca7465dc7f0d56b -DIST PlayOnLinux_4.2.1.tar.gz 4308243 SHA256 c6e6622afc502cbd89f0d274055282c6a4d696273f167a76acba76a04e9cb0bb SHA512 ece0987275862530665eaeaa37b20ea3a14e367c19399c6024c55130dd7bc29200c5459ab72b42d2f410355793bf2166348aecb691f8179191ccac57217f9ba7 WHIRLPOOL 834f375aa1b8daf2e738368c48bd75d9a78931f6379c5184632061a8f50a1d89c91d69f317b51856489621ca14701ce38a32a3631737cb2b33453e001d2ea9e8 -DIST PlayOnLinux_4.2.5.tar.gz 4690660 SHA256 9fa13e5aa56a5327b1b8ce1bfe77147814a052ac762fbaa9d27c51616db4b097 SHA512 5773ec5a915e4ab968f261a17b0c9cc2e452c244f0e8137fc219e3b4d5e37f0f4e2709888870f786a9adc8647bd939da2f17977aebe1d455e0fdac3aaa73eca1 WHIRLPOOL 51adbc5aa1e2234d4be40742cf2161d4cfe6fdfe9f79f7aae03d74ba6f84ccad9a178ae7c77315ba84963fe7e7cbce0dfa34a512b96c99cbef260d2832d43989 -DIST PlayOnLinux_4.2.6.tar.gz 3202517 SHA256 34fc06ce55f889673529a405d17ffc045a68cc998a679377056ed63988dd64e2 SHA512 41c4af5335874020f6405f460a0b9787f7dcfb77790661ff254d2af7ff107a94020b75a8b4f1856f1e4b866e63dee49d5823edf4867d64cd20c41b17387f5490 WHIRLPOOL 4278cc00c76abfeecb87d125046a977c69d5e62b751481ffa5ed4ca4a911507bc6b650bd8648cc7b4cd794e7f0c9e91197adc3854c963770bd87a535d83ab562 diff --git a/app-emulation/playonlinux/playonlinux-4.1.0.ebuild b/app-emulation/playonlinux/playonlinux-4.1.0.ebuild deleted file mode 100644 index a8ef12cf..00000000 --- a/app-emulation/playonlinux/playonlinux-4.1.0.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -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." -} diff --git a/app-emulation/playonlinux/playonlinux-4.1.1.ebuild b/app-emulation/playonlinux/playonlinux-4.1.1.ebuild deleted file mode 100644 index a8ef12cf..00000000 --- a/app-emulation/playonlinux/playonlinux-4.1.1.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -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." -} diff --git a/app-emulation/playonlinux/playonlinux-4.1.3.ebuild b/app-emulation/playonlinux/playonlinux-4.1.3.ebuild deleted file mode 100644 index 0fdcc7e6..00000000 --- a/app-emulation/playonlinux/playonlinux-4.1.3.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# 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.ebuild,v 1.1 2012/06/16 19:12:24 pacho 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() { - 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." -} diff --git a/app-emulation/playonlinux/playonlinux-4.1.4.ebuild b/app-emulation/playonlinux/playonlinux-4.1.4.ebuild deleted file mode 100644 index 0fdcc7e6..00000000 --- a/app-emulation/playonlinux/playonlinux-4.1.4.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# 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.ebuild,v 1.1 2012/06/16 19:12:24 pacho 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() { - 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." -} diff --git a/app-emulation/playonlinux/playonlinux-4.1.5.ebuild b/app-emulation/playonlinux/playonlinux-4.1.5.ebuild deleted file mode 100644 index 0fdcc7e6..00000000 --- a/app-emulation/playonlinux/playonlinux-4.1.5.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# 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.ebuild,v 1.1 2012/06/16 19:12:24 pacho 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() { - 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." -} diff --git a/app-emulation/playonlinux/playonlinux-4.1.6.ebuild b/app-emulation/playonlinux/playonlinux-4.1.6.ebuild deleted file mode 100644 index 241edd16..00000000 --- a/app-emulation/playonlinux/playonlinux-4.1.6.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# 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.ebuild,v 1.1 2012/06/16 19:12:24 pacho 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() { - 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 - - if [ -f "/usr/bin/python2.6" ]; then - addwrite /usr/local/bin/ - if [ ! -f "/usr/local/bin/python2.6" ]; then - dosym /usr/bin/python2.6 /usr/local/bin/ || die - else - echo "The file already existed" - rm /usr/local/bin/python2.6 || die - dosym /usr/bin/python2.6 /usr/local/bin/ || die - echo "Replaced it" - fi - if [ ! -f "/usr/local/bin/python2.6-config" ]; then - dosym /usr/bin/python-config-2.6 /usr/local/bin/python2.6-config || die - else - echo "The file already existed" - rm /usr/local/bin/python2.6-config || die - dosym /usr/bin/python-config-2.6 /usr/local/bin/python2.6-config || die - echo "Replaced it" - fi - else - ewarn "There is no python2.6, you should emerge python2.6" - fi -} - -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." -} diff --git a/app-emulation/playonlinux/playonlinux-4.1.8.ebuild b/app-emulation/playonlinux/playonlinux-4.1.8.ebuild deleted file mode 100644 index 8b22bda7..00000000 --- a/app-emulation/playonlinux/playonlinux-4.1.8.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# 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.ebuild,v 1.1 2012/06/16 19:12:24 pacho 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 - net-analyzer/netcat6 - 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() { - 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 - - if [ -f "/usr/bin/python2.6" ]; then - addwrite /usr/local/bin/ - if [ ! -f "/usr/local/bin/python2.6" ]; then - dosym /usr/bin/python2.6 /usr/local/bin/ || die - else - echo "The file already existed" - rm /usr/local/bin/python2.6 || die - dosym /usr/bin/python2.6 /usr/local/bin/ || die - echo "Replaced it" - fi - if [ ! -f "/usr/local/bin/python2.6-config" ]; then - dosym /usr/bin/python-config-2.6 /usr/local/bin/python2.6-config || die - else - echo "The file already existed" - rm /usr/local/bin/python2.6-config || die - dosym /usr/bin/python-config-2.6 /usr/local/bin/python2.6-config || die - echo "Replaced it" - fi - else - ewarn "There is no python2.6, you should emerge python2.6" - fi -} - -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." -} diff --git a/app-emulation/playonlinux/playonlinux-4.2.1.ebuild b/app-emulation/playonlinux/playonlinux-4.2.1.ebuild deleted file mode 100644 index 8b22bda7..00000000 --- a/app-emulation/playonlinux/playonlinux-4.2.1.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# 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.ebuild,v 1.1 2012/06/16 19:12:24 pacho 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 - net-analyzer/netcat6 - 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() { - 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 - - if [ -f "/usr/bin/python2.6" ]; then - addwrite /usr/local/bin/ - if [ ! -f "/usr/local/bin/python2.6" ]; then - dosym /usr/bin/python2.6 /usr/local/bin/ || die - else - echo "The file already existed" - rm /usr/local/bin/python2.6 || die - dosym /usr/bin/python2.6 /usr/local/bin/ || die - echo "Replaced it" - fi - if [ ! -f "/usr/local/bin/python2.6-config" ]; then - dosym /usr/bin/python-config-2.6 /usr/local/bin/python2.6-config || die - else - echo "The file already existed" - rm /usr/local/bin/python2.6-config || die - dosym /usr/bin/python-config-2.6 /usr/local/bin/python2.6-config || die - echo "Replaced it" - fi - else - ewarn "There is no python2.6, you should emerge python2.6" - fi -} - -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." -} diff --git a/app-emulation/playonlinux/playonlinux-4.2.5.ebuild b/app-emulation/playonlinux/playonlinux-4.2.5.ebuild deleted file mode 100644 index abb687f7..00000000 --- a/app-emulation/playonlinux/playonlinux-4.2.5.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# 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.ebuild,v 1.1 2012/06/16 19:12:24 pacho 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 - net-analyzer/netcat6 - 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() { - 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 - - if [ -f "/usr/bin/python2.6" ]; then - addwrite /usr/local/bin/ - if [ ! -f "/usr/local/bin/python2.6" ]; then - dosym /usr/bin/python2.6 /usr/local/bin/ || die - else - echo "The file already existed" - rm /usr/local/bin/python2.6 || die - dosym /usr/bin/python2.6 /usr/local/bin/ || die - echo "Replaced it" - fi - if [ ! -f "/usr/local/bin/python2.6-config" ]; then - dosym /usr/bin/python-config-2.6 /usr/local/bin/python2.6-config || die - else - echo "The file already existed" - rm /usr/local/bin/python2.6-config || die - dosym /usr/bin/python-config-2.6 /usr/local/bin/python2.6-config || die - echo "Replaced it" - fi - else - ewarn "There is no python2.6, you should emerge python2.6" - fi -} - -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." -} diff --git a/app-emulation/playonlinux/playonlinux-4.2.6.ebuild b/app-emulation/playonlinux/playonlinux-4.2.6.ebuild deleted file mode 100644 index abb687f7..00000000 --- a/app-emulation/playonlinux/playonlinux-4.2.6.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# 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.ebuild,v 1.1 2012/06/16 19:12:24 pacho 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 - net-analyzer/netcat6 - 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() { - 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 - - if [ -f "/usr/bin/python2.6" ]; then - addwrite /usr/local/bin/ - if [ ! -f "/usr/local/bin/python2.6" ]; then - dosym /usr/bin/python2.6 /usr/local/bin/ || die - else - echo "The file already existed" - rm /usr/local/bin/python2.6 || die - dosym /usr/bin/python2.6 /usr/local/bin/ || die - echo "Replaced it" - fi - if [ ! -f "/usr/local/bin/python2.6-config" ]; then - dosym /usr/bin/python-config-2.6 /usr/local/bin/python2.6-config || die - else - echo "The file already existed" - rm /usr/local/bin/python2.6-config || die - dosym /usr/bin/python-config-2.6 /usr/local/bin/python2.6-config || die - echo "Replaced it" - fi - else - ewarn "There is no python2.6, you should emerge python2.6" - fi -} - -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." -} |