]> Pileus Git - ~andy/sunrise/commitdiff
games-util/playonlinux: New ebuild for bug 213287
authorMounir Lamouri <volkmar@gentoo.org>
Wed, 11 Jun 2008 19:29:45 +0000 (19:29 +0000)
committerMounir Lamouri <volkmar@gentoo.org>
Wed, 11 Jun 2008 19:29:45 +0000 (19:29 +0000)
svn path=/sunrise/; revision=6294

games-util/playonlinux/ChangeLog
games-util/playonlinux/Manifest
games-util/playonlinux/playonlinux-3.0.1.ebuild [deleted file]
games-util/playonlinux/playonlinux-3.0.2.ebuild [new file with mode: 0644]

index e22919f0f5c2a7769731aef76b8905da9b614b03..5382c87636236f4894ba732ea02dfbccfc6dd9b7 100644 (file)
@@ -2,6 +2,10 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  11 Jun 2008; Mounir Lamouri (Volkmar) <mounir.lamouri@gmail.com>
+  -playonlinux-3.0.1.ebuild, +playonlinux-3.0.2.ebuild:
+  New ebuild for bug 213287
+
   06 Jun 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
   playonlinux-3.0.1.ebuild:
   Drop some unneeded lines and remove LICENSE from dodoc
index f6951195ee9cd20b962a2947b1c4281f9d9f0331..d72834e2557d527bc20e5e3411bc4e91291303cf 100644 (file)
@@ -1,4 +1,4 @@
-DIST PlayOnLinux_3.0.1.tar.gz 1001421 RMD160 751074b5f0702c414f0d73d5c0a09719b8389dcc SHA1 5dd516fa3e42907df5e7135396029a568c3ca417 SHA256 65d35abb755b160b17508e76ec25244729a950fd65a96801f9bdf26ca923bc7b
-EBUILD playonlinux-3.0.1.ebuild 831 RMD160 51db1520b705bc126aea067d18cebe0c3a4b6705 SHA1 8cecb5da4bd94fdbff278f7bd6211efb8afc0950 SHA256 9173a6c14ebc6d6ab0b2d75ef9ecb809b91d65d1afba04c7ff47e723429f7870
-MISC ChangeLog 409 RMD160 ed2346b009671f1f4c3c3b41ca5167fca93b9abd SHA1 f5dec332bf7827314385047cfd7b6bac83f4692e SHA256 7ca5a19420e193d40a4c68092f110a57e171765cdfca9eb8a742e46d034a21aa
+DIST PlayOnLinux_3.0.2.tar.gz 800637 RMD160 4f3c388dc21dd0c03d8c28524bb145cd5ec6ba33 SHA1 98b304436ad3bbb56a04f6c815c5c8f790859318 SHA256 aca92210b294204d7a856fbbbbb4ecbb69c1c18e87108b7494a0161fadfbefc1
+EBUILD playonlinux-3.0.2.ebuild 2327 RMD160 be9ce848de5a364c91548665d8ef73fce6df558b SHA1 406c903fff5075def6d8d0417280c237806195a9 SHA256 094f88470676bdc561828ce21d2b324a179193a6875e0bcea7f77b0a331c065e
+MISC ChangeLog 561 RMD160 a7b5cb200ecb52465d45e0e8041edf1722a33e01 SHA1 96b3550e7353c347d3e6828b57f5d426131ca26e SHA256 251ef2a179922e15d5b7767074e03c0b2355b9c970abe8875707c9747cc068bc
 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/games-util/playonlinux/playonlinux-3.0.1.ebuild b/games-util/playonlinux/playonlinux-3.0.1.ebuild
