playonlinux
This commit is contained in:
Executable
+37
@@ -0,0 +1,37 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
WorkDir = "playonlinux"
|
||||||
|
NoStrip = "/"
|
||||||
|
|
||||||
|
datadir = "/usr/share"
|
||||||
|
|
||||||
|
def install():
|
||||||
|
installdir = get.installDIR()+ datadir
|
||||||
|
pisitools.dodir(datadir)
|
||||||
|
pisitools.dodir("%s/applications" % datadir)
|
||||||
|
|
||||||
|
shelltools.copytree("%s/playonlinux" % get.workDIR(), "%s/" % installdir)
|
||||||
|
|
||||||
|
pisitools.dobin("%s/playonlinux/playonlinux" % installdir)
|
||||||
|
|
||||||
|
pisitools.domo("%s/playonlinux/lang/po/tr.po" % installdir, "tr", "pol.mo")
|
||||||
|
|
||||||
|
# pisitools.domove("usr/share/locale/tr/LC_MESSAGES", "/usr/share/playonlinux/lang/locale/tr")
|
||||||
|
|
||||||
|
pisitools.dodoc("%s/playonlinux/LICENCE" % installdir, "%s/playonlinux/CHANGELOG.*" % installdir)
|
||||||
|
|
||||||
|
shelltools.move("%s/etc/PlayOnLinux.desktop" % (get.installDIR() + "/usr/share/playonlinux"), "%s/usr/share/applications/PlayOnLinux.desktop" % get.installDIR())
|
||||||
|
|
||||||
|
shelltools.unlink("%s/usr/bin/playonlinux" % get.installDIR())
|
||||||
|
|
||||||
|
shelltools.sym("%s/usr/share/playonlinux/playonlinux" % get.installDIR(), "%s/usr/bin/playonlinux" % get.installDIR() )
|
||||||
|
|
||||||
|
pisitools.dosed("playonlinux", "python2.6 mainwindow.py", "python2.8 mainwindow.py")
|
||||||
+12
@@ -0,0 +1,12 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=PlayOnLinux
|
||||||
|
GenericName=PlayOnLinux
|
||||||
|
Comment=PlayOnLinux
|
||||||
|
Type=Application
|
||||||
|
Exec=/usr/share/playonlinux/playonlinux
|
||||||
|
Icon=playonlinux
|
||||||
|
Categories=PlayOnLinux;
|
||||||
|
Name[fr_FR]=PlayOnLinux
|
||||||
|
Categories=Application;Game
|
||||||
+19
@@ -0,0 +1,19 @@
|
|||||||
|
Index: playonlinux/etc/PlayOnLinux.desktop
|
||||||
|
===================================================================
|
||||||
|
--- playonlinux/etc/PlayOnLinux.desktop
|
||||||
|
+++ playonlinux/etc/PlayOnLinux.desktop 2012-08-19 19:34:00.451146445 +0200
|
||||||
|
@@ -1,9 +1,8 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
-Encoding=UTF-8
|
||||||
|
Name=PlayOnLinux
|
||||||
|
-Comment=PlayOnLinux
|
||||||
|
-Type=Application %F
|
||||||
|
+Comment=Play windows games on Linux
|
||||||
|
+Type=Application
|
||||||
|
Exec=playonlinux
|
||||||
|
-Icon=/usr/share/playonlinux/etc/playonlinux.png
|
||||||
|
-Categories=Application;Game
|
||||||
|
+Icon=playonlinux
|
||||||
|
+Categories=Game;
|
||||||
|
|
||||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
Executable
+59
@@ -0,0 +1,59 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>playonlinux</Name>
|
||||||
|
<Homepage>http://www.playonlinux.com</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Ergün Salman</Name>
|
||||||
|
<Email>poyraz76@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPLv3</License>
|
||||||
|
<Icon>PlayOnLinux</Icon>
|
||||||
|
<IsA>app:gui</IsA>
|
||||||
|
<IsA>app:console</IsA>
|
||||||
|
<Summary>Tool to help Linux users run Windows games on linux</Summary>
|
||||||
|
<Description>PlayOnLinux is a piece of sofware which allow you to install and use easily numerous games and softwares designed to run with Microsoft's Windows.</Description>
|
||||||
|
<Archive sha1sum="9ac7707cb7e707d51f28aaa8f94cff6d4317812f" type="targz">http://repository.playonlinux.com/PlayOnLinux/4.2.10/PlayOnLinux_4.2.10.tar.gz</Archive>
|
||||||
|
<Patches>
|
||||||
|
<Patch level="1">PlayOnLinux_4.1.6-fix-desktop-file.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>playonlinux</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>wxPython</Dependency>
|
||||||
|
<Dependency>wine</Dependency>
|
||||||
|
<Dependency>wget</Dependency>
|
||||||
|
<Dependency>gnu-netcat</Dependency>
|
||||||
|
<Dependency>icoutils</Dependency>
|
||||||
|
<Dependency>binutils</Dependency>
|
||||||
|
<Dependency>imagemagick</Dependency>
|
||||||
|
<Dependency>xterm</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
<Path fileType="data">/usr/share/applications</Path>
|
||||||
|
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||||
|
<Path fileType="data">/usr/share/playonlinux</Path>
|
||||||
|
<Path fileType="localedata">/usr/share/playonlinux/lang/</Path>
|
||||||
|
<Path fileType="localedata">/usr/share/locale/</Path>
|
||||||
|
</Files>
|
||||||
|
<AdditionalFiles>
|
||||||
|
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/PlayOnLinux.desktop">PlayOnLinux.desktop</AdditionalFile>
|
||||||
|
<AdditionalFile owner="root" permission="0755" target="/usr/share/pixmaps/playonlinux.png">playonlinux.png</AdditionalFile>
|
||||||
|
</AdditionalFiles>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2016-07-02</Date>
|
||||||
|
<Version>4.2.10</Version>
|
||||||
|
<Comment>First Release</Comment>
|
||||||
|
<Name>Ergün Salman</Name>
|
||||||
|
<Email>poyraz76@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
+8
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>playonlinux</Name>
|
||||||
|
<Summary xml:lang="tr">Birçok Windows oyununu Linux'ta oynayabilmenizi sağlar</Summary>
|
||||||
|
<Description xml:lang="tr">PlayOnLinux, Microsoft's Windows için hazırlanan çok sayıdaki oyunu ve uygulamayı Linux'ta kullanmanıza olanak sağlayan bir uygulamadır.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user