deleted file mode 100644 (file)
index c904a49..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="1"
-
-inherit games
-
-DESCRIPTION="PlayOnLinux allows you to install and use many games and softwares designed to run with Windows(tm)."
-HOMEPAGE="http://www.playonlinux.com/"
-SRC_URI="http://www.playonlinux.com/script_files/PlayOnLinux/${PV}/PlayOnLinux_${PV}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-
-DEPEND="dev-lang/python
-               x11-libs/wxGTK
-               x11-libs/gtk+
-               www-client/lynx
-               app-arch/unzip
-               app-arch/cabextract
-               sys-devel/binutils
-               x11-terms/xterm
-               app-emulation/wine
-               media-gfx/imagemagick
-               app-arch/lzma-utils"
-RDEPEND="${DEPEND}
-               dev-python/wxpython"
-
-S="${WORKDIR}/playonlinux"
-
-src_install() {
-       ./playonlinux || die "install failed"
-       dodoc CHANGELOG || die "doc failed"
-}
-
diff --git a/games-util/playonlinux/playonlinux-3.0.2.ebuild b/games-util/playonlinux/playonlinux-3.0.2.ebuild
new file mode 100644 (file)
index 0000000..564ab1a
--- /dev/null
@@ -0,0 +1,79 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="1"
+
+inherit eutils games
+
+DESCRIPTION="Set of scripts to easily configure wine for numerous Windows(tm) games."
+HOMEPAGE="http://playonlinux.com/"
+SRC_URI="http://www.playonlinux.com/script_files/PlayOnLinux/${PV}/PlayOnLinux_${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="x11-libs/gtk+
+               x11-libs/wxGTK:2.8
+               dev-python/wxpython:2.8
+               app-arch/unzip
+               app-arch/cabextract
+               x11-terms/xterm
+               app-emulation/wine
+               media-gfx/imagemagick
+               app-arch/lzma-utils"
+# lzma-utils is a run dep regarding playonlinux team
+
+S="${WORKDIR}/${PN}"
+
+src_install() {
+       # all things without exec permissions
+       insinto "${GAMES_DATADIR}/${PN}"
+       doins -r "${S}/themes" \
+       "${S}/lang"     "${S}/lib" \
+       "${S}/etc" || die "installation failed"
+
+       # bin/ install
+       exeinto "${GAMES_DATADIR}/${PN}/bin"
+       doexe "${S}"/bin/* || die "installation failed"
+
+       # bash/ install
+       exeinto "${GAMES_DATADIR}/${PN}/bash"
+       doexe "${S}"/bash/* || die "installation failed"
+       exeinto "${GAMES_DATADIR}/${PN}/bash/terminals"
+       doexe "${S}"/bash/terminals/* || die "installation failed"
+       exeinto "${GAMES_DATADIR}/${PN}/bash/expert"
+       doexe "${S}"/bash/expert/* || die "installation failed"
+       exeinto "${GAMES_DATADIR}/${PN}/bash/options"
+       doexe "${S}"/bash/options/* || die "installation failed"
+
+       # python/ install
+       exeinto "${GAMES_DATADIR}/${PN}/python"
+       doexe "${S}"/python/* || die "installation failed"
+       exeinto "${GAMES_DATADIR}/${PN}/python/tools"
+       doexe "${S}"/python/tools/* || die "installation failed"
+       # sub dir without exec permissions
+       insinto "${GAMES_DATADIR}/${PN}/python"
+       doins -r "${S}"/python/lib || die "installation failed"
+
+       # main executable files
+       exeinto "${GAMES_DATADIR}/${PN}"
+       doexe "${S}/${PN}" || die "installation failed"
+       exeinto "${GAMES_DATADIR}/${PN}"
+       doexe "${S}/${PN}-pkg" || die "installation failed"
+
+       # making a script to run app from ${GAMES_BINDIR}
+       echo "#!/bin/bash" > ${PN}_launcher
+       echo "cd \"${GAMES_DATADIR}/${PN}\" && ./${PN}" >> ${PN}_launcher
+       newgamesbin playonlinux_launcher playonlinux || die "installation failed"
+
+       dodoc CHANGELOG || die "doc installation failed"
+
+       doicon "${S}/etc/${PN}.png"
+       make_desktop_entry ${PN} "PlayOnLinux"
+       prepgamesdirs
+}
+